Click here to Skip to main content
15,918,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question about memory locations. Pin
Jun Du25-Jun-06 1:57
Jun Du25-Jun-06 1:57 
GeneralRe: Question about memory locations. Pin
Justin Tay25-Jun-06 2:23
Justin Tay25-Jun-06 2:23 
GeneralRe: Question about memory locations. Pin
Lord Kixdemp26-Jun-06 21:58
Lord Kixdemp26-Jun-06 21:58 
GeneralRe: Question about memory locations. Pin
Justin Tay27-Jun-06 5:02
Justin Tay27-Jun-06 5:02 
GeneralRe: Question about memory locations. Pin
Lord Kixdemp27-Jun-06 8:57
Lord Kixdemp27-Jun-06 8:57 
GeneralRe: Question about memory locations. Pin
Justin Tay27-Jun-06 21:24
Justin Tay27-Jun-06 21:24 
GeneralRe: Question about memory locations. Pin
Lord Kixdemp1-Jul-06 17:00
Lord Kixdemp1-Jul-06 17:00 
QuestionApplication failed to initialize using Detours [modified] Pin
Sam Hobbs24-Jun-06 15:21
Sam Hobbs24-Jun-06 15:21 
I think this is solved. The problem probably was that functions need to be exported when using Detours version 2.1 that did not need to be exported using version 1.5.

I was getting the following error message:

"The application failed to initialize properly (0xc000007b). Click on OK to terminate the application."

Error 0x7B is "The filename, directory name, or volume label syntax is incorrect.".

I don't know if this is a problem with Detours[^] or if it is a problem with VC 2005 or something else new that I am not familiar with.

I will first clarify assuming you are familiar with Detours. If I use a command line such as:
withdll.exe -d:slept.dll sleepold.exe
then Detours works. If I use my own DLL instead, then I get the error, even if the DLL is very, very simple. Note that the command line I show here is simplified with the paths eliminated, but I am using a script that validates that the files exist.

For those not familiar with Detours, the withdll.exe sample program uses Detours which uses CreateProcess to create a suspended process (executes sleepold.exe), then injects the DLL into the process. When Detours is installed, the sample programs and Detours itself need to be compiled, so I have the makefile and such for the builds.

It is the Detours function that does the CreateProcess that is getting the error. I have tried to compare my VC 2005 project settings to the options used to make slept.dll and I can't find anything significantly different.

My VC is: Microsoft Visual C++ 2005 77626-009-0000007-41476

-- modified at 19:47 Monday 26th June, 2006
QuestionIE Toolbar or BHO Images and Temp Folder Location Pin
Ranjan Banerji24-Jun-06 15:11
Ranjan Banerji24-Jun-06 15:11 
AnswerRe: IE Toolbar or BHO Images and Temp Folder Location Pin
Michael Dunn24-Jun-06 15:29
sitebuilderMichael Dunn24-Jun-06 15:29 
GeneralRe: IE Toolbar or BHO Images and Temp Folder Location Pin
Ranjan Banerji25-Jun-06 5:51
Ranjan Banerji25-Jun-06 5:51 
GeneralRe: IE Toolbar or BHO Images and Temp Folder Location Pin
Michael Dunn25-Jun-06 7:55
sitebuilderMichael Dunn25-Jun-06 7:55 
GeneralRe: IE Toolbar or BHO Images and Temp Folder Location Pin
Ranjan Banerji25-Jun-06 8:01
Ranjan Banerji25-Jun-06 8:01 
QuestionUnhandled Exception when outputting strings [modified] Pin
capricious_00124-Jun-06 12:50
capricious_00124-Jun-06 12:50 
AnswerRe: Unhandled Exception when outputting strings Pin
Michael Dunn24-Jun-06 13:00
sitebuilderMichael Dunn24-Jun-06 13:00 
GeneralRe: Unhandled Exception when outputting strings Pin
capricious_00124-Jun-06 13:16
capricious_00124-Jun-06 13:16 
AnswerRe: Unhandled Exception when outputting strings Pin
Jun Du24-Jun-06 13:22
Jun Du24-Jun-06 13:22 
AnswerRe: Unhandled Exception when outputting strings [modified] Pin
Sam Hobbs24-Jun-06 15:35
Sam Hobbs24-Jun-06 15:35 
AnswerRe: Unhandled Exception when outputting strings Pin
Stephen Hewitt24-Jun-06 17:41
Stephen Hewitt24-Jun-06 17:41 
QuestionRe: Unhandled Exception when outputting strings Pin
capricious_00125-Jun-06 2:10
capricious_00125-Jun-06 2:10 
Questionasp help Pin
khasiguy24-Jun-06 9:42
khasiguy24-Jun-06 9:42 
AnswerRe: asp help Pin
Michael Dunn24-Jun-06 12:29
sitebuilderMichael Dunn24-Jun-06 12:29 
QuestionGet MAC help Pin
borono24-Jun-06 9:42
borono24-Jun-06 9:42 
AnswerRe: Get MAC help Pin
Michael Dunn24-Jun-06 12:32
sitebuilderMichael Dunn24-Jun-06 12:32 
GeneralRe: Get MAC help Pin
borono24-Jun-06 15:00
borono24-Jun-06 15:00 

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.