Quote Originally Posted by cegparamesh
Paul,

I rebuilded and found no change.
I am testing the right dll.
The ordinal number it showed is 0x0001.
and i left a space between the function name and ordinal.

I dont know how stupid i am. I cant even do a simple DLL.
Thank you very much for you help.

Paramesh.
What version of Visual C++ are you using? For Visual C++ 6.0, all you need to do is add the DEF file to your project.

For Visual C++ 7.0 and higher, you need to specify the DEF file in the "Module Definition File" option in your project's Configuration Properties / Linker / Input / Module Definition File.

Regards,

Paul McKenzie