PDA

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



fernando
7th May 2010, 14:00
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

wysota
7th May 2010, 14:20
What is this "#import" directive supposed to do? Where did you put it?

fernando
7th May 2010, 14:29
hi,
i got this command form that post:
http://www.qtcentre.org/threads/17699-QThread-QTimer-skype4Com-throws-exception?p=88227

borisbn
8th May 2010, 07:22
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