[Google-Desktop-Developer] Re: Plugin installer: closing sidebar or shutting down the GDS
POZ!! HOW MANY TIMES DO I HAVE TO TELL YOU TO STOP SEND ME ALL OF THIS STUFF
THAT IS GARBAGE TO ME.? I WILL THANK YOU TO DO SOMETHING ABOUT IT!
Bruce
I have had it with you guys
I am tired of deleting all of your email. I do not use you side bar and I
am not going to.
I have tried to cancel my subscription to the web site.
I have tried to strike my name for you roster.
I have ask those that wend me mail to stop.
I have had people tell me to stop diluting the website with my garbage.
NOTHING WORKS
if you don't want my garbage quite sending me mail.
----- Original Message -----
From: "poz" <satishkumr@hotmail.com>
To: "Google Desktop Developer Group"
<Google-Desktop-Developer@googlegroups.com>
Sent: Wednesday, December 21, 2005 11:48 AM
Subject: [Google-Desktop-Developer] Re: Plugin installer: closing sidebar or
shutting down the GDS
>
> Try building the sample c++ project that comes with the SDk and see if
> that also has the same issue (unable to build after unregistering). If
> not, it means that the sidebar properly unloads unregistered DLLs but
> in your case the DLL is having refcount problems.
>
>
> Cat wrote:
>> I've been running into a similar problem. I unregister the plugin using
>> regsvr32 /u, and the panel disappears from the Sidebar, but the DLL is
>> still used by the GoogleDesktopDisplay process. As as result, linking
>> my project fails. I'm unsure whether this is a DLL reference count
>> problem in my DLL or if it is indeed a bug in GD.
>>
>> The way I force GD to release my DLL is to change the display state of
>> GD to "None" (right-click on tray icon, select None) and then change it
>> back to Sidebar. Here's some code that works on my machine:
>>
>> HWND hGDMon = FindWindow(_T("_GD_Mon"), NULL);
>> if(hGDMon) {
>> SendMessage(hGDMon, WM_COMMAND, 8470 /* None */, 0);
>> Sleep(5000);
>> SendMessage(hGDMon, WM_COMMAND, 8467 /* Sidebar */, 0);
>> }
>>
>> I can see at least two bugs of this method: you don't know what the
>> initial state of the GD was (i.e., the user could have set it to
>> Deskbar, and you're resetting it to Sidebar); also, it's
>> version-dependent (even though these parameters don't look like they
>> will change any time soon, they are undocumented internals on which
>> Google makes no guarantee). But hey, it works.
>>
>> Note: For the curious, these "magic" command IDs are actually the IDs
>> of the corresponding localized string resources in
>> GoogleDesktopResources_XX.dll (where XX is your language code).
>>
>> -cat
>
>
0 Comments:
Yorum Gönder
<< Home