Author |
Message
|
fmr57 |
Posted: Thu May 06, 2004 6:49 am Post subject: Borland C++ Builder |
|
|
Newbie
Joined: 06 May 2004 Posts: 2
|
When compiling the "imqwrld.cpp" sample with Borland C++ Builder i got errors like: [Linker Error] Unresolved external ImqMgr::~ImqMgr() ...
I have the same error even when i include the path of the lib files from the MQSeries distribution in the library path of the project.
As explained in Borland Help File, i had to convert the lib files from the distribution using the "coff2omf" utility.
Help!
 |
|
Back to top |
|
 |
JasonE |
Posted: Thu May 06, 2004 6:51 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
I think you can only use the C interface (after the emf/coff conversion) from a Borland app, as the name mangling from the C++ is different between Borland and Microsoft.
Note this is just something I remember, not from experience... |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Mar 17, 2005 2:08 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
clindsey |
Posted: Thu Mar 17, 2005 5:41 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
Jason's memory is correct. With the Borland compiler, you can only call the MQ api's (MQCONN, MQPUT, etc). You cannot use the MQ C++ classes.
If you click the search button above and search on Borland, you will find many old threads on this topic.
Charlie |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Mar 17, 2005 7:57 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
clindsey wrote: |
If you click the search button above and search on
Borland, you will find many old threads on this topic. |
Including this one...it was opened on 06 May 2004.... |
|
Back to top |
|
 |
clindsey |
Posted: Thu Mar 17, 2005 8:44 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
That's funny Ron. When Michael moved it to the API forum, it showed up as a new post. I didn't even notice the dates prior to that
Charlie |
|
Back to top |
|
 |
|