Click here to Skip to main content
15,900,615 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWait for callback function Pin
Andreee18-Feb-04 1:17
Andreee18-Feb-04 1:17 
GeneralRe: Wait for callback function Pin
Steve S18-Feb-04 2:20
Steve S18-Feb-04 2:20 
Generalchanging CPropertySheet's bk color Pin
clayman8718-Feb-04 1:10
clayman8718-Feb-04 1:10 
GeneralCreateFromFile() ,CreateFromClipboard(),CreateFromData() Pin
anshumanshinde18-Feb-04 1:01
anshumanshinde18-Feb-04 1:01 
GeneralSerial Communication Pin
Deepa Gopal18-Feb-04 0:54
Deepa Gopal18-Feb-04 0:54 
GeneralRe: Serial Communication Pin
Antti Keskinen18-Feb-04 1:16
Antti Keskinen18-Feb-04 1:16 
GeneralRe: Serial Communication Pin
Deepa Gopal18-Feb-04 1:42
Deepa Gopal18-Feb-04 1:42 
GeneralRe: Serial Communication Pin
Antti Keskinen18-Feb-04 8:27
Antti Keskinen18-Feb-04 8:27 
Just follow the implementation guide from Microsoft for Windows CE to develop the application. You must have the port settings made similar. If you readed the first article I posted, a data structure is mentioned there with which you can set the port settings in the Windows end. See the Microsoft WinCE documentation for a respective setting on the PDA end.

I think versions of WinCE sport some type of MFC support, and thus you can use much of the same code to implement port reading on the PDA end. For this purpose, you would need to consult the PDA documentation and/or files to see what version of MFC it supports.

The most effective way is to use the Microsoft-provided WinCE emulator. This allows you to develop and test code on an emulator before sending it to the actual device. I think eVC++ supports on-device debugging through a serial connection. This is not very viable in your case, as you need the serial connection yourself. So use the emulator.

For an example, create the WinCE build, run it in the emulator, then start the Windows-end program, write data into the port and attempt to read it through the emulator. For an extremely effective method, if your computer supports two COM ports, you can write to the first using the Windows-program, then read from the second using the emulator-driven build. Just get a cross-connected serial cable (or build one yourself) to inter-connect the two ports.

Also, you should post this question into the Embedded / Mobile area, as most of the users who develop WinCE software tend to hang around there, and thus you might get more knowledgeable answers.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralService connecting to network shares Pin
JensB18-Feb-04 0:26
JensB18-Feb-04 0:26 
GeneralRe: Service connecting to network shares Pin
Steve S18-Feb-04 2:10
Steve S18-Feb-04 2:10 
GeneralRe: Service connecting to network shares Pin
JensB18-Feb-04 20:16
JensB18-Feb-04 20:16 
Generalradio buttons problem Pin
coda_x18-Feb-04 0:12
coda_x18-Feb-04 0:12 
GeneralRe: radio buttons problem Pin
Steve S18-Feb-04 0:16
Steve S18-Feb-04 0:16 
GeneralRe: radio buttons problem Pin
David Crow18-Feb-04 2:41
David Crow18-Feb-04 2:41 
QuestionHow to show AVI file in a CDialog? Pin
vgrigor17-Feb-04 23:50
vgrigor17-Feb-04 23:50 
AnswerRe: How to show AVI file in a CDialog? Pin
Prakash Nadar18-Feb-04 2:06
Prakash Nadar18-Feb-04 2:06 
GeneralRe: How to show AVI file in a CDialog? Pin
vgrigor18-Feb-04 2:40
vgrigor18-Feb-04 2:40 
GeneralClistbox greying Pin
SVPG17-Feb-04 23:43
SVPG17-Feb-04 23:43 
GeneralRe: Clistbox greying Pin
sps-itsec4618-Feb-04 0:30
sps-itsec4618-Feb-04 0:30 
GeneralRe: Clistbox greying Pin
SVPG18-Feb-04 0:36
SVPG18-Feb-04 0:36 
GeneralRe: Clistbox greying Pin
Robert A. T. Káldy18-Feb-04 0:53
Robert A. T. Káldy18-Feb-04 0:53 
GeneralRe: Clistbox greying Pin
sps-itsec4618-Feb-04 1:29
sps-itsec4618-Feb-04 1:29 
GeneralRe: Dialog application on TOP Pin
Robert A. T. Káldy17-Feb-04 23:36
Robert A. T. Káldy17-Feb-04 23:36 
GeneralRe: Dialog application on TOP Pin
neokialo17-Feb-04 23:47
neokialo17-Feb-04 23:47 
GeneralRotating a BitMap Pin
Pazzuzu17-Feb-04 23:13
Pazzuzu17-Feb-04 23:13 

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.