Modeless Dialog
-
Hi, My application interacts with the device through RS232 Data sent/Received over the port should be displayed while still programming is communicating with the device. For this I created one modeless dialog class with edit member variable Now Consider one packet tobe sent, contents of this packet should be assigned to the dialog class member variable and it should be updated but when I tried todo so my application is crashing. But if I do with Modal Dialog it is working fine. can anyone please explain me Thanks in advance Uday
-
Hi, My application interacts with the device through RS232 Data sent/Received over the port should be displayed while still programming is communicating with the device. For this I created one modeless dialog class with edit member variable Now Consider one packet tobe sent, contents of this packet should be assigned to the dialog class member variable and it should be updated but when I tried todo so my application is crashing. But if I do with Modal Dialog it is working fine. can anyone please explain me Thanks in advance Uday
too many about communication. does ur app crash from comm or modeless dialog box? normally, modeless must be global or class member, can not be local as modal one because it returns at once then local modeless dialog box is destoyed. hope hit ur point :confused: includeh10
-
too many about communication. does ur app crash from comm or modeless dialog box? normally, modeless must be global or class member, can not be local as modal one because it returns at once then local modeless dialog box is destoyed. hope hit ur point :confused: includeh10
It is crashing at modeless, further I have not created this as local. When communication is happening I wnat to show the data sent/received for which I am using the modeless. If I assign the packet(CString type) to my edit variable(CString type of modeless dialog class), it is getting crashed.When I tried to assign it to the local variable it is not crashing