Skip navigation.
Home
The QNX Community Portal

View topic - gui through c

Page 1 of 1

gui through c

PostPosted: Tue Jan 10, 2012 7:38 pm
by joy39
i have a project(sort of) where i have to write a c programto take in user inputs and store it into a mysql database for future retreival.

now, i have written the program for console mode.

ie it asks the user
please enter a name
and then the name entered by the user is stored on the database.

but, i have to do it in this way , like when the screen comes it will show

name
|--------|
|--------|<- here the user will enter his name.
|--------|


and, from here the name entered will be stored in a string variable.

i am not sure , but i think it is gui programming.

i have no knowledge about gui programming.

unfortunately, i don't have much time to read a lot.

so. can you please point me to some tutorial or some resources or anything that is specifically aimed at this type of gui programming.

i want to use the win32 api

please help!

Re: gui through c

PostPosted: Wed Jan 11, 2012 11:51 pm
by mario
Win32 API is not available on QNX.

Re: gui through c

PostPosted: Thu Jan 12, 2012 12:23 am
by ingraham
You're posting on the wrong forum. This forum is about QNX, a completely different operating system from Windows, with a completely different API for GUI programing. So you're asking the wrong crowd.

Having said that, you probably DON'T want to use the Win32 API. It is old, difficult to work with, and essentially deprecated in favor of newer technologies. For better or worse, virtually no one programs directly in the Win32 API any more.

For straight C, the most obvious choice for GUI is GTK+, although it's a little tricky on Windows. You could also look at IUP, though I don't know much about it. There's even wxC, although that doesn't look like an easy option.

Good luck... and try another forum.

-James Ingraham
Sage Automation, Inc.