Click here to Skip to main content
15,915,702 members
Home / Discussions / C#
   

C#

 
GeneralRe: Adding Registry Values Not Working Pin
Anonymous6-Apr-05 20:14
Anonymous6-Apr-05 20:14 
QuestionHow to realize the Font Bar??? Pin
welsrping6-Apr-05 15:06
welsrping6-Apr-05 15:06 
AnswerRe: How to realize the Font Bar??? Pin
Ashok Dhamija6-Apr-05 18:23
Ashok Dhamija6-Apr-05 18:23 
GeneralNeed radiobuttons in datagrid - always visible Pin
ddelapasse6-Apr-05 14:41
ddelapasse6-Apr-05 14:41 
GeneralRe: Need radiobuttons in datagrid - always visible Pin
Kodanda Pani6-Apr-05 19:24
Kodanda Pani6-Apr-05 19:24 
GeneralRe: Need radiobuttons in datagrid - always visible Pin
ddelapasse7-Apr-05 3:45
ddelapasse7-Apr-05 3:45 
GeneralDataSet - column length Pin
mikker_1236-Apr-05 12:30
mikker_1236-Apr-05 12:30 
GeneralRemoted C# Windows Media Player Pin
dkarlton6-Apr-05 11:52
dkarlton6-Apr-05 11:52 
I've been working hard trying to get a remoted version of the Windows MediaPlayer to work with C#. I've seen some references to other projects that have succeeded in part:

http://blogs.msdn.com/ericgu/archive/2004/09/01/224147.aspx

I've tried using the project referenced there, and it sort of almost works. I get strange assertion errors at startup and at shutdown. Also, if I then deploy my application along with the remote player libraries onto another machine, it won't run at all. I have to actually install VS C++ *and* build on the target machine for it to work. It seems as if this project is set up more for WMP 9 than 10.

The assertion I've seen at startup says:

ATLASSERT(!InlineIsEqualGUID(*m_plibid,GUID_NULL) && "Did you forget to pass the LIBID to CComModule::Init?");

I've seen the following reference to this general problem, which has to do with ATL incompatibilities:

http://userpages.umbc.edu/~bcorfm1/wtl.html

So, although I can modify the VS C++ project to link dynamically to the ATL library, I still have the problem that I can't deploy my application on other machines (it just crashes, and complains about the wmppia.dll file and/or throws the same assertions). Even after changing the ATL linking, I get an assertion when I close my application. It says "Debug Assertion Failed! File: wincore.cpp, Line: 1002."

I'm definitely a C++ novice, so I don't really know how to create a true interop solution for my C# project, so that I can have the full remoted Windows MediaPlayer object. We actually want to use it in docked mode constantly, so that the full Windows MediaPlayer application is not running visibly.

I've also seen this reference:

http://blogs.msdn.com/ericgu/archive/2004/08/13/214434.aspx


So, I know that there are people out there who have succeeded in getting this to work, apparently in something as simple as 100 lines of C++ code in a header file.

Any pointers?

dk
GeneralXSD Viewer Pin
Aaron Schaefer6-Apr-05 11:25
Aaron Schaefer6-Apr-05 11:25 
GeneralC# Resize a control question Pin
elapid6-Apr-05 10:39
elapid6-Apr-05 10:39 
GeneralRe: C# Resize a control question Pin
Christian Graus6-Apr-05 18:57
protectorChristian Graus6-Apr-05 18:57 
GeneralHiding a DataColumn in a DataGrid Pin
obelisk296-Apr-05 10:38
obelisk296-Apr-05 10:38 
GeneralRe: Hiding a DataColumn in a DataGrid Pin
Kodanda Pani6-Apr-05 17:06
Kodanda Pani6-Apr-05 17:06 
GeneralRe: Hiding a DataColumn in a DataGrid Pin
Luis Alonso Ramos6-Apr-05 17:15
Luis Alonso Ramos6-Apr-05 17:15 
GeneralCreating a dynamic Windows Service... Pin
jabaron136-Apr-05 9:42
jabaron136-Apr-05 9:42 
Generalproblems with Overlapped IO WriteFile() Pin
Member 16244276-Apr-05 9:18
Member 16244276-Apr-05 9:18 
GeneralCreating and running DTS Packages in C# Pin
JMichael24686-Apr-05 6:22
JMichael24686-Apr-05 6:22 
GeneralRe: Creating and running DTS Packages in C# Pin
Jon Sagara6-Apr-05 9:33
Jon Sagara6-Apr-05 9:33 
GeneralRe: Creating and running DTS Packages in C# Pin
J4amieC6-Apr-05 11:09
J4amieC6-Apr-05 11:09 
GeneralRe: Creating and running DTS Packages in C# Pin
JMichael24684-Aug-05 6:16
JMichael24684-Aug-05 6:16 
GeneralProblem with Invoke Pin
Snowjim6-Apr-05 6:13
Snowjim6-Apr-05 6:13 
GeneralRe: Problem with Invoke Pin
afinnell7-Apr-05 6:35
afinnell7-Apr-05 6:35 
GeneralMaking an app color space aware Pin
ehcseapine6-Apr-05 5:50
ehcseapine6-Apr-05 5:50 
QuestionHow to dial a computer? Pin
yateee6-Apr-05 5:47
yateee6-Apr-05 5:47 
GeneralEvent problem Pin
_eulogy_6-Apr-05 5:44
_eulogy_6-Apr-05 5:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.