Thread: Help needed! Weird error.

  1. #1
    Registered User
    Join Date
    Feb 2002

    Help needed! Weird error.

    Im making a dll in vc++ 6, and Im using a class to export, and several other functions, for use inside the dll. The problem is, that Im starting to hate vc! All of a sudden, when I try to compile (it worked fine before), it says:
    "local function definitions are illegal" and highlighting some functions.
    I dont know what to do, help me pleaseeee!!

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    From the sound of it, you tried to declare a function in main or in some other function... I dont' think you can do that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Errors including <windows.h>
    By jw232 in forum Windows Programming
    Replies: 4
    Last Post: 07-29-2008, 01:29 PM
  2. Getting other processes class names
    By Hawkin in forum Windows Programming
    Replies: 3
    Last Post: 03-20-2008, 04:02 PM
  3. Connecting to a mysql server and querying problem
    By Diod in forum C++ Programming
    Replies: 8
    Last Post: 02-13-2006, 10:33 AM
  4. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  5. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-29-2005, 11:21 PM