You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by - Lalit Nagpal - <la...@gmail.com> on 2006/12/18 13:33:23 UTC

Using activemq-cpp 1.0 libs with VS .Net 2003


Hi 

I tried to use the latest release of activemq-cpp 1.0 ... and built it using
the VS .net 2005 compiler .... Now when I try to use the lib files generated
in VS .Net 2003 (for some reasons I have to use it with VS 2003 only and not
2005) ... I run into the following errors ... any ideas what i can do to use
the 1.0 release with VS .Net 2003 compiler

fatal error LNK1262: link failed due to mismatched versions of 'E:\Program
Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c2.dll' and LINK.EXE

Can somebody guide me here please.

Thanks
Lalit Nagpal
CSA, SunGard
-- 
View this message in context: http://www.nabble.com/Using-activemq-cpp-1.0-libs-with-VS-.Net-2003-tf2839616.html#a7928002
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: activemq-cpp release 1.0 - cant use with vs .net 2003

Posted by - Lalit Nagpal - <la...@gmail.com>.
Tim ... where r u ..... started celebrating XMas I guess ....
Merry Christmas ... :)

Thanks

Lalit Nagpal
CSA, SunGard


- Lalit Nagpal - wrote:
> 
> If I change the version from 8.10 to 7.10 in the vcproj files ... I can
> open it with .net 2003 and build it also.
> The only change that is required is to change vsnprintf to _vsnprintf in
> the ActiveMQException.h file
> 
> But changing the version like this should not backfire in anyway ... so
> worried .... :( .... any thoughts on this front.
> It does not give any warnings/ errors so I guess should not be a problem
> then.
> 
> Thanks
> 
> Lalit Nagpal
> CSA, SunGard.
> 
> 
> - Lalit Nagpal - wrote:
>> 
>> Hi 
>> 
>> I tried to use the latest release of activemq-cpp 1.0 ... and built it
>> using the VS .net 2005 compiler .... Now when I try to use the lib files
>> generated with my VS .Net 2003 (for some reasons I have to use it with VS
>> 2003 only and not 2005) ... I run into the following errors ... any ideas
>> what i can do to use the 1.0 release with VS .Net 2003 compiler
>> 
>> fatal error LNK1262: link failed due to mismatched versions of
>> 'E:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c2.dll' and
>> LINK.EXE
>> 
>> We would like to switch from the previous unversioned copy that we have
>> to the versioned cpp 1.0 release :).
>> 
>> Can somebody guide me here please. Can anything be done to give support
>> to vs .net 2003 also.
>> 
>> Thanks
>> Lalit Nagpal
>> CSA, SunGard
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/activemq-cpp-release-1.0---cant-use-with-vs-.net-2003-tf2839616.html#a8003396
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: activemq-cpp release 1.0 - cant use with vs .net 2003

Posted by - Lalit Nagpal - <la...@gmail.com>.

Tim ... where r u ..... started celebrated XMas I guess ....
Merry Christmas ... :)

Thanks

Lalit Nagpal
CSA, SunGard


- Lalit Nagpal - wrote:
> 
> If I change the version from 8.10 to 7.10 in the vcproj files ... I can
> open it with .net 2003 and build it also.
> The only change that is required is to change vsnprintf to _vsnprintf in
> the ActiveMQException.h file
> 
> But changing the version like this should not backfire in anyway ... so
> worried .... :( .... any thoughts on this front.
> It does not give any warnings/ errors so I guess should not be a problem
> then.
> 
> Thanks
> 
> Lalit Nagpal
> CSA, SunGard.
> 
> 
> - Lalit Nagpal - wrote:
>> 
>> Hi 
>> 
>> I tried to use the latest release of activemq-cpp 1.0 ... and built it
>> using the VS .net 2005 compiler .... Now when I try to use the lib files
>> generated with my VS .Net 2003 (for some reasons I have to use it with VS
>> 2003 only and not 2005) ... I run into the following errors ... any ideas
>> what i can do to use the 1.0 release with VS .Net 2003 compiler
>> 
>> fatal error LNK1262: link failed due to mismatched versions of
>> 'E:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c2.dll' and
>> LINK.EXE
>> 
>> We would like to switch from the previous unversioned copy that we have
>> to the versioned cpp 1.0 release :).
>> 
>> Can somebody guide me here please. Can anything be done to give support
>> to vs .net 2003 also.
>> 
>> Thanks
>> Lalit Nagpal
>> CSA, SunGard
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/activemq-cpp-release-1.0---cant-use-with-vs-.net-2003-tf2839616.html#a8003396
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: activemq-cpp release 1.0 - cant use with vs .net 2003

