Archived

This topic is now archived and is closed to further replies.

ChaoticCanuck

Externally aquiring pointers to DirectX devices?

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites