Resently I found that in new GDS builds the menu commands were shifted, so it's incompatible now with the old installer..., i.e. NONE was 8470 and became 8473, SIDEBAR was 8467 and now - 8470! It means that I even cannot send the second commend, it may close sidebar insead of openning it...
Poz, do you think it's possible to keep the old constants in GDS, so it will not break future plugin installer releases? ;) Or what about making an external CONSTANT commands in GDS to switch its state between None and Sidebar, please?
> 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:
> 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).
Looking at the messages of _GD_Mon window in spy++, i see it receiving a WM_CLOSE when it exits. May be you can send WM_CLOSE or WM_SYSCOMMAND with SC_CLOSE to that window to shut down GD?
> Looking at the messages of _GD_Mon window in spy++, i see it receiving > a WM_CLOSE when it exits. May be you can send WM_CLOSE or WM_SYSCOMMAND > with SC_CLOSE to that window to shut down GD?
> That sounds good, but how can we luanch GDS again? Switching the Sidebar > state was working simply great! ;)
Submit the options form by HTTP?
-- Jamie ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB.
> On 1/4/06, taualex <taua...@gmail.com> wrote: > > That sounds good, but how can we luanch GDS again? Switching the Sidebar > > state was working simply great! ;)
> Submit the options form by HTTP?
> -- > Jamie > ------------------------------------------------------------------- > http://endeavour.zapto.org/astro73/ > Thank you to JosephM for inviting me to Gmail! > Have lots of invites. Gmail now has 2GB.
> I'm sorry Jamie, I dont get what you mean... It's a desktop application.
Using Inet or w/e, submit the preferences page with the options to set GDS to which mode you want.
-- Jamie ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB.
I was reading back over the first few posts of this thread. The initial problem was "(un)re-registering" the plugin at installation. Is it that when the plugin is already registered, and you register it again, it unregisters?
If so, you can try to, instead of just registering your plugin in the installer, to unregister it first (ignore any errors) and then register the plugin. This works for me.
> I was reading back over the first few posts of this thread. The initial > problem was "(un)re-registering" the plugin at installation. Is it that > when the plugin is already registered, and you register it again, it > unregisters?
> If so, you can try to, instead of just registering your plugin in the > installer, to unregister it first (ignore any errors) and then register > the plugin. This works for me.
> On 1/5/06, taualex <taua...@gmail.com> wrote: > > I'm sorry Jamie, I dont get what you mean... It's a desktop application.
> Using Inet or w/e, submit the preferences page with the options to set > GDS to which mode you want.
> -- > Jamie > ------------------------------------------------------------------- > http://endeavour.zapto.org/astro73/ > Thank you to JosephM for inviting me to Gmail! > Have lots of invites. Gmail now has 2GB.