Lau Chi Pong
March 3rd, 1999, 02:58 AM
Hi All,
My application is in MDI style & has used CFormView as the base view class.
Also my application has created a thread beside the main thread. This thread is used to get information from
a hardware installed on the PC. The program will continuously listen to the hardware to find whether there is
any new message coming.
I have used a while loop to continuously getting message from the hardware.
I have tested the program in the English version of Win95 & 98......it works....message is continuously getting
from the hardware & I can press a button at the frame to popup a dialog by using the function DoModal().
However, when I used the same executable file in the Chinese verison of Win98...it cannot work. While getting
message from the hardware, the dialog cannot be popped-up at the same time. The dialog will only appear after
stopping getting message from the hardware.
What is the problem about this? Any comment about this?
Thanks a lot!!!
My application is in MDI style & has used CFormView as the base view class.
Also my application has created a thread beside the main thread. This thread is used to get information from
a hardware installed on the PC. The program will continuously listen to the hardware to find whether there is
any new message coming.
I have used a while loop to continuously getting message from the hardware.
I have tested the program in the English version of Win95 & 98......it works....message is continuously getting
from the hardware & I can press a button at the frame to popup a dialog by using the function DoModal().
However, when I used the same executable file in the Chinese verison of Win98...it cannot work. While getting
message from the hardware, the dialog cannot be popped-up at the same time. The dialog will only appear after
stopping getting message from the hardware.
What is the problem about this? Any comment about this?
Thanks a lot!!!