C Board  

Go Back   C Board > Platform Specific Boards > Windows Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 10-29-2009, 04:54 PM   #1
Registered User
 
Join Date: Oct 2009
Posts: 1
Unhappy OutText - absolutelly newbie...

Please, help me with some directions and advises!
I'm working with small microcontrollers and WinAPI is very , very unknown.
(Un)fortunately, i need program , which:
- is talking with small device via RS232,
- receives strings, analises these strings , reformats them and outputs on
WindowsApp window.
- keyboard input must be redirected to serial port.
In other words - goal is to make PC based terminal for this small device (which has 240x64 pixels display and some keypad).
In this moment i want to learn faster
1) how to output text in graphic mode, how to control font parameters,
2) how to control stretching of window - i assume to work in window 240x64 or 480x128 , but what happens , when one resizes window?

Last few days i have played with WinBGI ( library, wrapper , which gives to me graphic control in known for me TurboPascal style). Problem here is size - i have about 2MB exe even on start, with 3 strings , drawed in window. Additionally , i'm not sure how stable is this library.
On serial side i experimented with one simple library, but found problems - characters are lost, even on low speed. (Serial Communication for WIN32 (Event-driven)). Maybe i'm wrong, but library does not specify any buffers, when comport is initialised with CreateFile.( Does Window have long buffers by default?) So i'm planning to try other library - from Welcome to Ramon's homepage. But this is other story...
I have Dev-Cpp installed and i want to learn.
Any advice and comment, link to library/ wrapper will be useful for me.
Thanks.
Stefan
stefan63 is offline   Reply With Quote
Old 10-29-2009, 08:05 PM   #2
Registered User
 
Join Date: Mar 2005
Location: Mountaintop, Pa
Posts: 1,054
IMHO, WinBGI is a little dated. For starters, you may want to take a look at this Win32 tutorial. It'll help you learn how to create "lean and mean" Win32 apps.
BobS0327 is offline   Reply With Quote
Reply

Tags
gdi, serial com

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
getting to grips with allegro and ms vc++ (newbie) jimjamjahaa C++ Programming 4 11-18-2005 07:49 PM
Newbie in problem with looping nrain C Programming 6 11-05-2005 12:53 PM
Some help for a newbie? Ilmater C++ Programming 23 04-19-2004 07:44 PM
C++ newbie / linux not so newbie question goldmonkey C++ Programming 7 12-13-2003 12:27 PM
Newbie Game Develpoers Unite! Telenosis Game Programming 10 06-22-2002 02:02 PM


All times are GMT -6. The time now is 07:39 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22