Interview Questions

How to export DLL functions so that WinRunner could recognise them?

Mercury WinRunner FAQ


(Continued from previous question...)

How to export DLL functions so that WinRunner could recognise them?

Created the following definition in the standard header file:
#define WR_EXPORTED extern "C" __stdcall __declspec(dllexport)
and write a function it looks something like this:
WR_EXPORTED UINT WrGetComputerName( )
{
. . .
}

(Continued on next question...)

Other Interview Questions