Hi, In my propertygrid, I want to add a textbox with a arrow at the right side which can show all previous values. is it possible ? thanks for your help
C
canard29
@canard29
Posts
-
[C#] Propertygrid - Textbox and listbox for previous values -
C++ socket and thread [modified]Think you for your help. I removed the comments and used
. I hope it's easier to read.
yes, you're right, I want to add a loop but I don't where in my code.Think you
-
C++ socket and thread [modified]this application execute this line : ExecuteCommand(buffer, NULL, 0) but only one time. I will check your links
-
C++ socket and thread [modified]Hi, I have a small programm which listen a socket in a new thread. but I want to restart the porgramm after the first message. Start the thread in main.cpp
hThread = CreateThread( NULL, 0, ThreadFunc, &dwThrdParam, 0, &dwThreadId);
The programm :
DWORD WINAPI ThreadFunc( LPVOID lpParam ) { WSAStartup(MAKEWORD(2,2),&initialisation_win32); socket_recevoir=socket(AF_INET,SOCK_DGRAM,0); information_recevoir.sin_family=AF_INET; information_recevoir.sin_addr.s_addr=INADDR_ANY; information_recevoir.sin_port=htons(25); bind(socket_recevoir,(struct sockaddr*)&information_recevoir,sizeof(information_recevoir)); tempo=sizeof(information_recevoir); nb_caracters=recvfrom(socket_recevoir,buffer,1515,0,(struct sockaddr*)&information_recevoir,&tempo); buffer[nb_caracters]=0; if (nb_caracters >0) { ExecuteCommand(buffer, NULL, 0); } closesocket(socket_recevoir); return 0; }
In main.cpp, I want to call again this programm. Can you help me please ?
modified on Monday, April 5, 2010 10:42 AM