Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi, I wanted to create multithreads in c++ and use it in VB.NET, so I was thinking that I can wrap the c++ code and use it in VB.NET (like any other dll). I have a function (functionexample()) in c++ that creates another thread (which is linked to another function, interrupt()). So I wanted to expose functionexample() in vb.net.

Is all this possible ? :confused:

Posted
Sure, if you are inheriting the class, make sure the method has at least a protected modifier, or is public if you are just creating an object of the class in vb.

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...