Using dll in VC++ 1.52

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to compile a DLL with VC++1.52 ( 16 bit ). My project must link to
another 16 bit .dll ( PXENGWIN.DLL, paradox ). I can't find where to set this
link...it seems that only .lib files are supported, and in this case, I'd
need some tool to extract .lib file from a 16 bit .dll file ( I haven't now
the .lib file ).
Please help me, it is very important!
Thank you
 
Alessandro said:
I need to compile a DLL with VC++1.52 ( 16 bit ). My project must
link to another 16 bit .dll ( PXENGWIN.DLL, paradox ). I can't find
where to set this link...it seems that only .lib files are supported,
and in this case, I'd need some tool to extract .lib file from a 16
bit .dll file ( I haven't now the .lib file ).
Please help me, it is very important!
Thank you

Hi,

Wrong forum.

However, the answer is simple: use the implib tool to extract the export
library from the DLL.
 
Ok.Another question...now I've used the ImpLib in the VC++1.52 bin path, I've
the PxEngWin.Lib. I've added the reference in the
Options->Project->Linker->libraries ( debug / release ) but the functions the
lib exports still aren't visible to my dll.
In Ex. in the lib ( using the UltraEdit to see the Hex ) I see the
'PXTBLCLOSE' method. I've written a function that is
BOOL WINAPI __export MyClose(DWORD TblHandle)
{
return PXTBLCLOSE(TblHandle);
}

(I've tried uppercase,lowercase etc)
When I build all the compiler raises the warning: warning C4013:'PxTblClose'
undefined; assuming extern returning int
and the linker:
error L2029: '_PxTblClose' : unresolved external
What this means?
 
Alessandro said:
Ok.Another question...now I've used the ImpLib in the VC++1.52 bin
path, I've the PxEngWin.Lib. I've added the reference in the
...

Alessandro,

As I already said, wrong forum. This group is dedicated to .Net.

Please post to one of the microsoft.public.vc.* groups. I'll try to
answer there.
 
Back
Top