Thread: Simple Compile Time Problem - HELP!

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    12

    Unhappy Simple Compile Time Problem - HELP!

    Hi,

    Im new to this forum so please dont flame if this question/problem has come up before.

    Ive just began programming in VC++ for my final year project, and encountered a problem whilst trying to link my code after compilation.

    My basic code (see attached) is compliling fine with no errors or warnings. Its a simple Window with no extra fancy things attached, just the basic window. I know the code is correct but when i try to build this in MS Visual C++ 5 i get this error:

    LNK2001

    which leads to a fatal error and ultimately gives me2 errors upon build.

    Im sure this a simple problem but im haveing trouble finding out why and how to solve it.!!

    This is my fist venture in windows programming after having used C for 3-4 years now and is quite frustrating !

    My code is a simple .CPP and .H file please download and try building it and see if you get the same error.

    Thanks

  2. #2
    Code Warrior
    Join Date
    Nov 2001
    Posts
    669

    Question

    Did you search the help file for this error?
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

  3. #3
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    >> (see attached) <<

    Um...where???
    1978 Silver Anniversary Corvette

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compile problem on linux
    By cnb in forum C Programming
    Replies: 3
    Last Post: 09-29-2008, 04:14 AM
  2. Sending an email in C program
    By Moony in forum C Programming
    Replies: 28
    Last Post: 10-19-2006, 10:42 AM
  3. Simple memory game problem
    By Eamusuta in forum C++ Programming
    Replies: 2
    Last Post: 06-21-2005, 07:59 AM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM