Jump to content

VB ActiveX DLL with user definde types


Recommended Posts

Dear LVers,

I am seaching for a way to implement a ActiveX dll with structures in LabVIEW.

When I try to call a method with the Invoke Node functionality in LabVIEW the function name

is visible (grayed) but not selectable ...

I know, we could write a wrapper, but I hope there is any other solution.

Greetings from Germany

Norbert

Link to comment
Dear LVers,

I am seaching for a way to implement a ActiveX dll with structures in LabVIEW.

When I try to call a method with the Invoke Node functionality in LabVIEW the function name

is visible (grayed) but not selectable ...

I know, we could write a wrapper, but I hope there is any other solution.

I'm afraid not. ActiveX does not support marshalling arbitrary structure data. Since LabVIEW does completely rely on the COM infrastructure to setup and configure ActiveX nodes correctly according to the information in the type library it can't create the correct type mapping due to lack of support for defining structure types in the underlaying COM architecture. .Net seems to have support for structure definitions but that is of little help here.

Rolf Kalbermatter

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.