Hi,
I have written a DLL in C++ that exports a single function in its .def file. I have tested the DLL by calling if from another C++ program and it works fine.
I'd basically like to know how do I call the function from VB? does it vary if the DLL is located in the local directory or placed in the windows/system32 folder.
My function simply returns an integer, and has no arguments, e.g. in C++ it is:
int myFunction(){......}
Thanks in advance,
MrPeds
I have written a DLL in C++ that exports a single function in its .def file. I have tested the DLL by calling if from another C++ program and it works fine.
I'd basically like to know how do I call the function from VB? does it vary if the DLL is located in the local directory or placed in the windows/system32 folder.
My function simply returns an integer, and has no arguments, e.g. in C++ it is:
int myFunction(){......}
Thanks in advance,
MrPeds