Click here to Skip to main content
15,913,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDLL Import Library - alternate search path for DLL Pin
peterchen18-Feb-04 4:10
peterchen18-Feb-04 4:10 
GeneralRe: DLL Import Library - alternate search path for DLL Pin
Prakash Nadar18-Feb-04 4:33
Prakash Nadar18-Feb-04 4:33 
GeneralRe: DLL Import Library - alternate search path for DLL Pin
peterchen18-Feb-04 4:39
peterchen18-Feb-04 4:39 
GeneralRe: DLL Import Library - alternate search path for DLL Pin
Prakash Nadar18-Feb-04 5:08
Prakash Nadar18-Feb-04 5:08 
Generaldialog mfc app Pin
Irish_GUI18-Feb-04 4:10
Irish_GUI18-Feb-04 4:10 
GeneralRe: dialog mfc app Pin
Maximilien18-Feb-04 4:35
Maximilien18-Feb-04 4:35 
GeneralRe: dialog mfc app Pin
Hadi Rezaee18-Feb-04 4:35
Hadi Rezaee18-Feb-04 4:35 
GeneralAlpha Blending Pin
Anthony988718-Feb-04 4:03
Anthony988718-Feb-04 4:03 
GeneralRe: Alpha Blending Pin
Admiral Quality19-Feb-04 8:24
Admiral Quality19-Feb-04 8:24 
Generalmp3 and wave play Pin
TchouTchou Project18-Feb-04 3:00
TchouTchou Project18-Feb-04 3:00 
GeneralRe: mp3 and wave play Pin
Hadi Rezaee18-Feb-04 4:25
Hadi Rezaee18-Feb-04 4:25 
GeneralCListBox - Browse abilities Pin
Sitaram Sukumar18-Feb-04 2:26
Sitaram Sukumar18-Feb-04 2:26 
GeneralRe: CListBox - Browse abilities Pin
David Crow18-Feb-04 2:36
David Crow18-Feb-04 2:36 
GeneralMDI app - CDocument - Memory release Pin
krithika_Ramanujam18-Feb-04 1:47
krithika_Ramanujam18-Feb-04 1:47 
GeneralRe: MDI app - CDocument - Memory release Pin
Steve S18-Feb-04 2:04
Steve S18-Feb-04 2:04 
GeneralRe: MDI app - CDocument - Memory release Pin
krithika_Ramanujam18-Feb-04 20:08
krithika_Ramanujam18-Feb-04 20:08 
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 

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.