I use CreateProcess() to launch another executable file , the syntax is as : CreateProcess�myexe.exe",myexe NORMAL",NULL,NULL,FALSE,CREATE_DEFAULT_ERROR_MODE|DETACHED_PROCESS,NULL,EGNPATH,&si,&piProcess) ; once myexe.exe started , it loading a dll file in which creating a TSQ and writing data to the TSQ . This dll returns the TSQ�s handle so that myexe.exe can handle it . After the dll returning the queue handle , myexe uses CmtInstallTSQCallback() to install a callback for the TSQ , in the callback , expecting that if the event of EVENT_TSQ_ITEMS_IN_QUEUE occurred , myexe can read out the data from the TSQ . The design target is this , but when running the application , I find that it can not trigger the installed callback for
read data from TSQ , I am confused , if the TSQ just could be used in the same process ?
David