Results 1 to 3 of 3

Thread: name of exported dll functions

  1. #1
    Join Date
    Jul 2006
    Posts
    4
    Thanks
    2
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default name of exported dll functions

    hi,

    can I affect the name of the exported function?

    EXPORTS
    @rsGetLastError$qv @1 ; rsGetLastError()
    @rsXML2CSV$qpc @2 ; rsXML2CSV(char *)
    ___CPPdebugHook @3 ; ___CPPdebugHook

    but I would like

    EXPORTS
    rsGetLastError @1 ; rsGetLastError()
    rsXML2CSV @2 ; rsXML2CSV(char *)
    ___CPPdebugHook @3 ; ___CPPdebugHook

    thanks in advance

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: name of exported dll functions

    Try putting those functions in extern "C" block.

  3. The following user says thank you to jacek for this useful post:

    vrudolf (30th July 2006)

  4. #3
    Join Date
    Jul 2006
    Posts
    4
    Thanks
    2
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: name of exported dll functions

    Quote Originally Posted by jacek
    Try putting those functions in extern "C" block.
    with extern "C" and __declspec(dllexport) __stdcall I receive the desired named assignment...

    thx

Similar Threads

  1. Qt/Embedded Installation error during make
    By mahe2310 in forum Installation and Deployment
    Replies: 5
    Last Post: 7th September 2006, 04:05
  2. linking libraries
    By JustaStudent in forum Newbie
    Replies: 29
    Last Post: 2nd May 2006, 08:30
  3. Howto: Use exported dll library functions in Qt
    By pedros09 in forum Qt Programming
    Replies: 2
    Last Post: 14th April 2006, 15:05
  4. Asynchronous server msg vs synchronous functions
    By nouknouk in forum Qt Programming
    Replies: 9
    Last Post: 2nd February 2006, 17:10
  5. warning message on compile not understood
    By impeteperry in forum Qt Programming
    Replies: 13
    Last Post: 23rd January 2006, 23:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.