Search found 26 matches
- Thu Jun 21, 2007 3:38 pm
- Forum: Bug Reports (mmw)
- Topic: COM server won't let go of reference
- Replies: 9
- Views: 3605
The longer I try to make sense of it the less sense it makes. If I create a new app, create a reference to MM and set the reference to null when I shutdown, I get this COM warning. If I add a button to the form, the COM warning goes away. If I reference any embedded resource, I get the COM warning. ...
- Thu Jun 21, 2007 10:29 am
- Forum: MediaMonkey 4 Addons developer forum
- Topic: Getting active SDBApplication COM object
- Replies: 16
- Views: 6947
@jimbo11883: Whatever you do/find with regard to this matter, PLEASE continue to report on it here. The MM+.NET knowledge here is thin. Aside from you, there's me, Steegy, and 1 or 2 other forum users who post about these issues. And some issues are still as of yet unsolved. If you figure out how to...
- Thu Jun 21, 2007 10:21 am
- Forum: Bug Reports (mmw)
- Topic: COM server won't let go of reference
- Replies: 9
- Views: 3605
- Thu Jun 21, 2007 7:49 am
- Forum: Bug Reports (mmw)
- Topic: COM server won't let go of reference
- Replies: 9
- Views: 3605
COM server won't let go of reference
In scripting, when doing this to get a reference to: MediaMonkey SongsDB.SDBApplicationClass SDB = new SongsDB.SDBApplicationClass(); you can never undo it. Regardless of which application is shut down first, MediaMonkey throws a COM Server Warning. There's no way to detach, even after the calling a...
- Thu Jun 21, 2007 7:44 am
- Forum: MediaMonkey 4 Addons developer forum
- Topic: Getting active SDBApplication COM object
- Replies: 16
- Views: 6947
I don't know how to do this with GetObject but it can be done with CreateObject: external scripts and applications Right now I'm working on a .NET project very similar to yours. If you can figure out how to use a reference to MediaMonkey and not get a COM server warning when everything is shut down,...
- Thu Jun 21, 2007 7:33 am
- Forum: Need Help with Addons?
- Topic: Events in .NET winforms: more of what works and what doesn't
- Replies: 9
- Views: 4943
- Wed Jun 20, 2007 6:45 pm
- Forum: Need Help with Addons?
- Topic: Events in .NET winforms: more of what works and what doesn't
- Replies: 9
- Views: 4943
- Wed Jun 20, 2007 4:36 pm
- Forum: Need Help with Addons?
- Topic: Events in .NET winforms: more of what works and what doesn't
- Replies: 9
- Views: 4943
And whack-a-mole continues... Now I can do my own version of events, I can call SDBApplicationClass() from my app, and (now thanks to Steegy's Process.Kill() suggestion) I also close it without getting the COM server warning dialog. However, now MediaMonkey cannot perform its own correct shutdown. T...
- Tue Jun 19, 2007 4:32 pm
- Forum: Need Help with Addons?
- Topic: ExternalTools v1.4 [MM2+3+4]
- Replies: 118
- Views: 216222
In what language is this written? Would you be willing to make the source project available for download? As far as I can tell you are a C# dev'er and not too shabby of one at that. I'd love to look at your code and see how to interface with MM without going out of my skull. [see 'whack-a-mole' comm...
- Tue Jun 19, 2007 4:21 pm
- Forum: Need Help with Addons?
- Topic: Events in .NET winforms: more of what works and what doesn't
- Replies: 9
- Views: 4943
Thanks for the C# code but I'm not sure how it helps solve the original problem: MM's VBScript still doesn't have a window handle through which it can send event notifications. I've actually built everything without events now. However, if at any point in C# you call new SDBApplicationClass(); then ...
- Mon Jun 18, 2007 4:40 pm
- Forum: Need Help with Addons?
- Topic: Events in .NET winforms: more of what works and what doesn't
- Replies: 9
- Views: 4943
Great idea. Unfortunately, when I tried this scriptI got this error
Code: Select all
Sub OnStartup
Dim hWnd
hWnd = FindWindow("Untitled - Notepad", vbNullString)
End Sub
Code: Select all
Error #13 - Microsoft.VBScript runtime error
Type mismatch: 'FindWindow'
File: "C:\PROGRA~1\MEDIAM~1\Scripts\Auto\test.vbs", Line: 3, Column:2
- Fri Jun 15, 2007 7:14 am
- Forum: Need Help with Addons?
- Topic: Events in .NET winforms: more of what works and what doesn't
- Replies: 9
- Views: 4943
Events in .NET winforms: more of what works and what doesn't
Here are some more attempts at getting a .net winform to receive mm events: WHAT DIDN'T WORK try 1 auto launch script to launch winform and subscribe to events. delegate events to a method in the app problem GetObject doesn't seem to get the currently running version of the winform. error is thrown....
- Wed Jun 13, 2007 6:49 pm
- Forum: Bug Reports (mmw)
- Topic: removing mediamonkey debug
- Replies: 1
- Views: 1610
removing mediamonkey debug
It wouldn't be a bad idea to warn people that when you installl MediaMonkey, install Debug MediaMonkey, then uninstall Debug MediaMonkey, that it also uninstalls MediaMonkey
- Wed Jun 13, 2007 6:14 pm
- Forum: Need Help with Addons?
- Topic: any .NET developers here?
- Replies: 18
- Views: 6234
Ouch! I spent some time looking through this forum via google (thank you microsoft for making sure ".net" and "c#" are impossible for any but the most advanced search engines to distinguish.) You've posted a depressing number of posts about all of the problems I've had. You also seem to have tried e...
- Wed Jun 13, 2007 7:27 am
- Forum: Need Help with Addons?
- Topic: any .NET developers here?
- Replies: 18
- Views: 6234
any .NET developers here?
Does anyone here code in .NET? I'm coming across some weirdness in C# and don't know if I'm finding bugs or if it's due to a deficiency in my coding. In particular, when you're calling "new SDBApplicationClass()", is there anything special you need to do with interop or should it work as is ("as is"...