Click here to Skip to main content
16,004,901 members
Home / Discussions / C#
   

C#

 
GeneralRe: Changing crystal report connection at runtime Pin
-spy-20-Aug-07 4:46
-spy-20-Aug-07 4:46 
AnswerRe: Changing crystal report connection at runtime Pin
mjmcinto20-Aug-07 3:49
mjmcinto20-Aug-07 3:49 
GeneralRe: Changing crystal report connection at runtime Pin
-spy-20-Aug-07 4:45
-spy-20-Aug-07 4:45 
Questionproblem in xmlserialization for arraylist Pin
cyn820-Aug-07 0:41
cyn820-Aug-07 0:41 
AnswerRe: problem in xmlserialization for arraylist Pin
Hessam Jalali20-Aug-07 2:12
Hessam Jalali20-Aug-07 2:12 
GeneralRe: problem in xmlserialization for arraylist Pin
cyn820-Aug-07 15:09
cyn820-Aug-07 15:09 
GeneralRe: problem in xmlserialization for arraylist Pin
cyn820-Aug-07 16:51
cyn820-Aug-07 16:51 
QuestionLosing COM event handlers in C# [modified] Pin
Vitaly Tomilov20-Aug-07 0:14
Vitaly Tomilov20-Aug-07 0:14 
It's a COM + C#/.NET issue, so published in both, sorry...

************************************************************
I have an in-process COM server in VC++2005, events of which i'm trying to use in C#. After a very short session the following happens:

I can see in debugger of VC++: [Frames below may be incorrect and/or missing, no symbols loaded for rpcrt4.dll] coming from the C# client.

At which point the C# calls Unadvise into my event interface, and i stop receiving events.

In the meantime, the interface continues working in C# properly. The question is: why on earth C# drops the events handler and how to fight this?
************************************************************

P.S. If I track the moment when connection has been unadvised, and try to re-connect again, C# throws: System.Runtime.InteropServices.InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used.
at System.Runtime.InteropServices.ComTypes.IConnectionPoint.Advise(Object pUnkSink, Int32& pdwCookie)




Free C++ libraries with source code on www.neatcpp.com: TWAIN, DirectShow, Interprocess Communications, etc...

AnswerRe: Losing COM event handlers in C# Pin
Vitaly Tomilov20-Aug-07 1:28
Vitaly Tomilov20-Aug-07 1:28 
Questionunable to display MySQL DateTime DataType Values in Crystal Reports using C#.NET 2.0 XML Schema Pin
raju572520-Aug-07 0:08
raju572520-Aug-07 0:08 
QuestionCompatibility question Pin
Muammar©19-Aug-07 23:27
Muammar©19-Aug-07 23:27 
AnswerRe: Compatibility question [modified] Pin
Hessam Jalali19-Aug-07 23:55
Hessam Jalali19-Aug-07 23:55 
AnswerRe: Compatibility question Pin
Christian Graus19-Aug-07 23:57
protectorChristian Graus19-Aug-07 23:57 
AnswerRe: Compatibility question Pin
Mustafa Ismail Mustafa20-Aug-07 3:13
Mustafa Ismail Mustafa20-Aug-07 3:13 
QuestionWhat is the logic for WebService methods ? Pin
MehmetFurkan19-Aug-07 23:07
MehmetFurkan19-Aug-07 23:07 
AnswerRe: What is the logic for WebService methods ? Pin
Talal Sultan19-Aug-07 23:27
Talal Sultan19-Aug-07 23:27 
GeneralRe: What is the logic for WebService methods ? Pin
MehmetFurkan20-Aug-07 0:09
MehmetFurkan20-Aug-07 0:09 
GeneralRe: What is the logic for WebService methods ? Pin
Talal Sultan20-Aug-07 1:38
Talal Sultan20-Aug-07 1:38 
QuestionIs it possible to create an Access database with Pure C# Code Pin
Infernojericho19-Aug-07 23:04
Infernojericho19-Aug-07 23:04 
AnswerRe: Is it possible to create an Access database with Pure C# Code Pin
Christian Graus20-Aug-07 0:01
protectorChristian Graus20-Aug-07 0:01 
GeneralRe: Is it possible to create an Access database with Pure C# Code Pin
Syed Mujtaba Hassan20-Aug-07 2:51
Syed Mujtaba Hassan20-Aug-07 2:51 
AnswerRe: Is it possible to create an Access database with Pure C# Code Pin
Talal Sultan20-Aug-07 0:03
Talal Sultan20-Aug-07 0:03 
GeneralRe: Is it possible to create an Access database with Pure C# Code Pin
Infernojericho20-Aug-07 0:35
Infernojericho20-Aug-07 0:35 
GeneralRe: Is it possible to create an Access database with Pure C# Code Pin
Christian Graus20-Aug-07 0:45
protectorChristian Graus20-Aug-07 0:45 
GeneralRe: Is it possible to create an Access database with Pure C# Code Pin
Talal Sultan20-Aug-07 1:48
Talal Sultan20-Aug-07 1:48 

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.