anupama.anuna...@gmail.com wrote:
> I'm trying to use the Win32::API module to call a simple test case
> DLL
> (call it "Test.dll").
>
> Test.cpp file
> extern "C" __declspec(dllexport) int test(int x)
> {
>x *= 2;
> return x;
> }
>
> Test.h file
>
> extern "C" __declspec(dllexport) int
I'm trying to use the Win32::API module to call a simple test case
DLL
(call it "Test.dll").
Test.cpp file
extern "C" __declspec(dllexport) int test(int x)
{
x *= 2;
return x;
}
Test.h file
extern "C" __declspec(dllexport) int test(int);
#note compling the above Cpp code using VC++ compli