Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Taras Ovsyankin - 14 Jun 2006 21:23 GMT
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
Jochen Kalmbach [MVP] - 14 Jun 2006 21:59 GMT
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.

Signature

Greetings
  Jochen

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

Taras Ovsyankin - 14 Jun 2006 22:19 GMT
> Hi Taras!
>
[quoted text clipped - 4 lines]
> If your LIBs *do not* use CRT/MFC/ATL it is ok. Otherwise it leads to
> linker-errors.

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
Ben Voigt - 20 Jun 2006 16:38 GMT
>> Hi Taras!
>>
[quoted text clipped - 11 lines]
> 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.