First of all I would like to apologise if this has been asked before.
I'm trying to create a component to control an instance of winamp from an asp script. I've got this far:
STDMETHODIMP CRemote::GetHWND(LONG * hwnd)
HWND hwndWinamp = FindWindow("Winamp v1.x",NULL);
*hwnd = (long)hwndWinamp;
The FindWindow method code works fine from a normal console executable, but from a COM object it always returns 0. I know it is something to do with permissions, as asp is running under the restricted IUSR account. I'm sure I can do something simple to make this work and I'm not terribly concerned about security at this stage.
Please help me out.
Thanks for your time,