G
Guest
Hi,
On closing our App, we get following 'InvalidComObjectException': "COM
object that has been separated from its underlying RCW cannot be used"
The App has been upgraded from .Net1.1 to .Net2.0 a long time ago.
Recently we started using the Application Framework, combined with a Splash
Screen. About that moment we are having this issue.
I thought the problem only existed while debugging, but now ,having a
deployed version, it seems like Windows sometimes reoprts e fatal error on
Exiting our app.
Anyone some tips, because I don't know where to look anymore.
Stack:
[Managed to Native Transition]
0x55 bytes
System.Management.dll!System.Management.ManagementEventWatcher.Finalize()
+ 0x1b bytes
DisAss:
0000003d mov esi,eax
0000003f mov ecx,dword ptr [ebp-24h]
00000042 call 000000D0
00000047 test esi,esi
00000049 jge 0000008F
0000004b mov eax,esi
0000004d sar eax,1Fh
00000050 mov edx,eax
00000052 mov eax,esi
00000054 and eax,0FFFFF000h
00000059 xor edx,edx
0000005b test edx,edx
0000005d jne 0000006F
0000005f cmp eax,80041000h
00000064 jne 0000006F
00000066 mov ecx,esi
00000068 call 000892C0
0000006d jmp 0000008F
0000006f test esi,esi
00000071 jge 0000008F
00000073 mov edx,41Fh
00000078 mov ecx,1
0000007d call 12957360
00000082 mov edx,dword ptr [eax+00000A54h]
00000088 mov ecx,esi
0000008a call 12A7B09B
0000008f mov dword ptr [ebp-1Ch],0
00000096 mov dword ptr [ebp-18h],0FCh
0000009d push 6751C827h
000000a2 jmp 000000A4
000000a4 mov ecx,dword ptr [ebp-24h]
000000a7 call 12957653
000000ac pop eax
000000ad jmp eax
000000af lea esp,[ebp-0Ch]
000000b2 pop ebx
000000b3 pop esi
000000b4 pop edi
000000b5 pop ebp
000000b6 ret
000000b7 mov dword ptr [ebp-18h],0
000000be jmp 000000AF
On closing our App, we get following 'InvalidComObjectException': "COM
object that has been separated from its underlying RCW cannot be used"
The App has been upgraded from .Net1.1 to .Net2.0 a long time ago.
Recently we started using the Application Framework, combined with a Splash
Screen. About that moment we are having this issue.
I thought the problem only existed while debugging, but now ,having a
deployed version, it seems like Windows sometimes reoprts e fatal error on
Exiting our app.
Anyone some tips, because I don't know where to look anymore.
Stack:
[Managed to Native Transition]
System.Management.dll!System.Management.ManagementEventWatcher.Stop() +System.Management.dll!System.Management.SinkForEventQuery.Cancel() + 0x3d bytes
0x55 bytes
System.Management.dll!System.Management.ManagementEventWatcher.Finalize()
+ 0x1b bytes
DisAss:
0000003d mov esi,eax
0000003f mov ecx,dword ptr [ebp-24h]
00000042 call 000000D0
00000047 test esi,esi
00000049 jge 0000008F
0000004b mov eax,esi
0000004d sar eax,1Fh
00000050 mov edx,eax
00000052 mov eax,esi
00000054 and eax,0FFFFF000h
00000059 xor edx,edx
0000005b test edx,edx
0000005d jne 0000006F
0000005f cmp eax,80041000h
00000064 jne 0000006F
00000066 mov ecx,esi
00000068 call 000892C0
0000006d jmp 0000008F
0000006f test esi,esi
00000071 jge 0000008F
00000073 mov edx,41Fh
00000078 mov ecx,1
0000007d call 12957360
00000082 mov edx,dword ptr [eax+00000A54h]
00000088 mov ecx,esi
0000008a call 12A7B09B
0000008f mov dword ptr [ebp-1Ch],0
00000096 mov dword ptr [ebp-18h],0FCh
0000009d push 6751C827h
000000a2 jmp 000000A4
000000a4 mov ecx,dword ptr [ebp-24h]
000000a7 call 12957653
000000ac pop eax
000000ad jmp eax
000000af lea esp,[ebp-0Ch]
000000b2 pop ebx
000000b3 pop esi
000000b4 pop edi
000000b5 pop ebp
000000b6 ret
000000b7 mov dword ptr [ebp-18h],0
000000be jmp 000000AF