Click here to Skip to main content
15,892,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Named Mutex not visible from DLL Pin
krmed12-Dec-09 5:14
krmed12-Dec-09 5:14 
GeneralRe: Named Mutex not visible from DLL Pin
Rajesh R Subramanian12-Dec-09 6:15
professionalRajesh R Subramanian12-Dec-09 6:15 
GeneralRe: Named Mutex not visible from DLL Pin
Bram van Kampen12-Dec-09 15:46
Bram van Kampen12-Dec-09 15:46 
GeneralRe: Named Mutex not visible from DLL Pin
Bram van Kampen12-Dec-09 16:54
Bram van Kampen12-Dec-09 16:54 
GeneralRe: Named Mutex not visible from DLL Pin
Rajesh R Subramanian12-Dec-09 18:54
professionalRajesh R Subramanian12-Dec-09 18:54 
GeneralRe: Named Mutex not visible from DLL Pin
Bram van Kampen14-Dec-09 12:25
Bram van Kampen14-Dec-09 12:25 
AnswerRe: Named Mutex not visible from DLL Pin
Richard MacCutchan12-Dec-09 1:46
mveRichard MacCutchan12-Dec-09 1:46 
GeneralRe: Named Mutex not visible from DLL Pin
Bram van Kampen12-Dec-09 16:08
Bram van Kampen12-Dec-09 16:08 
Yes, It does!
It Calls GetModuleHandle(NULL)
ASSERTS (at this Stage that the ModuleHandle is 0x00400000)
Cals GetModuleFileName()
The Result is Stripped to remove up to the 'last '\', and the first '.' thereafter. This function is Also in the same DLL, I got it to print it's name to a DBG Text File,The printed name is always 'MyApp'.
When I trace into the DLL, the Name is Correct, and a New Mutex is created, regardless of the old one. When I move the file back to the App, it works a advertised.


Thanks Smile | :)

Bram van Kampen

GeneralRe: Named Mutex not visible from DLL Pin
Richard MacCutchan12-Dec-09 22:55
mveRichard MacCutchan12-Dec-09 22:55 
AnswerRe: Named Mutex not visible from DLL Pin
Migounette13-Dec-09 2:36
Migounette13-Dec-09 2:36 
GeneralRe: Named Mutex not visible from DLL Pin
Bram van Kampen13-Dec-09 21:34
Bram van Kampen13-Dec-09 21:34 
QuestionIm just new in c++ [modified] Pin
Amr M. K.11-Dec-09 9:32
Amr M. K.11-Dec-09 9:32 
AnswerRe: Im just new in c++ Pin
«_Superman_»11-Dec-09 9:53
professional«_Superman_»11-Dec-09 9:53 
GeneralRe: Im just new in c++ Pin
Amr M. K.11-Dec-09 9:58
Amr M. K.11-Dec-09 9:58 
GeneralRe: Im just new in c++ Pin
EliottA11-Dec-09 9:58
EliottA11-Dec-09 9:58 
QuestionRe: Im just new in c++ Pin
CPallini11-Dec-09 11:30
mveCPallini11-Dec-09 11:30 
AnswerRe: Im just new in c++ Pin
Luc Pattyn11-Dec-09 11:53
sitebuilderLuc Pattyn11-Dec-09 11:53 
GeneralRe: Im just new in c++ Pin
Amr M. K.11-Dec-09 12:31
Amr M. K.11-Dec-09 12:31 
GeneralRe: Im just new in c++ Pin
Tim Craig11-Dec-09 18:23
Tim Craig11-Dec-09 18:23 
QuestionRe: Im just new in c++ Pin
David Crow11-Dec-09 15:24
David Crow11-Dec-09 15:24 
Questiontaking a video from usb cam Pin
Asmaa Khaled FCI11-Dec-09 8:22
Asmaa Khaled FCI11-Dec-09 8:22 
AnswerRe: taking a video from usb cam Pin
loyal ginger11-Dec-09 9:33
loyal ginger11-Dec-09 9:33 
GeneralRe: taking a video from usb cam Pin
Sauce!11-Dec-09 19:09
Sauce!11-Dec-09 19:09 
AnswerRe: taking a video from usb cam Pin
Tim Craig11-Dec-09 18:26
Tim Craig11-Dec-09 18:26 
AnswerRe: taking a video from usb cam Pin
__erfan__11-Dec-09 23:09
__erfan__11-Dec-09 23:09 

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.