DLL load error.

  • Thread starter Thread starter agzis
  • Start date Start date
A

agzis

I wrote DLL (no MFC at all). Here's some export functions. When I
call DLL from test application everything OK. Then I added to DLL
class (this class never called just compiled together without any
error). Then I started test application and on load received error
message "The procedure enntry point GetThreadId could not be located
in dynamic linked library KERNEL32.dll".
What can cause the error? thanks.
 
agzis said:
I wrote DLL (no MFC at all). Here's some export functions. When I
call DLL from test application everything OK. Then I added to DLL
class (this class never called just compiled together without any
error). Then I started test application and on load received error
message "The procedure enntry point GetThreadId could not be located
in dynamic linked library KERNEL32.dll".
What can cause the error? thanks.

Some of your DLL is using this function and you are not running on
Windows 2003...
So be sure to define the correct WINNT-preprocessor definition while
compiling...

Normaly:
WINVER 0x0400
_WIN32_WINNT 0x0400
_WIN32_IE 0x0400

For more info see:

Using the Windows Headers
http://msdn.microsoft.com/library/en-
us/winprog/winprog/using_the_windows_headers.asp


--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/tools/leakfinder.asp

Do you need daily reports from your server?
http://sourceforge.net/projects/srvreport/
 
Back
Top