32 to 64 bit plugin migration issue



Hi all,

I have an interesting issue.
We are developing custom plugins for Media services 9 (authorization
and logging).

We originally designed them on Server2003(32bit) using VS2005 (C#.net)
because of the magic of Microsoft.WindowsMediaServices.Interop care of
the Platform SDK for Server2003R2.

Everything worked great on the 32bit platform.

When we ported the code over to 64bit platform we can compile with no
problem; however, we can no longer register the plugin successfully
because the basic plugin interface types in
Microsoft.WindowsMediaServices.dll are not registered!

regasm generates the following warning for each derived type:

Warning 1 Type library exporter warning: Referenced type is defined in
managed component, which is imported from a type library that could
not be loaded because it was not registered (type:
'Microsoft.WindowsMediaServices.Interop.IWMSBasicPlugin'; component:
'D:\Devl\ICDS\Infrared Plugins\Authorization\bin\Debug
\Microsoft.WindowsMediaServices.dll'). Authorization Plugin

Sure enough - Microsoft.WindowsMediaServices does not appear to be
registered - so I tried to register it manually and it generates no
warnings, but still no luck in registering the plugin(s) (same warning
and it still does not show as actually being registered...)

I tried registering/reregistering interop_msxml.dll and
WMSServerTypeLib.dll (grasping at straws), but no joy...
I have tried it on multiple machines with the same results - of course
everything works great on the 32bit platform.

I am at a loss, has anyone had this issue before? Does anyone have a
possible solution?

Thanks,
Terry

.



Relevant Pages

  • Re: [PATCH 1/1] MFD: Add U300 AB3100 core support v5
    ... * Register a simple callback for handling any AB3100 events. ... +static inline void ab3100_remove_debugfs ... These are regular platform ... +static struct platform_device * ...
    (Linux-Kernel)
  • C# WMS Authentication plugin enabling problem
    ... As far i read standard WMS plugins it's not possible to create this ... authentication plugin. ... public void EnablePlugin(ref int plFlags, ... MessageBox.Show(ex.Message, "Cannot Register", ...
    (microsoft.public.windowsmedia.server)
  • [PATCH 1/1] MFD: Add U300 AB3100 core support v5
    ... This adds a core driver for the AB3100 mixed-signal circuit ... * Register a simple callback for handling any AB3100 events. ... These are regular platform ... +static struct platform_device * ...
    (Linux-Kernel)
  • Re: Entropy sources under WinXP
    ... If you'll register Ramsi's platform with ... it'll on defend the feature. ...
    (sci.crypt)
  • Re: C# WMS Authentication plugin enabling problem
    ... compile and register with asmreg for instance. ... client authentication ticket (here it is username and passwordd because it ... server where the plugin can extract the ticket and authenticates against ... public void EnablePlugin(ref int plFlags, ...
    (microsoft.public.windowsmedia.server)

Loading