INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Preferred plugin registration method  (Read 1530 times)

poiru

  • Recent member
  • *
  • Posts: 29
Preferred plugin registration method
« on: December 01, 2011, 03:03:42 pm »

Is there a reccomended procedure for registering a "universal" plugin that works with both Media Center and Media Jukebox?

Currently, this is what I'm doing in DllRegisterServer():
- Find MJFrame window
- Get process path of that window
- Get the executable base name from the path (e.g. "Media Center 16" or "Media Jukebox 14")
- Write to registry under the base name key

It works fine, but please do tell if there is a better way. Thanks.
Logged

poiru

  • Recent member
  • *
  • Posts: 29
Re: Preferred plugin registration method
« Reply #1 on: December 02, 2011, 03:38:08 am »

Decided to go with an installer instead..
Logged

remixedcat

  • Junior Woodchuck
  • **
  • Posts: 71
Re: Preferred plugin registration method
« Reply #2 on: December 02, 2011, 05:09:52 am »

hi. (finally got my login sorted) and I tried the .exe file and it said install failed.... im on server 2008 x64 using the latest rainmeter.
Logged
Pages: [1]   Go Up