473,394 Members | 1,878 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Can we link libraries built with AMD64 SDK into vc8 win64 project?

Hi,

We have several 64-bit libraries here built with vc7, AMD64 SDK. I'm
wondering if it is OK to link them into vc8 win64 project. What are potential
issues?

Thank you,
Taras
Jun 14 '06 #1
3 1017
Hi Taras!
We have several 64-bit libraries here built with vc7, AMD64 SDK. I'm
wondering if it is OK to link them into vc8 win64 project. What are potential
issues?


If your LIBs *do not* use CRT/MFC/ATL it is ok. Otherwise it leads to
linker-errors.

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Jun 14 '06 #2


"Jochen Kalmbach [MVP]" wrote:
Hi Taras!
We have several 64-bit libraries here built with vc7, AMD64 SDK. I'm
wondering if it is OK to link them into vc8 win64 project. What are potential
issues?


If your LIBs *do not* use CRT/MFC/ATL it is ok. Otherwise it leads to
linker-errors.

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/


Jochen,

They do use CRT, but no MFC/ATL.
I tried to link and did not get any linker errors. Can I assume everything
is fine?

Also, same question about dlls. Would they be working ?

Thanks,
Taras

Jun 14 '06 #3

"Taras Ovsyankin" <Ta************@discussions.microsoft.com> wrote in
message news:9D**********************************@microsof t.com...


"Jochen Kalmbach [MVP]" wrote:
Hi Taras!
> We have several 64-bit libraries here built with vc7, AMD64 SDK. I'm
> wondering if it is OK to link them into vc8 win64 project. What are
> potential
> issues?
If your LIBs *do not* use CRT/MFC/ATL it is ok. Otherwise it leads to
linker-errors.

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/


Jochen,

They do use CRT, but no MFC/ATL.
I tried to link and did not get any linker errors. Can I assume everything
is fine?


All the normal warnings apply about memory ownership. Memory must be freed
from the same CRT that allocates it... this implies that classes that
allocate memory internally, like std::string, may not be shared.

Also, same question about dlls. Would they be working ?

Thanks,
Taras

Jun 20 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: magneticlemur | last post by:
Hi, Does anyone know of an available downloader for an amd64 bit build of (a modern) python? I've done my due diligence search of python docs and mailing archives, and I'm somewhat mystified...
1
by: rajesh_krec | last post by:
Hello Everybody, I'm using Microsoft Visual Studio .NET 2003 (with Vc7 compiler) I have some 15 projects each of which generate a static library when i build the solution in release mode. ...
13
by: Derek | last post by:
As I understand it there is a good amount of link compatibility among C compilers. For example, I can compile main.c with GCC and func.c with Sun One and link the objects using either linker (GNU...
3
by: joseluismarchetti | last post by:
Hello everybody, Although I am sure this is an important question for this group, I am not sure this question belongs to this group and I will be happy to move it to the correct one after you...
14
by: Steve McLellan | last post by:
Hi, Sorry to repost, but this is becoming aggravating, and causing me a lot of wasted time. I've got a reasonably large mixed C++ project, and after a number of builds (but not a constant...
3
by: Allcomp | last post by:
Hello, I would like to know if it is (or will) be possible to compile a VB.NET project for AMD64. Actually, I can only see informations to compile a C++ (.NET) project for AMD64, but I can't...
2
by: Egbert Nierop \(MVP for IIS\) | last post by:
Hello, I created a Win64 build environment by copying from a Win32 environment, and modifying the Win32 macro to the Win64 macro. After that, the properties window does not load anymore and...
4
by: yhebib | last post by:
Hello All, I've been browsing and reading all articles I could find on technet ,msdn and other knowledgeable sources to understand the issue I'm dealing with. However, I did not find so far how...
8
by: Brendan | last post by:
Hello, I just tried to use the Windows XP installer for Python 2.5 AMD64 but I get the error message: "Installation package not supported by processor type" I am running Windows XP Pro on an...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.