Thanks for the quick reply.  

I did already see that link, but unfortunately as I mentioned the coff2omf 
utility doesn't work in this case.  It only works on .lib files with simple 
exported C functions.  It won't work if C++ classes are exported.  So coff2omf 
WILL work with CORE_RL_wand_.lib and CORE_RL_magick_.lib, but will NOT work 
with CORE_RL_Magick++_.lib because Magick++_.lib exports C++ classes.

Before learning of this limitation, I tried using coff2omf with the -lib:ms 
switch to no avail.  The resulting OMF .lib file is less than half the size of 
the original COFF.lib.  During linking, errors are thrown even with the #pragma 
link "CORE_RL_Magick++_omf_.lib" line explictly stated in the code.

So unfortunately the stock coff2omf.exe that comes with Borland seems not to be 
of much help...


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2008 3:28 PM
To: [email protected]; Mike Bruno
Subject: Re: [magick-users] Magick++.lib for Borland?


> share their hard-won CORE_RL_Magick++_.lib in OMF format

See

  
http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=7608&p=30983&hilit=Borland+omf#p30983

There is coff2omf utility thats runs like this:

  coff2omf -lib:ms CORE_RL_Magick++_.lib CORE_RL_Magick++_bc.lib

make sure your project includes CORE_RL_Magick++_omf_.lib instead of
CORE_RL_Magick++_.lib.


_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to