Posted by - Lalit Nagpal - <la...@gmail.com>.

If I change the version from 8.0 to 7.0 in the vcproj files ... I can open
it with .net 2003 and build it also.
The only change that is required is to change vsnprintf to _vsnprintf in the
ActiveMQException.h file

But I am not sure whether I should do this :( .... any thoughts on this
front.

Thanks

Lalit Nagpal
CSA, SunGard.


- Lalit Nagpal - wrote:
> 
> Hi 
> 
> I tried to use the latest release of activemq-cpp 1.0 ... and built it
> using the VS .net 2005 compiler .... Now when I try to use the lib files
> generated with my VS .Net 2003 (for some reasons I have to use it with VS
> 2003 only and not 2005) ... I run into the following errors ... any ideas
> what i can do to use the 1.0 release with VS .Net 2003 compiler
> 
> fatal error LNK1262: link failed due to mismatched versions of 'E:\Program
> Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c2.dll' and LINK.EXE
> 
> We would like to switch from the previous unversioned copy that we have to
> the versioned cpp 1.0 release :).
> 
> Can somebody guide me here please. Can anything be done to give support to
> vs .net 2003 also.
> 
> Thanks
> Lalit Nagpal
> CSA, SunGard
> 

-- 
View this message in context: http://www.nabble.com/activemq-cpp-release-1.0---cant-use-with-vs-.net-2003-tf2839616.html#a7943587
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Using activemq-cpp 1.0 libs with VS .Net 2003

Posted by - Lalit Nagpal - <la...@gmail.com>.

Now, I have started wondering whether this error comes bcoz I have both VS
2003 and VS 2005 installed on my machine :< ....



- Lalit Nagpal - wrote:
> 
> Hi 
> 
> I tried to use the latest release of activemq-cpp 1.0 ... and built it
> using the VS .net 2005 compiler .... Now when I try to use the lib files
> generated in VS .Net 2003 (for some reasons I have to use it with VS 2003
> only and not 2005) ... I run into the following errors ... any ideas what
> i can do to use the 1.0 release with VS .Net 2003 compiler
> 
> fatal error LNK1262: link failed due to mismatched versions of 'E:\Program
> Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c2.dll' and LINK.EXE
> 
> We would like to switch from the previous unversioned copy that we have to
> the versioned cpp 1.0 release :).
> 
> Can somebody guide me here please.
> 
> Thanks
> Lalit Nagpal
> CSA, SunGard
> 

-- 
View this message in context: http://www.nabble.com/Using-activemq-cpp-1.0-libs-with-VS-.Net-2003-tf2839616.html#a7928235
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: activemq-cpp release 1.0 - cant use with vs .net 2003

Posted by - Lalit Nagpal - <la...@gmail.com>.
If I change the version from 8.0 to 7.0 in the vcproj files ... I can open it
with .net 2003 and build it also.
The only change that is required is to change vsnprintf to _vsnprintf in the
ActiveMQException.h file

But changing the version like this should not backfire in anyway ... so
worried .... :( .... any thoughts on this front.
It does not give any warnings/ errors so I guess should not be a problem
then.

Thanks

Lalit Nagpal
CSA, SunGard.


- Lalit Nagpal - wrote:
> 
> Hi 
> 
> I tried to use the latest release of activemq-cpp 1.0 ... and built it
> using the VS .net 2005 compiler .... Now when I try to use the lib files
> generated with my VS .Net 2003 (for some reasons I have to use it with VS
> 2003 only and not 2005) ... I run into the following errors ... any ideas
> what i can do to use the 1.0 release with VS .Net 2003 compiler
> 
> fatal error LNK1262: link failed due to mismatched versions of 'E:\Program
> Files\Microsoft Visual Studio .NET 2003\Vc7\bin\c2.dll' and LINK.EXE
> 
> We would like to switch from the previous unversioned copy that we have to
> the versioned cpp 1.0 release :).
> 
> Can somebody guide me here please. Can anything be done to give support to
> vs .net 2003 also.
> 
> Thanks
> Lalit Nagpal
> CSA, SunGard
> 

-- 
View this message in context: http://www.nabble.com/activemq-cpp-release-1.0---cant-use-with-vs-.net-2003-tf2839616.html#a7943587
Sent from the ActiveMQ - User mailing list archive at Nabble.com.