|
-
Jun 14th, 2002, 07:12 AM
#1
Form creation
I just put C++ on my machine.
Can someone tell me the steps to create a form?
Thanx,
Grandpa
-
Jun 14th, 2002, 08:43 AM
#2
Frenzied Member
step 1:
Learn the language properly (if you don't already) by writing console-based apps.
step 2:
look at the C/C++ forum FAQ
Harry.
"From one thing, know ten thousand things."
-
Jun 14th, 2002, 09:04 AM
#3
More Help Needed
I downloaded Dennis Wren's code but I
can't get it to compile.
There is no main()??????
-
Jun 14th, 2002, 09:10 AM
#4
Frenzied Member
Where did you get Dennis' code from? I haven't seen him around here in months.
This it the FAQ: http://www.vbforums.com/announcement.php?s=&forumid=9
The problem with the missing main() is probably that you have started a project that is a Win32 Console Application when the code you are trying to use is supposed to be a standard Win32 Application. There is a WinMain() function instead.
You would be well advised to learn the ins and outs of console programming before you start creating windows (there are no 'forms' like there are in VB in the Windows API, just 'windows'). That is, if you haven't already. Perhaps you just don't have experience of using the Windows API.
Harry.
"From one thing, know ten thousand things."
-
Jun 14th, 2002, 09:23 AM
#5
I got to Dennis' code by searching on "Form Creation".
Your info will help me get it compiled.
Thanx
Grandpa
-
Jun 14th, 2002, 10:08 AM
#6
I got it to compile and link once.
After that, if i recall it and make a change, I'm back to square 1.
Can you help again????
Thanx,
Grandpa
-
Jun 14th, 2002, 10:22 AM
#7
Frenzied Member
Um, well what did you change? I have no idea why code would compile once and then refuse to ever compile again.
Harry.
"From one thing, know ten thousand things."
-
Jun 14th, 2002, 10:26 AM
#8
I think maybe the code is seen as a console app the second time.
If I'm all wet, let me know.
Thanx,
Grandpa
-
Jun 14th, 2002, 01:11 PM
#9
Resolved
I was opening the cpp file instead of the workspace.
Thanx again.
Grandpa
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|