Results 1 to 5 of 5

Thread: How to transcribe types required for a DLL in C types to QT?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2009
    Location
    Brazil Maceió/Alagoas
    Posts
    24
    Thanks
    7
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Question How to transcribe types required for a DLL in C types to QT?

    Follow the instructions of the development of the library in C attached, please could someone confirm me how to translate the types required in QT types. Eg:

    in C:
    Qt Code:
    1. typedef int (WINAPI *OpenDllECF) (BYTE *Ident, int porta, int veloc, LPSTR String);
    To copy to clipboard, switch view to plain text mode 

    I transcribed this for QT
    Qt Code:
    1. typedef int (*OpenDllPorta)(int porta,int veloc, char *str);
    To copy to clipboard, switch view to plain text mode 

    correct?
    Attached Files Attached Files

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.