Externally aquiring pointers to DirectX devices?

Started by
1 comment, last by ChaoticCanuck 20 years, 9 months ago
Is there a way to externally enumerate allocated COM objects so that I can get the pointers to any initialized data. I want to write a function that will query directx and release all DirectX stuff on certain serious error conditions that call for my program to exit abnormally.
Advertisement
I don''t know if there is, but I guess you can make one?

.lick
quote:Original post by ChaoticCanuck
Is there a way to externally enumerate allocated COM objects so that I can get the pointers to any initialized data.

I want to write a function that will query directx and release all DirectX stuff on certain serious error conditions that call for my program to exit abnormally.



If you''re talking about making another app that frees those pointers:

1) Those object instances, data etc will exist in a different process address space to to your killer app.

2) I don''t think it would be possible without using techniques such as DLL injection to put the killer in the same address space (or hook DirectX).

3) DDHELP does that job for you anyway.

--
Simon O''Connor
ex -Creative Asylum
Programmer &
Microsoft MVP

Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

This topic is closed to new replies.

Advertisement