I am running a dll using a rundll32.exe but I dont see the output as expected
nor my log statements
nor do I see any error of any sort.
How do I debug this ?
Thanks,
KG
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In Windows there are programs of two kinds: Console program and window programs. For console programs the system allocates and attaches their console during process startup.
For Windows programs this does not happen so stdout, stderr etc. go to nowhere. Windows program can still allocate (
AllocConsole()) and attach (AttachConsole()) (at most one) console explicitly in their code. So you might try to do that in debug build. You should not do so in release (production) build because DLLs should generally not do that.I guess
rundll32.exeis windows application.