Click here to Skip to main content
15,914,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhat are the available DDE Server Data Format to write to Excel Pin
swerajan18-Jun-04 2:55
swerajan18-Jun-04 2:55 
GeneralEven more Serialization! Pin
Anonymous18-Jun-04 2:54
Anonymous18-Jun-04 2:54 
GeneralRe: Even more Serialization! Pin
Blake Miller18-Jun-04 4:19
Blake Miller18-Jun-04 4:19 
QuestionHow to refresh a particular region Pin
Arun AC18-Jun-04 2:29
Arun AC18-Jun-04 2:29 
AnswerRe: How to refresh a particular region Pin
Ravi Bhavnani18-Jun-04 2:42
professionalRavi Bhavnani18-Jun-04 2:42 
AnswerRe: How to refresh a particular region Pin
Johan Rosengren18-Jun-04 4:37
Johan Rosengren18-Jun-04 4:37 
AnswerRe: How to refresh a particular region Pin
John R. Shaw18-Jun-04 9:32
John R. Shaw18-Jun-04 9:32 
GeneralUrgent Named Pipe issue Pin
A T I F18-Jun-04 1:48
A T I F18-Jun-04 1:48 
I am trying to use named pipe to transfer data between two process. I have called the following code
<br />
	HANDLE hPipe; <br />
	LPTSTR lpszPipename = "\\\\.\\pipe\\DataTransferPipe"; <br />
<br />
    hPipe = CreateNamedPipe( <br />
		lpszPipename,             // pipe name <br />
		PIPE_ACCESS_DUPLEX,       // read/write access <br />
		PIPE_TYPE_MESSAGE |       // message type pipe <br />
		PIPE_READMODE_MESSAGE |   // message-read mode <br />
		PIPE_WAIT,                // blocking mode <br />
		PIPE_UNLIMITED_INSTANCES, // max. instances  <br />
		1024,                  // output buffer size <br />
		1024,                  // input buffer size <br />
		18000,             // client time-out <br />
		NULL);                    // no security attribute <br />
	<br />
	if (hPipe == INVALID_HANDLE_VALUE) <br />
	{<br />
		MessageBox("Error creating named pipe", "Named Pipe Error"	, MB_OK);<br />
		return;<br />
	}<br />
	<br />
	bool bConnected = ConnectNamedPipe(hPipe, NULL) ? TRUE : (GetLastError() == ERROR_PIPE_CONNECTED); <br />


I want the system to be that if no client connect for say 3 sec the call ConnectNamedPipe should return false. Is this possible....how. In the above code it just locks on the ConnectNamedPipe call
GeneralRe: Urgent Named Pipe issue Pin
vcplusplus18-Jun-04 3:35
vcplusplus18-Jun-04 3:35 
GeneralRemoving Non-Client area of a window Pin
alexei_p18-Jun-04 1:36
alexei_p18-Jun-04 1:36 
GeneralRe: Removing Non-Client area of a window Pin
Ravi Bhavnani18-Jun-04 2:43
professionalRavi Bhavnani18-Jun-04 2:43 
GeneralHandling of window opening Pin
alexei_p18-Jun-04 1:33
alexei_p18-Jun-04 1:33 
GeneralRe: Handling of window opening Pin
Rodrigo Pinto Pereira de Souza18-Jun-04 1:48
Rodrigo Pinto Pereira de Souza18-Jun-04 1:48 
Generalfree pointer problem Pin
mufasa218-Jun-04 1:00
mufasa218-Jun-04 1:00 
GeneralRe: free pointer problem Pin
jmkhael18-Jun-04 1:15
jmkhael18-Jun-04 1:15 
GeneralRe: free pointer problem Pin
Rodrigo Pinto Pereira de Souza18-Jun-04 1:54
Rodrigo Pinto Pereira de Souza18-Jun-04 1:54 
GeneralUsing VC++6 .dll and .lib in VC.NET Pin
Freddie Code18-Jun-04 0:58
Freddie Code18-Jun-04 0:58 
GeneralUsing dll... Pin
uniqueworld18-Jun-04 0:40
uniqueworld18-Jun-04 0:40 
GeneralRe: Using dll... Pin
irshad_bukhari18-Jun-04 3:45
irshad_bukhari18-Jun-04 3:45 
Generalgeneral question about network traffic detection Pin
SireNexus17-Jun-04 23:27
SireNexus17-Jun-04 23:27 
GeneralRe: general question about network traffic detection Pin
Trollslayer18-Jun-04 1:34
mentorTrollslayer18-Jun-04 1:34 
GeneralRe: general question about network traffic detection Pin
Antony M Kancidrowski18-Jun-04 4:12
Antony M Kancidrowski18-Jun-04 4:12 
GeneralCheck for existing directory Pin
Cedric Moonen17-Jun-04 23:22
Cedric Moonen17-Jun-04 23:22 
GeneralRe: Check for existing directory Pin
Arjan Schouten17-Jun-04 23:38
Arjan Schouten17-Jun-04 23:38 
GeneralRe: Check for existing directory Pin
Cedric Moonen17-Jun-04 23:48
Cedric Moonen17-Jun-04 23:48 

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.