Results 1 to 4 of 4

Thread: How do i import and use a DLL like Skype4COM.dll in Qt4?

  1. #1
    Join Date
    May 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default How do i import and use a DLL like Skype4COM.dll in Qt4?

    Hi,
    i am newby to Qt and DLL programming and i would like to know how i can use the "Skype4COM.dll" in my Qt Application.

    I tried to import it with:
    #import "Skype4COM.dll"
    But when i try to compile it the whole creator and compiler crashes completely!!

    Can anybody give me a simple code example please?

    thanks
    Fernando

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How do i import and use a DLL like Skype4COM.dll in Qt4?

    What is this "#import" directive supposed to do? Where did you put it?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    May 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How do i import and use a DLL like Skype4COM.dll in Qt4?

    hi,
    i got this command form that post:
    http://www.qtcentre.org/threads/1769...eption?p=88227

  4. #4
    Join Date
    Apr 2010
    Location
    Rostov-na-Donu, Russia
    Posts
    153
    Thanks
    2
    Thanked 26 Times in 23 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How do i import and use a DLL like Skype4COM.dll in Qt4?

    Usually there are *.lib and *.h files provided with *.dll. Just add lib-file to project, #include h-file and call functions and use classes from that dll

Similar Threads

  1. QThread + QTimer + skype4Com throws exception
    By sadjoker in forum Newbie
    Replies: 1
    Last Post: 22nd December 2008, 14:24
  2. QPixmap import/export
    By Matthias in forum Qt Programming
    Replies: 3
    Last Post: 1st June 2007, 09:11
  3. Import PostgreSQL Values to QT
    By raphaelf in forum Newbie
    Replies: 8
    Last Post: 23rd May 2007, 09:09
  4. How to import an old application code ?
    By yellowmat in forum Qt Tools
    Replies: 6
    Last Post: 12th September 2006, 15:27
  5. import library linking
    By bruce1007 in forum Qt Programming
    Replies: 6
    Last Post: 19th May 2006, 10:27

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.