Thread: variable-length argument lists

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    1

    Question variable-length argument lists

    When using this in idl code I get the following
    Lexical error at line 12761, column 92. Encountered: "." (46), after : ""

    Here is line 12761:

    private long PerformAuditCheck( tAuditTrail AuditRec, void* OldStruct, void* NewStruct, long ArgCnt,
    eDataType DataType, char* FieldName, int Offset, int Size, ...)

    Any ideas?

  2. #2
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    I haven't used an interface definition language, but if that is a prototype than make sure you place a semi-colon at the end of it. What does the function call look like? When using variable arguments the three dots in the prototype and function definition appears to be correct. As far as I know that's how it should appear.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. char Handling, probably typical newbie stuff
    By Neolyth in forum C Programming
    Replies: 16
    Last Post: 06-21-2009, 04:05 AM
  2. Functions with variable argument count..
    By 39ster in forum C++ Programming
    Replies: 3
    Last Post: 04-11-2009, 09:18 AM
  3. read a text file with lines of variable length
    By raymond in forum C Programming
    Replies: 7
    Last Post: 06-24-2006, 06:41 PM
  4. Help with returning length of char variable.
    By .: Kimochi :. in forum C++ Programming
    Replies: 2
    Last Post: 05-01-2006, 10:56 AM
  5. rerouting variable argument lists...
    By doubleanti in forum C++ Programming
    Replies: 9
    Last Post: 12-14-2001, 09:28 AM