Is it a 32bits Windows or 64bits?
I did not try with Windows 7, maybe it requires administrator rights to register the DLL.
Is it a 32bits Windows or 64bits?
I did not try with Windows 7, maybe it requires administrator rights to register the DLL.
Its 32 bits and i tried registering with a Administrator cmd line and without... maybe i try windows xp first...
what system do you use ?
for future reference :
i did everything a second time on a new windows installation, this time i generated new uuid from http://www.famkruithof.net/uuid/uuidgen
and now it works !!
Thanks for your Help and efford writing this tutorial !!!
This is really strange, it can't come from the UUID, but I don't understand what was the problem with your old system
Thank you too for trying my tutorial
The tutorial still needs work, some things could be done better (like avoiding MS SDK), or explained better.
Don't hesitate to point out things that were unclear, you can even write text if you have inspiration, if the whole becomes good enough, we could post it to wiki as a collaborative work.
I think it's quite good ! There are only two things i didn't unterstand at first... ( and this was my first qt project ever ! )
1. Where is the icon comming from.. the filename nevers shows anywerer exept the resource file...
2. Where is the tmp folder stuff comming from....
2.-> i found out why it wasn't working on my first try... i don't know why but if i move my project in any other directory than "c:\qt\2010.04\qt" it doesn't work ! if i qmake the projekt the make files are very different than qmake in e.g. c:\projects\. The makefile creates a tmp folder and other stuff but only if qmake is called in the qt directory....... i still can't find out why it has to be in this directroy.. is it you default dir ? where is this saved ? i looked at every file in your example project...
very very stange.... i used cmd, not qtcreator...
i keep you postet if i every find out why... a.. and one other thing...
If anyone want's to use more than one icon :
in dllmain.cpp:
QAXFACTORY_BEGIN(
"{4c52cc51-89f0-48e0-9678-474e3613d9d7}", /* Type Library ID (TLB) */
"{5c52cc51-89f0-48e0-9678-474e3613d9d7}" /* Application ID (AppID) */
)
QAXCLASS(SOSyncedBinder)
QAXCLASS(SOUnsyncedBinder)
QAXFACTORY_END()
and in your class header file for each binded class:
class SOSyncedBinder : public QObject, public QAxBindable {
Q_CLASSINFO("ClassID", "{1955991f-0df0-4563-8a0b-624a227605d6}")
Q_CLASSINFO("InterfaceID", "{2955991f-0df0-4563-8a0b-624a227605d6}")
Q_CLASSINFO("EventsID", "{3955991f-0df0-4563-8a0b-624a227605d6}")
Tilda (2nd September 2010)
Error ? I run on QT 2.6.1 . Can you help me ???Error overlay.png
Icon overlay not show in win 64bit ??? help me
Same here. Cannot make it work on Win7 x64 with Visual Studio 2010 and Qt 4.8.4. Any hints?
Bookmarks