Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC++
With release dll(x.dll)app comes up fine. when debug dll(xD.dll), it requires depencency of another dll which of both release dll(a.dll) and debug dll (aD.dll).
when i saw debug dll(xD.dll) through depency walker it shows dependency included as a.dll, actually it should include aD.dll.
 

How can i change the code to include aD.dll instaed of a.dll in my debug dll(xD.dll)?
 
please do suggest /help me out?
Posted 13-Dec-12 0:02am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You must be referring to a third party API which has given only the release mode DLLs. Check if that vendor provides debug run-time or debug version DLLs too.
 
I encountered a similar issue while building directX application in debug mode. My problem got solved by installing the debug run-time on the system. Perhaps you need to find the debug mode dlls/run-time for whatever dlls the problem is occurring.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

ya ... i av debug version dll too..
the main dll is debug dll which is referring to release dependency dll. when i place release dependency dll to the path ..its works correct.
but i don want that solution, i want release dependency dll to be taken automatically instead.!!!!
  Permalink  
v2
Comments
Richard MacCutchan at 13-Dec-12 5:49am
   
Please don't post additional information as a solution. Edit your question and add it there.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Check which library you are including in your build for the Debug version of your DLL. You need to make explicit reference to the debug version of the DLL you will use.
  Permalink  
Comments
Sowmya.B.S at 13-Dec-12 5:33am
   
i checked in settings->project depencies ... it is correct i included debug version ...there addtion dependcies... i checked there also its correct!!!
Richard MacCutchan at 13-Dec-12 5:47am
   
What exactly do you have in that field.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 BillWoodruff 300
1 Mathew Soji 274
2 Afzaal Ahmad Zeeshan 268
3 DamithSL 225
4 Sergey Alexandrovich Kryukov 205
0 OriginalGriff 6,249
1 Sergey Alexandrovich Kryukov 5,853
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 3,865


Advertise | Privacy | Mobile
Web02 | 2.8.1411019.1 | Last Updated 13 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100