variable-length argument lists

This is a discussion on variable-length argument lists within the C++ Programming forums, part of the General Programming Boards category; When using this in idl code I get the following Lexical error at line 12761, column 92. Encountered: "." (46), ...

  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, 05:05 AM
  2. Functions with variable argument count..
    By 39ster in forum C++ Programming
    Replies: 3
    Last Post: 04-11-2009, 10: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, 07:41 PM
  4. Help with returning length of char variable.
    By .: Kimochi :. in forum C++ Programming
    Replies: 2
    Last Post: 05-01-2006, 11:56 AM
  5. rerouting variable argument lists...
    By doubleanti in forum C++ Programming
    Replies: 9
    Last Post: 12-14-2001, 09:28 AM

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