Click here to Skip to main content
15,909,822 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: convert a dialog base app to a service Pin
MsmVc22-Sep-08 21:44
MsmVc22-Sep-08 21:44 
GeneralRe: convert a dialog base app to a service Pin
toxcct22-Sep-08 21:56
toxcct22-Sep-08 21:56 
GeneralRe: convert a dialog base app to a service Pin
MsmVc22-Sep-08 22:11
MsmVc22-Sep-08 22:11 
GeneralRe: convert a dialog base app to a service Pin
David Crow23-Sep-08 3:43
David Crow23-Sep-08 3:43 
AnswerRe: convert a dialog base app to a service Pin
SandipG 22-Sep-08 21:42
SandipG 22-Sep-08 21:42 
GeneralRe: convert a dialog base app to a service Pin
MsmVc22-Sep-08 21:47
MsmVc22-Sep-08 21:47 
Questionstrange assmebly code for a method call Pin
George_George22-Sep-08 21:12
George_George22-Sep-08 21:12 
QuestionWriteFIleEX I/O completion rotine not being executed Pin
ForNow22-Sep-08 20:48
ForNow22-Sep-08 20:48 
Hi,

I am having a really hard with named pipes async. I/O

I have a Dos Console Server and a WIN32 GUI client

I am running both the Dos Console app and the WIN32 app

under the Visual Studio Debugger (2 instances)

in The DOS console server I Do the ConnectNamed pipe Then CreateProcess of the Win32 Gui

When in the WIN32 GUI I do I CreateFile The I enter the Windows Message Loop

Back in the Dos Console program I Do a ConnectNamedpipe

When the User makes a Selection in the GUI

I display a Modal DialogBox the information I need is in the Dos Console

in The DialogBox procedure I do a CreateThread

e.g.

/* Create a Thread to Wait For The Async I/O */

thread_handle = CreateThread(NULL,
NULL,
IO_FUNC,
io_parms,
NULL,
NULL);

The Following is my Code in the Thread

return_code = WriteFileEx(filehdl,
test_message,
8,
&my_verlapped,
write_rtn);

if (return_code == 0)
errcd = GetLastError();

while (SleepEx(INFINITE,TRUE) != WAIT_IO_COMPLETION); // Wait for I/O

The I/O competion routine is a Exported Function in the Dos Console process

it never gets control

The return code from all WIN32 apis are all OK

Any IDEA why my iocompletion routine doesn't get control ???

Thankx
AnswerRe: WriteFIleEX I/O completion rotine not being executed Pin
ForNow24-Sep-08 16:11
ForNow24-Sep-08 16:11 
Questiondiamond problem and virtual inheritance Pin
George_George22-Sep-08 19:37
George_George22-Sep-08 19:37 
AnswerRe: diamond problem and virtual inheritance Pin
tony_Udz22-Sep-08 20:07
tony_Udz22-Sep-08 20:07 
GeneralRe: diamond problem and virtual inheritance Pin
George_George22-Sep-08 20:11
George_George22-Sep-08 20:11 
GeneralRe: diamond problem and virtual inheritance Pin
SandipG 22-Sep-08 20:30
SandipG 22-Sep-08 20:30 
GeneralRe: diamond problem and virtual inheritance Pin
George_George22-Sep-08 20:36
George_George22-Sep-08 20:36 
GeneralRe: diamond problem and virtual inheritance Pin
SandipG 22-Sep-08 20:41
SandipG 22-Sep-08 20:41 
GeneralRe: diamond problem and virtual inheritance Pin
George_George22-Sep-08 20:49
George_George22-Sep-08 20:49 
GeneralRe: diamond problem and virtual inheritance Pin
SandipG 22-Sep-08 21:07
SandipG 22-Sep-08 21:07 
GeneralRe: diamond problem and virtual inheritance Pin
George_George22-Sep-08 21:26
George_George22-Sep-08 21:26 
GeneralRe: diamond problem and virtual inheritance Pin
SandipG 22-Sep-08 21:30
SandipG 22-Sep-08 21:30 
GeneralRe: diamond problem and virtual inheritance Pin
George_George22-Sep-08 21:34
George_George22-Sep-08 21:34 
GeneralRe: diamond problem and virtual inheritance Pin
SandipG 22-Sep-08 21:37
SandipG 22-Sep-08 21:37 
GeneralRe: diamond problem and virtual inheritance Pin
George_George22-Sep-08 21:39
George_George22-Sep-08 21:39 
QuestionRe: diamond problem and virtual inheritance Pin
laksh220422-Sep-08 23:03
laksh220422-Sep-08 23:03 
QuestionIs there any memory leak in this code? Pin
SRKSHOME22-Sep-08 19:33
SRKSHOME22-Sep-08 19:33 
AnswerRe: Is there any memory leak in this code? Pin
User 21559722-Sep-08 19:53
User 21559722-Sep-08 19:53 

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.