Results 1 to 2 of 2

Thread: Error c0x32.obj

  1. #1
    Member Contributor
    Join Date
    Jul 2003
    va beach

    Error c0x32.obj

    I am getting a compile error from unresolve external reference from _main in c0x32.obj. I am trying to compile one of NeHe's tutorials using BC++5. Under the WinAPI I thought Main didn't have to be declared for a screensaver, just the three API functions.

  2. #2
    Member Contributor
    Join Date
    Nov 2001

    Re: Error c0x32.obj

    A screen saver is just a Windows application which has a .SCR extention, and accepts command line arguments explaining what's supposed to happen. Therefore, all you really need is your WinMain function. Chances are, _main in c0x32.obj is trying to find WinMain, and failing. There's a nice website out there on Windows Screen Saver Programming (sparing the guy's horrible coding principles) at . It's a bit outdated for some of it, but it's still accurate.

    [This message has been edited by Nychold (edited 02-20-2004).]

Similar Threads

  1. Shader Compile Error: ERROR: 0:1: '' : syntax error #version
    By Blakeasd in forum OpenGL: Basic Coding
    Replies: 12
    Last Post: 07-25-2013, 07:35 PM
  2. Replies: 2
    Last Post: 05-31-2013, 01:06 PM
  3. ERROR: 0:17:'f' : syntax error parse error
    By hopeless in forum OpenGL: GLSL
    Replies: 1
    Last Post: 08-23-2010, 01:05 PM
  4. Replies: 1
    Last Post: 09-24-2007, 04:02 AM
  5. Replies: 3
    Last Post: 02-07-2003, 05:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean