Jump to content
Xtreme .Net Talk

Recommended Posts

  • *Experts*
Posted

Not that I know of. Why would you want to use a handle? The only reason I can think of to NOT use a window handle is because you're trying to use another process's window handle?

 

-Ner

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
  • *Experts*
Posted

Capturing on another process's handle? I don't think so, but I don't know that much about it.

 

Why in the world would you want to create your own window through the API? If you need to capture windows messages or whatnot, you could always override the WndProc in your form.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted
I'm trying to get DXSpy to work with the samples in the SDK. I thought I need to register the window but that still doesn't work. Any ideas on why DXSpy doesn't work?
  • *Experts*
Posted

According to the docs, DXSpy only supports DX7 and DX8. I haven't tried it, but it sounds like it won't work with DX9. Since the doc was very vague about what it does, it's hard to say how it's intercepting calls. How does it say you "attach" it to a window? Does it intercept ALL calls to all windows using DirectX, or are you supposed to point it at a window like with the normal Spy tool?

 

-Ner

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
  • *Experts*
Posted

Well I didn't look at it in detail, but I don't see where you'd need a window handle anywhere? it appears to intercept at the EXE level (?) somehow. You have to replace your d3d9.dll with the one in the package though...

 

Are you trying to implement code in your app to use D3DSpy? I saw two short samples but neither of them needed a window handle either, that I could see.

 

-Ner

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...