![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
I am working with unmanaged C++ DLL project, the DLL created is loaded into an application (that I do not have the source) as an addin to the application. In VS2005 both the release and debug versions of the DLL loaded fine (at seperate times of course), but after converting the project to VS2008 only the release version of the DLL loads, the debug version does not. No other changes were made except for the conversion from VS2005 to VS2008. Can someone help me fugure out why the debug version of the DLL will not load? -- Harolds |
#4
| |||
| |||
|
|
My guess is that the debug version of the CRT for Visual Studio 2008 is missing. If you run dependencywalker on the Dll on the failing system it should show you. -- Phil Wilson [Microsoft MVP-Windows Installer] "Harolds" <harolds (AT) nospam (DOT) nospam> wrote in message news:8E1F02FA-D0EE-42D3-AE20-EB86BA8F01EB (AT) microsoft (DOT) com... I am working with unmanaged C++ DLL project, the DLL created is loaded into an application (that I do not have the source) as an addin to the application. In VS2005 both the release and debug versions of the DLL loaded fine (at seperate times of course), but after converting the project to VS2008 only the release version of the DLL loads, the debug version does not. No other changes were made except for the conversion from VS2005 to VS2008. Can someone help me fugure out why the debug version of the DLL will not load? -- Harolds |
#5
| |||
| |||
|
|
Hi Harolds, Can you provide more details regarding this issue? What exception do you get during failure? What is the stack trace of the failure? Also, how does the application loads your dll, statically linked or using LoadLibrary? It would be helpful if you can provide a sample project to reproduce this problem. If so, you may attach it a further reply using Outlook Express. Thanks. Best regards, Jeffrey Tan Microsoft Online Community Support ================================================== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif ications. Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscripti...t/default.aspx. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Hi Harolds, Thanks for your feedback. Do you mean that your dll statically linked with the MSVCR90.DLL but loader and dependency walker can not find it? Since your dll statically linked with the MSVCR90.DLL, have you tried to find out which function does your dll import from MSVCR90.DLL? You may just use "dumpbin /imports" to examine your dll imports API list and find the category for MSVCR90.DLL. For testing purpose, I created a normal win32 GUI project in VS2008, but I did not find any modules linked with MSVCR90.DLL yet. Thanks. Best regards, Jeffrey Tan Microsoft Online Community Support ================================================== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif ications. Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscripti...t/default.aspx. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. |
#8
| |||
| |||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |