Help needed! Weird error.

This is a discussion on Help needed! Weird error. within the C++ Programming forums, part of the General Programming Boards category; Im making a dll in vc++ 6, and Im using a class to export, and several other functions, for use ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    11

    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
    Location
    MI
    Posts
    8,825
    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, 02:29 PM
  2. Getting other processes class names
    By Hawkin in forum Windows Programming
    Replies: 3
    Last Post: 03-20-2008, 05: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, 09:39 AM
  5. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-30-2005, 12:21 AM

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