Click here to Skip to main content
15,916,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help needed for speech capture project! Pin
Christian Graus24-Oct-05 15:37
protectorChristian Graus24-Oct-05 15:37 
AnswerRe: Help needed for speech capture project! Pin
normanS24-Oct-05 20:24
normanS24-Oct-05 20:24 
QuestionChunk data trasmfer between two thread. Pin
LeeeNN24-Oct-05 13:39
LeeeNN24-Oct-05 13:39 
AnswerRe: Chunk data trasmfer between two thread. Pin
PJ Arends24-Oct-05 15:17
professionalPJ Arends24-Oct-05 15:17 
GeneralRe: Chunk data trasmfer between two thread. Pin
LeeeNN24-Oct-05 15:51
LeeeNN24-Oct-05 15:51 
AnswerRe: Chunk data trasmfer between two thread. Pin
John R. Shaw24-Oct-05 18:32
John R. Shaw24-Oct-05 18:32 
GeneralRe: Chunk data trasmfer between two thread. Pin
LeeeNN25-Oct-05 8:01
LeeeNN25-Oct-05 8:01 
QuestionEvent Handling Pin
suezzz0024-Oct-05 12:42
suezzz0024-Oct-05 12:42 
I am trying to create and set evnets using Win32 API functions CreateEvent, SetEvent and OpenEvent.

Everything works fine if both projects are in the same language and environment (Visual C++) but when I try to create the event in a C++ application and set the event in a different application (VS.NET C#), the event does not exist.

Here is the code for both (c++ and c#):

C++
-----------------------------------------------------------------------------
#include <windows.h>
#include <iostream>
using namespace std;


int main()
{
// Get the handler to the event for which we need to wait in
// this thread.
HANDLE hEvent = CreateEvent ( EVENT_ALL_ACCESS, false, alse, "theEvent" );
cout<
AnswerRe: Event Handling Pin
khan++24-Oct-05 19:36
khan++24-Oct-05 19:36 
GeneralRe: Event Handling Pin
S. Senthil Kumar24-Oct-05 20:08
S. Senthil Kumar24-Oct-05 20:08 
GeneralRe: Event Handling Pin
khan++24-Oct-05 20:36
khan++24-Oct-05 20:36 
AnswerRe: Event Handling Pin
S. Senthil Kumar24-Oct-05 21:09
S. Senthil Kumar24-Oct-05 21:09 
Questiondrawing on mouse move Pin
Ann6624-Oct-05 11:37
sussAnn6624-Oct-05 11:37 
AnswerRe: drawing on mouse move Pin
Christian Graus24-Oct-05 12:42
protectorChristian Graus24-Oct-05 12:42 
AnswerRe: drawing on mouse move Pin
vikas amin24-Oct-05 19:53
vikas amin24-Oct-05 19:53 
QuestionGet the folder of current application Pin
ddmcr24-Oct-05 9:24
ddmcr24-Oct-05 9:24 
AnswerRe: Get the folder of current application Pin
Ghasrfakhri24-Oct-05 9:42
Ghasrfakhri24-Oct-05 9:42 
GeneralRe: Get the folder of current application Pin
ddmcr24-Oct-05 9:56
ddmcr24-Oct-05 9:56 
GeneralRe: Get the folder of current application Pin
Blake Miller24-Oct-05 12:17
Blake Miller24-Oct-05 12:17 
GeneralRe: Get the folder of current application Pin
toxcct24-Oct-05 21:59
toxcct24-Oct-05 21:59 
QuestionRe: Get the folder of current application Pin
David Crow25-Oct-05 3:55
David Crow25-Oct-05 3:55 
AnswerRe: Get the folder of current application Pin
toxcct25-Oct-05 4:10
toxcct25-Oct-05 4:10 
AnswerRe: Get the folder of current application Pin
ThatsAlok24-Oct-05 18:41
ThatsAlok24-Oct-05 18:41 
AnswerRe: Get the folder of current application Pin
vikas amin24-Oct-05 20:37
vikas amin24-Oct-05 20:37 
QuestionError 5 with DeleteFile Pin
Chintoo72324-Oct-05 7:29
Chintoo72324-Oct-05 7:29 

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.