I would like to know the procedure to make dll in vc++ to be used in vb.
An example code could help
Something like a dll that receive a number and return the number plus 5.
Printable View
I would like to know the procedure to make dll in vc++ to be used in vb.
An example code could help
Something like a dll that receive a number and return the number plus 5.
You will have to DECLARE the DLL in a code module in your VB project. For examples look in WIN32API.TXT in your VB directory.
Roger
I know how to use a dll in vb, what i want to know i how to create it in vc++
Hi Antonio, I don't know much about VC++, I use Borland C++, but the general rule for creating a DLL in any language is that you have to make the names of the functions exportable, if you want to call these functions from other applications. Look in MSDN for this topic, namely, exporting symbols, etc. You can use Quick View to see the table of EXPORT/IMPORT functions.