Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Windows 64bit > Want to go x64 but have 32 bit third party libraries

Reply
Thread Tools

Want to go x64 but have 32 bit third party libraries

 
 
=?Utf-8?B?bmlja2R1?=
Guest
Posts: n/a
 
      03-06-2007
Our application uses two third party libraries that as far as I can tell
don't have x64 bit versions (TIBCO Rendezvous, IBM Websphere MQ). Both of
these libraries are static link libraries. I assume when I link my x64
program, all libraries have to be x64 bit also, is this correct? If so, is
there anyway to insert some sort of thunking layer in-between so that I can
move forward and create a x64 bit version of our program without having to be
dependent on the third party vendors having to supply an x64 bit version of
their libraries?

Note that I also posted this on: microsoft.public.vc.language
--
Thanks,
Nick

am
remove "nospam" change community. to msn.com
 
Reply With Quote
 
 
 
 
Charlie Russel - MVP
Guest
Posts: n/a
 
      03-08-2007
This is, primarily, an end user and IT Pro focused newsgroup (hence the
..general in the designation). As such, we're somewhat short of developers
here. You might have better luck asking this question over on one of the
MSDN forums.

That being said, you can't directly call a 32-bit DLL from a 64-bit EXE "in
process". If you can make the call out of process, you can make it work, as
I understand it, but we're pushing up against what I know.

--
Charlie.
http://msmvps.com/blogs/xperts64

"nickdu" <> wrote in message
news:1108BBFA-0CE6-4814-BB51-...
> Our application uses two third party libraries that as far as I can tell
> don't have x64 bit versions (TIBCO Rendezvous, IBM Websphere MQ). Both of
> these libraries are static link libraries. I assume when I link my x64
> program, all libraries have to be x64 bit also, is this correct? If so,
> is
> there anyway to insert some sort of thunking layer in-between so that I
> can
> move forward and create a x64 bit version of our program without having to
> be
> dependent on the third party vendors having to supply an x64 bit version
> of
> their libraries?
>
> Note that I also posted this on: microsoft.public.vc.language
> --
> Thanks,
> Nick
>
> am
> remove "nospam" change community. to msn.com


 
Reply With Quote
 
 
 
 
Tony Sperling
Guest
Posts: n/a
 
      03-08-2007
The good news, though, is that one can still compile 32bit code on a 64bit
system and provided that code doesn't dig deep into the system with any
direct hardware access that would otherwise require a Driver, the app will
run the same, or marginaly better. So anything that uses these libraries
could run unaffected as 32bit, while any new 64bit development would need
new support.

Tony. . .


"Charlie Russel - MVP" <> wrote in message
news:A51F7666-45CF-4FAC-8B42-...
> This is, primarily, an end user and IT Pro focused newsgroup (hence the
> .general in the designation). As such, we're somewhat short of developers
> here. You might have better luck asking this question over on one of the
> MSDN forums.
>
> That being said, you can't directly call a 32-bit DLL from a 64-bit EXE

"in
> process". If you can make the call out of process, you can make it work,

as
> I understand it, but we're pushing up against what I know.
>
> --
> Charlie.
> http://msmvps.com/blogs/xperts64
>
> "nickdu" <> wrote in message
> news:1108BBFA-0CE6-4814-BB51-...
> > Our application uses two third party libraries that as far as I can tell
> > don't have x64 bit versions (TIBCO Rendezvous, IBM Websphere MQ). Both

of
> > these libraries are static link libraries. I assume when I link my x64
> > program, all libraries have to be x64 bit also, is this correct? If so,
> > is
> > there anyway to insert some sort of thunking layer in-between so that I
> > can
> > move forward and create a x64 bit version of our program without having

to
> > be
> > dependent on the third party vendors having to supply an x64 bit version
> > of
> > their libraries?
> >
> > Note that I also posted this on: microsoft.public.vc.language
> > --
> > Thanks,
> > Nick
> >
> > am
> > remove "nospam" change community. to msn.com

>



 
Reply With Quote
 
Charlie Russel - MVP
Guest
Posts: n/a
 
      03-08-2007
Correct.

--
Charlie.
http://msmvps.com/xperts64


"Tony Sperling" <> wrote in message
news:...
> The good news, though, is that one can still compile 32bit code on a 64bit
> system and provided that code doesn't dig deep into the system with any
> direct hardware access that would otherwise require a Driver, the app will
> run the same, or marginaly better. So anything that uses these libraries
> could run unaffected as 32bit, while any new 64bit development would need
> new support.
>
> Tony. . .
>
>
> "Charlie Russel - MVP" <> wrote in message
> news:A51F7666-45CF-4FAC-8B42-...
>> This is, primarily, an end user and IT Pro focused newsgroup (hence the
>> .general in the designation). As such, we're somewhat short of developers
>> here. You might have better luck asking this question over on one of the
>> MSDN forums.
>>
>> That being said, you can't directly call a 32-bit DLL from a 64-bit EXE

> "in
>> process". If you can make the call out of process, you can make it work,

> as
>> I understand it, but we're pushing up against what I know.
>>
>> --
>> Charlie.
>> http://msmvps.com/blogs/xperts64
>>
>> "nickdu" <> wrote in message
>> news:1108BBFA-0CE6-4814-BB51-...
>> > Our application uses two third party libraries that as far as I can
>> > tell
>> > don't have x64 bit versions (TIBCO Rendezvous, IBM Websphere MQ). Both

> of
>> > these libraries are static link libraries. I assume when I link my x64
>> > program, all libraries have to be x64 bit also, is this correct? If
>> > so,
>> > is
>> > there anyway to insert some sort of thunking layer in-between so that I
>> > can
>> > move forward and create a x64 bit version of our program without having

> to
>> > be
>> > dependent on the third party vendors having to supply an x64 bit
>> > version
>> > of
>> > their libraries?
>> >
>> > Note that I also posted this on: microsoft.public.vc.language
>> > --
>> > Thanks,
>> > Nick
>> >
>> > am
>> > remove "nospam" change community. to msn.com

>>

>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Security Policy to limit access to Printer or third party libraries Don69 Java 1 04-10-2010 12:46 AM
third party libraries in C Baggio Nepembe C Programming 0 02-20-2010 08:39 AM
when can i expect libraries and third party tools to be updated forpython 3 ? Deep_Feelings Python 6 04-21-2009 01:00 AM
third-party libraries josh Javascript 48 08-28-2007 11:28 PM
Linking third party Libraries Thato C++ 2 08-18-2004 03:01 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57