Results 1 to 9 of 9

Thread: Form creation

  1. #1
    vbGrandpa
    Guest

    Form creation

    I just put C++ on my machine.

    Can someone tell me the steps to create a form?

    Thanx,
    Grandpa

  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    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."

  3. #3
    vbGrandpa
    Guest

    More Help Needed

    I downloaded Dennis Wren's code but I
    can't get it to compile.

    There is no main()??????

  4. #4
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    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."

  5. #5
    vbGrandpa
    Guest
    I got to Dennis' code by searching on "Form Creation".

    Your info will help me get it compiled.

    Thanx
    Grandpa

  6. #6
    vbGrandpa
    Guest
    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

  7. #7
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    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."

  8. #8
    vbGrandpa
    Guest
    I think maybe the code is seen as a console app the second time.

    If I'm all wet, let me know.

    Thanx,
    Grandpa

  9. #9
    vbGrandpa
    Guest

    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
  •  



Click Here to Expand Forum to Full Width