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 / C++ Libraries / March 2005

Tip: Looking for answers? Try searching our database.

Issues in Porting an application from VC++ to VC++.Net

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Harsha Rao - 07 Mar 2005 19:02 GMT
We are trying to port an application from VC++ to VC++.net. The application is client server based. Should the third party VC++ compatible DLLs also be migrated to third party VC++.net DLLs?
Ronald Laeremans [MSFT] - 08 Mar 2005 01:16 GMT
> We are trying to port an application from VC++ to VC++.net. The application is client server based. Should the third party VC++ compatible DLLs also be migrated to third party VC++.net DLLs?
>
[quoted text clipped - 5 lines]
>
> <Id>EcctqPPdkUq6HxavslI0HA==</Id>

Generally the answer is yes. It is no if the DLL has been carefuly
designed to support thios scenario. Among other things that means it
cannot allocate memory in objects in the dll and have the caller
de-allocate them or the other way arond, it can't pass CRT objects (like
file handles), it should pass ++ objects that it doesn't control (like
MFC or ATL classes). One reliable way to do this is to just have COM as
the interface layer since the COM rules already obey the restrictions of
what is safe to do in the interface layer.

Ronald Laeremans
Visual C++ team

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.