Qt-interest Archive, May 2007
Is Qt4.3 such Fragile? uuid problem!
Message 1 in thread
I use vs2003 open a project on:
C:\Qt\4.3.0\examples\activeqt\wrapper\wrapperax.vcproj
I made a single change on main.cpp Line 100:
Change the last digit from “8” to “9”
return "{6E795DE9-872D-43CF-A831-496EF9D86C68}"; // the last 8 to 9
Then, rebuild.
I then open PowerPoint and try to insert QCheckBox control from View ->
Toolbars -> Control Toolbox -> Toolbar Options -> More Controls”.
I got error:
“Object library invalid or contains references to object definitions
that could be found”
(See attached screen snapshot)
Such a fragile? I cannot believe. Please test by yourself. I hope not
happen on your machine.
Lingfa


Message 2 in thread
I foget to say the original works well, but change "8" to "9" makes
QCheckBox control not insertable to PowerPoint.
--
[ signature omitted ]
Message 3 in thread
Try registering it using:
regsvr32 /i wrapperax.ocx (or whatever it is called)
and/or
regsvr32 /i wrapperax.dll
John
Lingfa Yang wrote:
> I use vs2003 open a project on:
> C:\Qt\4.3.0\examples\activeqt\wrapper\wrapperax.vcproj
>
> I made a single change on main.cpp Line 100:
> Change the last digit from “8” to “9”
> return "{6E795DE9-872D-43CF-A831-496EF9D86C68}"; // the last 8 to 9
> Then, rebuild.
>
> I then open PowerPoint and try to insert QCheckBox control from View ->
> Toolbars -> Control Toolbox -> Toolbar Options -> More Controls”.
> I got error:
> “Object library invalid or contains references to object definitions
> that could be found”
> (See attached screen snapshot)
>
> Such a fragile? I cannot believe. Please test by yourself. I hope not
> happen on your machine.
> Lingfa
>
>
> ------------------------------------------------------------------------
>
--
[ signature omitted ]
Message 4 in thread
John Voltz wrote:
> Try registering it using:
>
> regsvr32 /i wrapperax.ocx (or whatever it is called)
there is no ocx
> and/or
> regsvr32 /i wrapperax.dll
>
I tried and obtain a message box:
"
wrapperax.dll was loaded, but the DLLInstall entry point was not found.
This file can not be registered.
OK
"
Any more idea?
Thank for your kind reply.
Lingfa


Message 5 in thread
Lingfa Yang wrote:
> John Voltz wrote:
>
>> Try registering it using:
>>
>> regsvr32 /i wrapperax.ocx (or whatever it is called)
>
>
> there is no ocx
>
>> and/or
>> regsvr32 /i wrapperax.dll
>>
> I tried and obtain a message box:
> "
> wrapperax.dll was loaded, but the DLLInstall entry point was not found.
> This file can not be registered.
> OK
> "
> Any more idea?
Without "/i" can be registered successfully, however, still the
QCheckBox is not insertable.
--
[ signature omitted ]
Message 6 in thread
Hi,
It looks like that Office applications uses a Type Library cache. When you
changed the class information of the QCheckBox this cache entry became
invalid. This can be verified using the oleview tool (you can see two Type
Library entries for wrapperax). Once you clean the entry created by office
(both the registry entry and the file it points to), you should be able to
insert QCheckBox again in your office application.
HTH
Prasanth
"Lingfa Yang" <lingfa@xxxxxxx> wrote in message
news:46420E44.4090806@xxxxxxxxxx
>I use vs2003 open a project on:
> C:\Qt\4.3.0\examples\activeqt\wrapper\wrapperax.vcproj
>
> I made a single change on main.cpp Line 100:
> Change the last digit from “8” to “9”
> return "{6E795DE9-872D-43CF-A831-496EF9D86C68}"; // the last 8 to 9
> Then, rebuild.
>
> I then open PowerPoint and try to insert QCheckBox control from View ->
> Toolbars -> Control Toolbox -> Toolbar Options -> More Controls”.
> I got error:
> “Object library invalid or contains references to object definitions
> that could be found”
> (See attached screen snapshot)
>
> Such a fragile? I cannot believe. Please test by yourself. I hope not
> happen on your machine.
> Lingfa
>
>
--
[ signature omitted ]
Message 7 in thread
Prasanth Ullattil wrote:
> Hi,
>
> It looks like that Office applications uses a Type Library cache. When
> you changed the class information of the QCheckBox this cache entry
> became invalid. This can be verified using the oleview tool (you can
> see two Type Library entries for wrapperax). Once you clean the entry
> created by office (both the registry entry and the file it points to),
> you should be able to insert QCheckBox again in your office application.
>
> HTH
> Prasanth
>
Hi Prasanth,
This is a great help. It works after I delete the *.exd file from ppt11.0.
What I did:
1) delete exd file from ppt11.0.
2) search by uuid in regedit, and delete them from registry also.
Problem is when I typed oleview, I still saw them in Type Libraries.
Would you please tell me how to remove it properly?
Thank a lot.
Lingfa
--
[ signature omitted ]
Message 8 in thread
> Would you please tell me how to remove it properly?
>
Never mind this question.
I double checked. After I delete it from regedit, it does disrepair in
oleview.
Thank again.
Lingfa
--
[ signature omitted ]