Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all,

 

I was wondering if it is possible to write a VB.NET (or VB 2005) program so that it behaves similarly to a C dll. For example, I could write a DLL in C which an existing program (written in Java) can load and then start streaming sending data to it. I was wondering whether a similar system could be accomplished but using VB.

 

--Amr

Posted

More information

 

Are you trying to make an application that another application can interoperate with, or a component/library for other applications to use? DLLs (whether compiled from C code or otherwise) contain functions and classes, not entire applications.

 

.Net supports numerous methods of interprocess communication (IPC) if you're trying to get applications communicating with each other. Alternatively if you're trying to create a reusable library, .Net can create COM-visible components, which other applications (including JVM applications) can instantiate and use.

Never trouble another for what you can do for yourself.
Posted

Thanks for your reply MrPaul,

 

Are you trying to make an application that another application can interoperate

 

Yes, that's exactly what I'm trying to accomplish - a 3d party Java application will interface with some hardware, then stream the data to my application, which will present the data in a graphical fashion.

 

I've done a few searches about IPC, and it seems to be a description of a wide variety of different methods - any pointers as to a particular method?

 

--Amr

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