Hope someone can enlighten me.
Thank you,
--
\Manfred
Hello,
there is seemingly a mismatch in the argument list given to the
function.
This might be due to default properties like MBCS or UNICODE in the
environment
in difference to the builded DLL.
I would try to build a first version on the command line like
cl -DonnoWhatyouneed Caller.c -link test.lib
Good luck
Burkhardt Braun
>I am at a loss rigth now!
>I have a utility DLL for a Port monitor compiled with the WDK and want to
>write Unit tests for exported functions in VS 2008. When I am linking the LIB
>in VS and compile the Unit test DLL with the function in question I am
>getting an unresolved external error with the reference to this name
>(__imp_?IsGoodBasePortName@CMYUTILS@@QAEHPA_W@Z)
C:\tmp>c++filt ?IsGoodBasePortName@CMYUTILS@@QAEHPA_W@Z
public: int __thiscall CMYUTILS::IsGoodBasePortName(wchar_t *)
>and apparently is different from the name in the library
>(?IsGoodBasePortName@CMYUTILS@@QAEHPAG@Z). I assume it has something to
>do how the DLL was compiled but don't know what I can do about it.
C:\tmp>c++filt ?IsGoodBasePortName@CMYUTILS@@QAEHPAG@Z
public: int __thiscall CMYUTILS::IsGoodBasePortName(unsigned short *)
It was compiled on a compiler where wchar_t is native instead of being
#defined to unsigned short.
--
Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.
What do I have to do to get this to work?
Also what program did you use to decode this cryptic name?
Thank you for your help.
--
\Manfred
"Tim Roberts" wrote:
> .
>
>
> Thank you for your help.
Your're welcome!
Burkhardt Braun
BTW.: The wchar_t issue is not too far away from my posting