Hi, I think GetProcAddress can't resolve the function address at your DLL. Can you check your DLL if the function is exported from your DLL (e.g. with Depency Walker from VC, I'm not sure that it is included at the express version). Is your DLL-func exported like extern "C" __declspec(dllexport) int functeste(int i){....}
Take also a look to this article and my comment. http://www.codeproject.com/KB/DLL/rsLoadtimeDLL.aspx?fid=29819&select=1269812&tid=1074998[^] HTH Frank
modified on Friday, February 20, 2009 2:06 AM