ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » I can use "CL" but not "BCC32"

Post new topic  Reply to topic
 I can use "CL" but not "BCC32" « View previous topic :: View next topic » 
Author Message
sebastia
PostPosted: Thu Dec 29, 2005 9:00 am    Post subject: I can use "CL" but not "BCC32" Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

.
When I use "CL" compiler as

CL NAME.C /FeNAME.exe
-I"C:\Program Files\IBM\WebSphere MQ\Tools\c\include"
"c:\Program Files\IBM\WebSphere MQ\Tools\Lib\mqic32.lib"

a get a beautifull "NAME.EXE" file that runs perfect ...

But if I use Borland's compiler ...
BCC32
-I"C:\Program Files\IBM\WebSphere MQ\Tools\c\include"
-L"C:\TEMP\libs\mqm.lib" NAME.C

... it does not like the "LIB" file :

( and MQM.LIB "is" in that directory ... )

Error: Unresolved external '_MQCONN' referenced from C:\TEMP\NAME.OBJ

*** Has anybody compiled MQM.LIB and/or MQIC32.LIB
(as they come with MQ version 5.3 )
with Borland's complier ?

Thanks. Sebastian.

PD - The compiler versions are :

>>> CL
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86

>>> BCC32
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Thu Dec 29, 2005 9:17 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Borland uses a different format for libraries than the microsoft "standard".

You can attempt to use the omf2comf (or is it comf2omf) utility on the libs you want to use...

But there's no guarantees.

You could use ActiveX to talk to the COM objects (that's what I did).
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Thu Dec 29, 2005 9:11 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

The search button works wonders.

http://www.mqseries.net/phpBB2/viewtopic.php?t=3210

In the future, give it a try.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
sebastia
PostPosted: Sat Dec 31, 2005 8:16 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Thanks, Roger

I was in a hurry ( or forgot I am not the first one )
but promise to use the SEARCH button next time
sure

Cheers !
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » I can use "CL" but not "BCC32"
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.