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 / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

Exception on Machine Without Visual Studio .Net Installed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sunrat - 11 Aug 2005 16:41 GMT
I have created a mixed mode (managed + native) application that links to a
mixed mode dll. It runs fine on all XP machines with Visual Studio .Net
installed, but on other machines with the .Net framework installed but not
Visual Studio, it displays a pop-up window entitled "Common Runtime Debugging
Services," and the unhelpful message: "Application has generated an exception
that could not be handled." This happens when the application gets to the
managed-code wrapper of a function (C++) that initializes the dll
(__crt_dll_initialize) .

The error is triggered just before it enters the crt-initializing wrapper
function. It won't display a message-box window placed within the function
but before the initialization. Try-catch does not catch the error.
Depends.exe show no missing or problematic module. The error also is
triggered when 0 is assigned to a pointer to a managed class of the dll.

Any suggestion would be appreciated.

Signature

sunrat

sunrat - 12 Aug 2005 15:21 GMT
I found the source of the problem. The modules msvcr71.dll and mfc71.dll were
missing.
Signature

sunrat

> I have created a mixed mode (managed + native) application that links to a
> mixed mode dll. It runs fine on all XP machines with Visual Studio .Net
[quoted text clipped - 12 lines]
>
> Any suggestion would be appreciated.

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.