
03-30-2012, 07:23 AM
|
|
Newcomer
|
|
Join Date: Mar 2012
Posts: 3
|
|
Calling methods of a C++ dll from VBscript
|
Hi Everyone,
Basically I want to call methods of my C++ dll from VBscript. I searched for it in google, but everywhere I got solutions regarding .net dll rather than c++ dlls.
An example of one of my C++ methods is:
Code:
extern "C" __declspec(dllexport) int __cdecl test()
{
return 20;
}
Now, i want to call this method 'test' from a VBscript. I would really be grateful if I would get some help regarding this.
Thanks in advance,
sattu
|
|