Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A Simple Password Generator Pin
Werty fool2-Jun-08 5:32
Werty fool2-Jun-08 5:32 
QuestionApplication Crashes while shutting down service. Pin
andspeed1-Jun-08 23:58
andspeed1-Jun-08 23:58 
AnswerRe: Application Crashes while shutting down service. Pin
CDP18022-Jun-08 0:28
CDP18022-Jun-08 0:28 
GeneralRe: Application Crashes while shutting down service. Pin
andspeed2-Jun-08 9:17
andspeed2-Jun-08 9:17 
AnswerRe: Application Crashes while shutting down service. Pin
SandipG 2-Jun-08 1:17
SandipG 2-Jun-08 1:17 
Questiondll problem Pin
prithaa1-Jun-08 23:52
prithaa1-Jun-08 23:52 
AnswerRe: dll problem Pin
prithaa2-Jun-08 0:00
prithaa2-Jun-08 0:00 
GeneralRe: dll problem Pin
Graham Shanks2-Jun-08 2:50
Graham Shanks2-Jun-08 2:50 
prithaa wrote:
It happens that even if I have the .lib and .dll files in the required directory but still when I execute it says the dll not found .
What must the reason ?


The DLL is not in the required directory, otherwise it would be found. Where you think is the required directory is obviously not where Windows is looking for it.

This article[^] tells you what the directories that Windows will search to find the DLL. Unless you are explicitly loading the DLL (using LoadLibary) or setting the DLL path in the manifest file then the DLL must be in one of these directories.

If you are putting the DLL in the same directory as the application (a common way of doing it which is the reason that Windows searches for it there first), then are you starting the application from there? If you are debugging from the IDE then check your project configuration properties. In the debugging tab set the working directory to $(TargetDir).

The other reason that I can think of is that you have set the path to the lib file in your application properties (the Linker additional libraries directory). This only sets the path for the linker, not for when you are running the application

Graham

Librarians rule, Ook!

QuestionAbout Read and Receive new message Pin
savitri1-Jun-08 23:17
savitri1-Jun-08 23:17 
AnswerRe: About Read and Receive new message Pin
Cedric Moonen1-Jun-08 23:44
Cedric Moonen1-Jun-08 23:44 
JokeRe: About Read and Receive new message Pin
Rajesh R Subramanian1-Jun-08 23:48
professionalRajesh R Subramanian1-Jun-08 23:48 
GeneralRe: About Read and Receive new message Pin
savitri2-Jun-08 0:07
savitri2-Jun-08 0:07 
GeneralRe: About Read and Receive new message Pin
Cedric Moonen2-Jun-08 0:41
Cedric Moonen2-Jun-08 0:41 
GeneralRe: About Read and Receive new message Pin
Rajesh R Subramanian2-Jun-08 0:59
professionalRajesh R Subramanian2-Jun-08 0:59 
AnswerRe: About Read and Receive new message Pin
_AnsHUMAN_ 2-Jun-08 0:22
_AnsHUMAN_ 2-Jun-08 0:22 
AnswerRe: About Read and Receive new message [modified] Pin
SandipG 2-Jun-08 0:57
SandipG 2-Jun-08 0:57 
AnswerRe: About Read and Receive new message Pin
Hamid_RT3-Jun-08 1:11
Hamid_RT3-Jun-08 1:11 
QuestionGetFileAttributes Pin
john56321-Jun-08 23:11
john56321-Jun-08 23:11 
AnswerRe: GetFileAttributes Pin
_AnsHUMAN_ 1-Jun-08 23:36
_AnsHUMAN_ 1-Jun-08 23:36 
AnswerRe: GetFileAttributes Pin
Hamid_RT3-Jun-08 1:08
Hamid_RT3-Jun-08 1:08 
QuestionHow can i open "xxxxx.bmp" through Program Pin
phanindra varma1-Jun-08 22:23
phanindra varma1-Jun-08 22:23 
AnswerRe: How can i open "xxxxx.bmp" through Program Pin
SandipG 1-Jun-08 22:39
SandipG 1-Jun-08 22:39 
AnswerRe: How can i open "xxxxx.bmp" through Program Pin
Rajesh R Subramanian1-Jun-08 22:43
professionalRajesh R Subramanian1-Jun-08 22:43 
GeneralRe: How can i open "xxxxx.bmp" through Program Pin
phanindra varma3-Jun-08 17:54
phanindra varma3-Jun-08 17:54 
GeneralRe: How can i open "xxxxx.bmp" through Program Pin
Rajesh R Subramanian3-Jun-08 18:46
professionalRajesh R Subramanian3-Jun-08 18:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.