Jump to content
  • Advertisement

Archived

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

ChaoticCanuck

Externally aquiring pointers to DirectX devices?

This topic is 5440 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!