Click here to Skip to main content
15,888,226 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
Hi,
I have a VS2005 solution having one project of C++ console application and more than one library projects.
When i run the c++ console application , command prompt appears but vanishes immediately. I have a lot of break points in this application. Some time before it was stopping at console but after my changings in one of library projects(used by console application), it stopped working.
Why not console application is using these dlls?
Posted
Comments
Richard MacCutchan 14-May-12 6:36am    
We have no idea what is happening here as we cannot see your screen, and you have not shown any code.
ahsanriaz1K 14-May-12 6:47am    
No code needed.Is this be due to some compilation or dll problem?
Richard MacCutchan 14-May-12 6:54am    
Deleted message, it was posted to the wrong question.

My checklist for DLLs not working:

Have you changed any of the interfaces/objects being called in your DLL?
Have you changed any pointer handling in your main app or DLL?
Are you creating a pointer on one side of the DLL and destroying it in your main app (or the other way around)?
Have you changed the solution so that it doesn't automatically link to your DLL (requiring an explicit import)?

I could go on and on.. but I'm guessing this is a good start.

As the other said, if you want specific help, provide specific details around your questions. We want to help.. but information is key.
 
Share this answer
 
Comments
enhzflep 14-May-12 13:21pm    
5'ed to counter the univoter.

4 Good lines of investigation have been provided. That deserves far more than a 1. :)
"We want to help.. but information is the key" is worth +points on its own.
ahsanriaz1K 15-May-12 2:51am    
I recompile the whole solution. I think a rebuild was required.Problem solved.
ahsanriaz1K 15-May-12 2:52am    
@richard_k: Thanks man...
Aescleal 15-May-12 5:41am    
Have a another 5 for uni-voter madness...
I recompile the whole solution. I think a rebuild was required.Problem solved.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900