What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] MediaMonkey scripting ActiveXObject...

Pages: (2): « First « 1 [ 2 ] Last »
[?] MediaMonkey scripting ActiveXObject...
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [?] MediaMonkey scripting ActiveXObject...
quote:
Originally posted by whiz
Edit: always prints "Could not find ProcAddress for DLLRegisterServer".  Tried with DLL names and full paths.
I don't have anything to test on at the moment however I am not sure if the function name is case sensitive. If it is then it should be DllRegisterServer not DLLRegisterServer.
07-26-2011 02:07 PM
Profile E-Mail PM Find Quote Report
whiz
Senior Member
****


Posts: 568
Reputation: 8
– / – / Flag
Joined: Nov 2008
O.P. RE: [?] MediaMonkey scripting ActiveXObject...
Doesn't appear to be case-sensitive, changing it doesn't seem to have any effect...

Looking at MSDN, it says lpProcName can take an ordinal value.  Don't know the exact effects of this, but it shows that the DLL can be accessed for some actions.

For example, using jscript.dll, the following debug outputs are received:
0: Could not find ProcAddress for DLLRegisterServer
1: The operation completed successfully.
2: <crashes Messenger>
3: The operation completed successfully.
4: Invalid window handle.
5+: Could not find ProcAddress for DLLRegisterServer
07-26-2011 04:39 PM
Profile E-Mail PM Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: [?] MediaMonkey scripting ActiveXObject...
lcProcName is an ANSI string (LPCSTR instead of LPCTSTR) so you need to somehow convert your unicode 'DllRegisterServer' string to ANSI first.

This post was edited on 07-26-2011 at 04:52 PM by Mnjul.
07-26-2011 04:52 PM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [?] MediaMonkey scripting ActiveXObject...
quote:
Originally posted by Mnjul
lcProcName is an ANSI string (LPCSTR instead of LPCTSTR) so you need to somehow convert your unicode 'DllRegisterServer' string to ANSI first.
Couldn't you write the string to a DataBloc and then use ReadString(0, false) to read it as ANSI?
07-26-2011 05:08 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On