Hoplite Posted March 28, 2007 Posted March 28, 2007 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 Quote
MrPaul Posted March 28, 2007 Posted March 28, 2007 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. Quote Never trouble another for what you can do for yourself.
Hoplite Posted March 28, 2007 Author Posted March 28, 2007 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 Quote
Hoplite Posted March 28, 2007 Author Posted March 28, 2007 OK well, using sockets sounds like a viable solution. Thanks for introducing me to the concept of IPC. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.