Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: virtual destructor Pin
Zac Howland10-Aug-06 4:17
Zac Howland10-Aug-06 4:17 
AnswerRe: virtual destructor Pin
Hamid_RT9-Aug-06 21:29
Hamid_RT9-Aug-06 21:29 
Questionautomation ,passing bitmap in MSWord Pin
Sopi Singh9-Aug-06 20:51
Sopi Singh9-Aug-06 20:51 
QuestionSerial port communication using VC++ Pin
I_arora9-Aug-06 20:38
I_arora9-Aug-06 20:38 
AnswerRe: Serial port communication using VC++ Pin
Cedric Moonen9-Aug-06 21:02
Cedric Moonen9-Aug-06 21:02 
AnswerRe: Serial port communication using VC++ Pin
ThatsAlok9-Aug-06 21:20
ThatsAlok9-Aug-06 21:20 
AnswerRe: Serial port communication using VC++ Pin
David Crow10-Aug-06 3:28
David Crow10-Aug-06 3:28 
AnswerRe: Serial port communication using VC++ Pin
normanS10-Aug-06 4:49
normanS10-Aug-06 4:49 
It depends how hard you want to work!

If you want to work really hard, learn C++. Sure, it has long-term benefits, but it's a lot of work!

If you don't want to work so hard, use the C code you already know, and hack it to work under Windows. Start by making a console application, copy in your old code, fix compiler errors, etc. It's not pretty, but it may work!

Where you are likely to hit a problem is when you directly access I/O ports, but you can use a "port access" library. I have personally used inpOut32.dll http://www.logix4u.net/inpout32.htm[^]- works like a dream. This library provides inp32 and out32 functions, which allow you to directly access ports, as in DOS or Win9x.
AnswerRe: Serial port communication using VC++ Pin
Hamid_RT10-Aug-06 8:22
Hamid_RT10-Aug-06 8:22 
QuestionPlease help !!!! Pin
Bravoone_20069-Aug-06 20:22
Bravoone_20069-Aug-06 20:22 
AnswerRe: Please help !!!! Pin
sujtha9-Aug-06 20:44
sujtha9-Aug-06 20:44 
QuestionRe: Please help !!!! Pin
Bravoone_20069-Aug-06 21:24
Bravoone_20069-Aug-06 21:24 
AnswerRe: Please help !!!! Pin
Hamid_RT9-Aug-06 21:29
Hamid_RT9-Aug-06 21:29 
GeneralRe: Please help !!!! Pin
Bravoone_20069-Aug-06 21:37
Bravoone_20069-Aug-06 21:37 
GeneralRe: Please help !!!! Pin
Hamid_RT9-Aug-06 21:47
Hamid_RT9-Aug-06 21:47 
GeneralRe: Please help !!!! Pin
Bravoone_20069-Aug-06 22:01
Bravoone_20069-Aug-06 22:01 
GeneralRe: Please help !!!! Pin
Hamid_RT9-Aug-06 22:40
Hamid_RT9-Aug-06 22:40 
GeneralRe: Please help !!!! Pin
Hamid_RT10-Aug-06 8:20
Hamid_RT10-Aug-06 8:20 
QuestionRe: Please help !!!! Pin
Bravoone_200610-Aug-06 19:47
Bravoone_200610-Aug-06 19:47 
QuestionMoving Ellipse Problem Pin
uday kiran janaswamy9-Aug-06 19:59
uday kiran janaswamy9-Aug-06 19:59 
AnswerRe: Moving Ellipse Problem Pin
_AnsHUMAN_ 9-Aug-06 20:20
_AnsHUMAN_ 9-Aug-06 20:20 
AnswerRe: Moving Ellipse Problem Pin
Hamid_RT9-Aug-06 21:22
Hamid_RT9-Aug-06 21:22 
QuestionCapturing key presses with WinProc Pin
Coremn9-Aug-06 19:42
Coremn9-Aug-06 19:42 
AnswerRe: Capturing key presses with WinProc Pin
sunit59-Aug-06 19:57
sunit59-Aug-06 19:57 
AnswerRe: Capturing key presses with WinProc Pin
ThatsAlok9-Aug-06 21:59
ThatsAlok9-Aug-06 21:59 

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.