Click here to Skip to main content
16,016,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: vcspawn.exe is not found Pin
Member 656282-Jun-04 2:44
Member 656282-Jun-04 2:44 
GeneralRe: vcspawn.exe is not found Pin
jmkhael2-Jun-04 3:19
jmkhael2-Jun-04 3:19 
GeneralRe: vcspawn.exe is not found Pin
Member 656282-Jun-04 4:07
Member 656282-Jun-04 4:07 
QuestionCEvent? Pin
MrEyes2-Jun-04 1:23
MrEyes2-Jun-04 1:23 
AnswerRe: CEvent? Pin
erkanina2-Jun-04 1:35
erkanina2-Jun-04 1:35 
GeneralRe: CEvent? Pin
MrEyes2-Jun-04 1:37
MrEyes2-Jun-04 1:37 
AnswerRe: CEvent? Pin
Blake Miller2-Jun-04 4:05
Blake Miller2-Jun-04 4:05 
GeneralRe: CEvent? Pin
MrEyes2-Jun-04 4:21
MrEyes2-Jun-04 4:21 
Thanks for the reply.

After much reading, I have opted to create an event and then sit on WaitForSingleObject(...) this works something like this :

//initialisation code
...

//create the shutdown event listener
HANDLE hEvent = CreateEvent(NULL, true, false, "EventEngine 10062004-MICRG-4546-9DD2-F0868C319D02");

//Reset the event just incase
ResetEvent(hEvent);

//sit here until the event fires (this will be initiated by the external c# app)
WaitForSingleObject(hEvent, INFINITE);

//code to cleanup and close
...


I think this will work so all I need to work out now is how to get C# to set the event, fortunately this is more comfortable ground for me Big Grin | :-D

Why o why cant I start my C++ jaunt with a nice and simple Hello World application Sigh | :sigh:

post.mode = postmodes.signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned
> 42
GeneralRe: CEvent? Pin
Blake Miller2-Jun-04 4:34
Blake Miller2-Jun-04 4:34 
GeneralRe: CEvent? Pin
David Chamberlain2-Jun-04 6:05
David Chamberlain2-Jun-04 6:05 
GeneralSocket messages Pin
erkanina2-Jun-04 1:22
erkanina2-Jun-04 1:22 
GeneralRe: Socket messages Pin
Trollslayer2-Jun-04 1:33
mentorTrollslayer2-Jun-04 1:33 
GeneralRe: Socket messages Pin
Antony M Kancidrowski2-Jun-04 1:33
Antony M Kancidrowski2-Jun-04 1:33 
GeneralRe: Socket messages Pin
erkanina2-Jun-04 1:54
erkanina2-Jun-04 1:54 
GeneralRe: Socket messages Pin
erkanina2-Jun-04 2:03
erkanina2-Jun-04 2:03 
Generalworking with CToolTipCtrl Pin
Aviv Halperin2-Jun-04 1:01
Aviv Halperin2-Jun-04 1:01 
GeneralI wnt to convert SDI project to MDI Pin
auur2-Jun-04 1:00
auur2-Jun-04 1:00 
GeneralRe: I wnt to convert SDI project to MDI Pin
David Crow2-Jun-04 3:08
David Crow2-Jun-04 3:08 
Generalwindows services Pin
Csharper992-Jun-04 0:57
Csharper992-Jun-04 0:57 
GeneralRe: windows services Pin
David Crow2-Jun-04 3:09
David Crow2-Jun-04 3:09 
GeneralRe: windows services Pin
Blake Miller2-Jun-04 4:14
Blake Miller2-Jun-04 4:14 
GeneralMenu Item Bitmap Pin
amine.turki2-Jun-04 0:51
amine.turki2-Jun-04 0:51 
GeneralRe: Menu Item Bitmap Pin
Anonymous2-Jun-04 1:31
Anonymous2-Jun-04 1:31 
GeneralMenu Item Bitmap Pin
amine.turki2-Jun-04 0:51
amine.turki2-Jun-04 0:51 
Generalvector to raster, have u ever heard Pin
neuconcongaymai2-Jun-04 0:39
neuconcongaymai2-Jun-04 0:39 

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.