T
TheSebaster
I register to a com event under a win32 C# application.
Here is the code I wrote:
InstrumentUX.StorageControl pStorageControl = null;
pStorageControl =
(InstrumentUX.StorageControl)_objIControlUX.StorageControl;
pStorageControl.SaveDataRequest += new
InstrumentUX.IStorageControlEvents_SaveDataRequestEventHandler(pIStorageControlEvents_Event_SaveDataRequest);
This code works correctly under a win32 C# application but
when I run it under a .NET compack framework c# application, visual studio
crashes when the com event is fired with
the following message: "Microsoft Visual Studio Encontered a problem and
need to close".
There is no message in event viewer.
Does anyone could help me??
Thank you
TheSebaster
Here is the code I wrote:
InstrumentUX.StorageControl pStorageControl = null;
pStorageControl =
(InstrumentUX.StorageControl)_objIControlUX.StorageControl;
pStorageControl.SaveDataRequest += new
InstrumentUX.IStorageControlEvents_SaveDataRequestEventHandler(pIStorageControlEvents_Event_SaveDataRequest);
This code works correctly under a win32 C# application but
when I run it under a .NET compack framework c# application, visual studio
crashes when the com event is fired with
the following message: "Microsoft Visual Studio Encontered a problem and
need to close".
There is no message in event viewer.
Does anyone could help me??
Thank you
TheSebaster