paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] paraGUI with cbuilder 5 (think i got it!)


From: sandman
Subject: Re: [paragui-users] paraGUI with cbuilder 5 (think i got it!)
Date: Tue, 18 Jun 2002 23:37:29 +0200

ok... i think i got it. after more research i found that this problem (using
vc++ libs and dlls with cbuilder) not only affects paragui lib files. it's a
general problem. there's a guy who has written an tutorial about this (the
only on the whole net i think): http://www.bcbdev.com/articles/vcdll.htm

the thing is that borland doesn't like microsoft ( libs ;)   microsoft libs
are in cof format and borland libs are in om format. borland has some tools
to handle this:
implib - generates a lib file from an dll - which you can use in some cases
and in some not (see tut)
coff2omf - converts a coff file to an omf file - which does sometimes work
and sometimes not (definitely not for static libs)

the thing about the formats and dlls that causes trouble is that microsoft
and borland differently mark __stdcall and __cdecl functions which leads (if
not converted properly) to unresolved functions (as i had them after
converting).

it seems to be hard to get vc++ dlls running which contain classes. so i'm
going to try to get or create freetype libs that run with cbuilder (implib
doesn't work because they are static) and then build the paragui binaries
with cbuilder (because they contain classes). the other libs seem to be
converted correctly to omf.

so i'll try to get it...
@alex: and if i do i'll tell you...

sandman




reply via email to

[Prev in Thread] Current Thread [Next in Thread]