Hi! I'm Newbie in programming and I'm interested in VB and VC++.My problem is that I don't know completely how to program VB or VC++ Dll so that i will NOT repeat procedures in each exe i write. Is there anybody to guide me to write simple example?

With regards, EvStevemd
------Ask to Gain Understanding------------

9 Years
Discussion Span
Last Post by Ancient Dragon

non-static C++ class code can not be called from VB so you have to write the DLL as C code or as static methods in C++. In both cases the functions have to be exported when compiling the DLL.

In VB code just predeclare the functions as you would any other DLL function such as win32 api functions. I don't recall the exact syntax but there must be hundreds of examples.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.