Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / March 2005

Tip: Looking for answers? Try searching our database.

Using dll in VC++ 1.52

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alessandro Sbenaglia - 23 Mar 2005 14:41 GMT
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
Patrick Philippot - 23 Mar 2005 17:34 GMT
> 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
[quoted text clipped - 3 lines]
> 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.

Signature

Patrick Philippot - Microsoft MVP
MainSoft Consulting Services
www.mainsoft.fr

Alessandro Sbenaglia - 23 Mar 2005 19:39 GMT
Thank You!

> > 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
[quoted text clipped - 10 lines]
> However, the answer is simple: use the implib tool to extract the export
> library from the DLL.
Patrick Philippot - 24 Mar 2005 09:02 GMT
> use the implib tool to extract the
> export library from the DLL.

Oooooops! I meant "import libary".

Signature

Patrick Philippot - Microsoft MVP
MainSoft Consulting Services
www.mainsoft.fr

Alessandro Sbenaglia - 24 Mar 2005 10:29 GMT
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?

> > use the implib tool to extract the
> > export library from the DLL.
>
> Oooooops! I meant "import libary".
Patrick Philippot - 24 Mar 2005 11:10 GMT
> 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.

Signature

Patrick Philippot - Microsoft MVP
MainSoft Consulting Services
www.mainsoft.fr

Patrick Philippot - 24 Mar 2005 11:15 GMT
I suggest microsoft.public.vc.language

Signature

Patrick Philippot - Microsoft MVP
MainSoft Consulting Services
www.mainsoft.fr

Alessandro Sbenaglia - 24 Mar 2005 11:53 GMT
Sorry. I've just posted in vc.language. Help me plase!

> I suggest microsoft.public.vc.language

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.