Could anybody who's using XP Try this?

This is a discussion on Could anybody who's using XP Try this? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Ok try compiling this program and tell me if the windows aht you compile has resources? I meaning LIke a ...

  1. #1
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427

    Could anybody who's using XP Try this?

    Ok try compiling this program and tell me if the windows aht you compile has resources? I meaning LIke a file button or something, because although this example says that it has one when I compile it doesn't have resources, I was thinking that this might be because I am running XP...
    Attached Files Attached Files
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  2. #2
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    This wouldn't compile either on my computer (running XP). I am ****ing getting ........ed with this ****, won't compile under MSVC++ nor DevC++, if you don't have XP and it does compile then I don't know what the **** to do, either hook up my old pc or get rid of XP.


    [EDIT]

    Error on DevC++ C:\DOCUME~1\INCOGN~1\LOCALS~1\Temp\ccs3baaa.o(.tex t+0x105):isohex~1.cpp: undefined reference to `GetStockObject@4'




    Error on MSVC++ ps it compiles but can't run it Linking...
    LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
    Debug/IsoHex2_1.exe : fatal error LNK1120: 1 unresolved externals
    Error executing link.exe.

    [/EDIT]
    Attached Files Attached Files
    Last edited by incognito; 03-24-2002 at 11:07 AM.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  3. #3
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    ::shouting:: You're compiling them as console applications!!

    The first one worked for me without modification (I'm running XP, though)

    The second you just change the subsytem to windows instead of console.
    Last edited by -KEN-; 03-24-2002 at 12:01 PM.

  4. #4
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    Originally posted by -KEN-
    ::shouting:: You're compiling them as console applications!!

    The first one worked for me without modification (I'm running XP, though)

    The second you just change the subsytem to windows instead of console.

    True........but wait I created a new project Win32 copied and pasted the codes, included all the resource files into the same directory, compiled it compiles but then when I build it and run it it tells me that it cannot create the dialogs.......
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  5. #5
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    The second you just change the subsytem to windows instead of console.

    huh? I wish that when these people made a book and sold it they would get their things straight.




    Somebody please ***** slap me so I regain my senses!!!!!!!!!!
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  6. #6
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    project->settings->link tab->bottom edit box, find "/subsystem:console" and change the console to windows.


    I dunno about the other one, works perfect for me.

  7. #7
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    OH I FINALLY GOT IT.........Could someone please smack me for what I was doing it......well here's it is.....it seems to me (Newbie) that when you are compiling a win32 application you have to save it as .cpp not .c and that's what I was doing.......don't blame I didn't know, just smack me virtually................ Thank you all.
    Thanks for the second one, I haven't tried the first one about the little windows yet.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 05-07-2009, 11:31 AM
  2. Trying to Install XP over Vista with SATA HD
    By Shamino in forum Tech Board
    Replies: 2
    Last Post: 12-13-2008, 05:56 PM
  3. Need help with program
    By HAssan in forum C Programming
    Replies: 8
    Last Post: 06-10-2007, 08:05 PM
  4. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 06:05 PM
  5. Windows XP regression over time
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 12-17-2002, 09:49 AM

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