visual studio crashes when com event is fired



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


.



Relevant Pages

  • visual studio crashes when com event is fired
    ... I register to a com event under a win32 C# application. ... InstrumentUX.StorageControl pStorageControl = null; ... when I run it under a .NET compack framework c# application, visual studio ...
    (microsoft.public.dotnet.framework.interop)
  • visual studio crashes when com event is fired
    ... I register to a com event under a win32 C# application. ... InstrumentUX.StorageControl pStorageControl = null; ... when I run it under a .NET compack framework c# application, visual studio ...
    (microsoft.public.dotnet.languages.csharp)
  • Need to purchase AES code for Windows - Problem Solved
    ... none of which have passed the Monte Carlo output tests when compiled ... I really need some working source code plus visual studio project files. ... files that have been proven to pass the Monte Carlo tests in Win32 ...
    (sci.crypt)
  • Re: question about Delphi and Visual Studio .NET
    ... does VS .NET have an equivalent of the Delphi property 'tag'... ... You're asking about what's provided by the component libraries. ... In the Win32 version, its type is Integer. ... So which component library are you using in Visual Studio? ...
    (comp.lang.pascal.delphi.misc)
  • Dead simple? Setting the caption of a static text label without MFC
    ... trying to do something ridiculously simple in a Win32 C++ ... any way I get the window handle of those labels using their ... how do I set the caption's of these static text boxes? ... that would help me along (with Visual Studio .NET would be a plus)? ...
    (microsoft.public.win32.programmer.ui)

Loading