Click here to Skip to main content
15,908,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: When I draw an image to a dialog using GDI+, controls are covered by the image Pin
KarstenK25-Jan-08 0:51
mveKarstenK25-Jan-08 0:51 
Questionhow to play .tga file Pin
Antonyemac24-Jan-08 18:06
Antonyemac24-Jan-08 18:06 
QuestionRe: how to play .tga file Pin
CPallini24-Jan-08 22:00
mveCPallini24-Jan-08 22:00 
GeneralRe: how to play .tga file Pin
Antonyemac24-Jan-08 22:47
Antonyemac24-Jan-08 22:47 
QuestionRe: how to play .tga file Pin
CPallini24-Jan-08 22:54
mveCPallini24-Jan-08 22:54 
GeneralRe: how to play .tga file Pin
Antonyemac27-Jan-08 19:28
Antonyemac27-Jan-08 19:28 
GeneralRe: how to play .tga file Pin
CPallini27-Jan-08 23:07
mveCPallini27-Jan-08 23:07 
GeneralCOM port error Pin
AnayKulkarni24-Jan-08 17:10
AnayKulkarni24-Jan-08 17:10 
Hello to all,
In my project we are using a FTDI driver to connect a device to computer means after installing FTDI driver when we connect our device to computer it recognize it as a USB device and start collecting data from it. But now problem is that when device is connected to communication port(COM port)1 to 9 i.e. COM1 to COM9 then our s/w start collecting data from device but when we connect device to COM10 or onwards then our s/w can not recognize device and gives error "Please check the serial port connected to your s/w" means you have selected wrong COM port number.My logic is as follows,

if ((miComDev =
CreateFile(ComPortNumber, GENERIC_READ | GENERIC_WRITE,
0,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL |
FILE_FLAG_OVERLAPPED,
NULL )) == INVALID_HANDLE_VALUE )
{
AfxMessageBox("Please check the serial port\nconnected to ECG System");
return ( FALSE ) ;
}

here ComPortNumber contains the COM port number (i.e. COM1,COM2 and like that).above logic works properly for COM1 to COM9 but when we connect our device to COM10 or above it gives above mentioned error.what to do? is there any other method to open the port COM10 and above? can anybody help me plz?
Thanks and Regards,

Anay
GeneralRe: COM port error Pin
Cedric Moonen24-Jan-08 20:20
Cedric Moonen24-Jan-08 20:20 
GeneralRe: COM port error Pin
AnayKulkarni25-Jan-08 0:53
AnayKulkarni25-Jan-08 0:53 
GeneralRe: COM port error Pin
Iain Clarke, Warrior Programmer24-Jan-08 23:00
Iain Clarke, Warrior Programmer24-Jan-08 23:00 
GeneralRe: COM port error Pin
AnayKulkarni25-Jan-08 17:50
AnayKulkarni25-Jan-08 17:50 
Generalneed your help Pin
gentleguy24-Jan-08 17:05
gentleguy24-Jan-08 17:05 
GeneralRe: need your help Pin
Don Box24-Jan-08 17:41
Don Box24-Jan-08 17:41 
GeneralRe: need your help Pin
CPallini24-Jan-08 22:08
mveCPallini24-Jan-08 22:08 
GeneralRe: need your help Pin
gentleguy25-Jan-08 18:04
gentleguy25-Jan-08 18:04 
GeneralRe: need your help Pin
CPallini25-Jan-08 21:39
mveCPallini25-Jan-08 21:39 
GeneralRe: need your help Pin
David Crow25-Jan-08 3:09
David Crow25-Jan-08 3:09 
GeneralOffice Open/Save dialog messages Pin
Nitheesh George24-Jan-08 16:54
Nitheesh George24-Jan-08 16:54 
GeneralRe: Office Open/Save dialog messages Pin
ShilpiP24-Jan-08 19:40
ShilpiP24-Jan-08 19:40 
Questionhow to change the windows current user password? Pin
sun_shb24-Jan-08 16:35
sun_shb24-Jan-08 16:35 
AnswerRe: how to change the windows current user password? Pin
Naveen24-Jan-08 18:43
Naveen24-Jan-08 18:43 
Generalcan you give me a demo? Pin
sun_shb24-Jan-08 19:34
sun_shb24-Jan-08 19:34 
GeneralRe: can you give me a demo? Pin
Naveen24-Jan-08 20:00
Naveen24-Jan-08 20:00 
GeneralLink Errors from Imports/Exports with C++ prog importing C exports Pin
ForNow24-Jan-08 13:01
ForNow24-Jan-08 13:01 

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.