4
42601551
in Jeff Partch's thread
http://groups.google.com/group/micr...901653d04ad774a?sa=X&oi=groupsr&start=1&num=3
says a way to forward function exported by ordinal. i tried, however
the linker reported me with the following:
PureGina.exp : error LNK2001: unresolved external symbol _ExpFunc1
PureGina.exp : error LNK2001: unresolved external symbol _ExpFunc10
PureGina.exp : error LNK2001: unresolved external symbol _ExpFunc11
PureGina.exp : error LNK2001: unresolved external symbol _ExpFunc12
PureGina.exp : error LNK2001: unresolved external symbol _ExpFunc13
....
i am sure that i did make a mock .DEF file for the orignal dll, and
compiled the .LIB through LIB.EXE, did add the line: #pragma
comment(lib, "original.lib")
this is a part of my .CPP file:
#pragma comment(linker, "/EXPORT:_ExpFunc1,@1=original.@1,NONAME")
#pragma comment(linker, "/EXPORT:_ExpFunc2,@2=original.@2,NONAME")
#pragma comment(linker, "/EXPORT:_ExpFunc3,@3=original.@3 ,NONAME")
#pragma comment(linker, "/EXPORT:_ExpFunc4,@4=original.@4,NONAME")
#pragma comment(linker, "/EXPORT:_ExpFunc5,@5=original.@5,NONAME")
...
what can i do?
regards
http://groups.google.com/group/micr...901653d04ad774a?sa=X&oi=groupsr&start=1&num=3
says a way to forward function exported by ordinal. i tried, however
the linker reported me with the following:
PureGina.exp : error LNK2001: unresolved external symbol _ExpFunc1
PureGina.exp : error LNK2001: unresolved external symbol _ExpFunc10
PureGina.exp : error LNK2001: unresolved external symbol _ExpFunc11
PureGina.exp : error LNK2001: unresolved external symbol _ExpFunc12
PureGina.exp : error LNK2001: unresolved external symbol _ExpFunc13
....
i am sure that i did make a mock .DEF file for the orignal dll, and
compiled the .LIB through LIB.EXE, did add the line: #pragma
comment(lib, "original.lib")
this is a part of my .CPP file:
#pragma comment(linker, "/EXPORT:_ExpFunc1,@1=original.@1,NONAME")
#pragma comment(linker, "/EXPORT:_ExpFunc2,@2=original.@2,NONAME")
#pragma comment(linker, "/EXPORT:_ExpFunc3,@3=original.@3 ,NONAME")
#pragma comment(linker, "/EXPORT:_ExpFunc4,@4=original.@4,NONAME")
#pragma comment(linker, "/EXPORT:_ExpFunc5,@5=original.@5,NONAME")
...
what can i do?
regards