prg007 wrote:
Hello,
I thought <window.c> is for application run under windows operating
system. But I am wrong. I am doing c programming in embedded system. For
the GUI I create, I have to draw lines
one by one to create a button. But I was told I can use
WIN32 program i.e CreateWindow(...) API.
GCC has an -mwindows option when compile. Which part of the
windows program I can use to port to my embedded system evironment.
(Operating system: ATI Nuclear; GCC compiler)
What is the best way to create GUI for my embedded system using C
language?
Thanks a lot
Henry
Unless your embedded operating system is Windows, you can't
use the Windows header file, library or compiler option.
As for GUIs for embedded systems, that depends on the display,
display driver and operating system. For tool kits, look
at Qt from
http://www.trolltech.com.
Remember, for embedded systems, if it isn't part of the standard
language, you will have to either find a library or write your
own code.
--
Thomas Matthews
C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq:
http://www.parashift.com/c++-faq-lite
C Faq:
http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library