I
idoublepress
Hi all,
I've been struggling with an issue that I hope you can comment on or
provide suggestions to. Our .NET 2.0 (VS2005) based product is
crashing (when the user selects a particular feature on the UI) on
Vista. It works fine on XP. In a nutshell:
- user makes a selection on the UI
- System.Reflection.MethodInfo.Invoke() calls into one of our .NET
library dlls
- Inside the library dll, System.Activator.CreateInstance() is called
to create a particular .NET class object
- Inside the constructor of the .NET class object, a Thread is created
and started
- Inside the ThreadStart method, a COM object (created in VS2003 using
C++/ATL) is created
- Inside the FinalConstruct() of the COM object, Create() is called to
create a Window (in ATLWIN.h, Win32's CreateWindowEx() is eventually
called)
- CreateWindowEx() crashes with an access violation (0xc0000005)
Again, happens only on Vista....and happens every time. XP works
fine.
I'd really appreciate your help here. Thanks!
I've been struggling with an issue that I hope you can comment on or
provide suggestions to. Our .NET 2.0 (VS2005) based product is
crashing (when the user selects a particular feature on the UI) on
Vista. It works fine on XP. In a nutshell:
- user makes a selection on the UI
- System.Reflection.MethodInfo.Invoke() calls into one of our .NET
library dlls
- Inside the library dll, System.Activator.CreateInstance() is called
to create a particular .NET class object
- Inside the constructor of the .NET class object, a Thread is created
and started
- Inside the ThreadStart method, a COM object (created in VS2003 using
C++/ATL) is created
- Inside the FinalConstruct() of the COM object, Create() is called to
create a Window (in ATLWIN.h, Win32's CreateWindowEx() is eventually
called)
- CreateWindowEx() crashes with an access violation (0xc0000005)
Again, happens only on Vista....and happens every time. XP works
fine.
I'd really appreciate your help here. Thanks!