
16 Apr
2002
16 Apr
'02
1:21 p.m.
Hi,
I have created one lib instead of creating smidump.exe. The main fn. in smidump.c was renamed to smiDumpMain(). So that I could access it inside my code as a Library rather than to run it as a command.
I hope till this everything is fine?
When I try to use it in my code, at the time of linking I get errors as
Mibcompiler.obj : error LNK2001: unresolved external symbol __imp__smiDumpMain
When I was building an EXE of my code making a call to smiDumpMain(), everything used to work fine. I have ran the code also & it works fine. But if I build a DLL of my code making a call to smiDumpMain(), the above error comes up.
Regards, Amit Save