| View previous topic :: View next topic |
| Author |
Message |
yoyonerd Grandmaster Cheater
Reputation: 0
Joined: 26 Apr 2008 Posts: 699 Location: -->formerly yoyonerd<--
|
Posted: Wed Oct 29, 2008 11:29 pm Post subject: [C#] How does DxWnd Work? |
|
|
Ehh, bottom line, I want to recreate DxWnd using C#.
I have no clue how it works, how it could work, or any plans whatsoever, SO, im just asking for maybe the concept of how it works, or even better a snipper and an explanation of the snippet.
ty.
_________________
|
|
| Back to top |
|
 |
Stylo Grandmaster Cheater Supreme
Reputation: 3
Joined: 16 May 2007 Posts: 1073 Location: Israel
|
Posted: Wed Oct 29, 2008 11:45 pm Post subject: |
|
|
google for dxwnd source and first option will give you the source
made in C++
_________________
Stylo |
|
| Back to top |
|
 |
yoyonerd Grandmaster Cheater
Reputation: 0
Joined: 26 Apr 2008 Posts: 699 Location: -->formerly yoyonerd<--
|
Posted: Wed Oct 29, 2008 11:52 pm Post subject: |
|
|
im stupid, i've been searching using dxwnd source code
i hope i can figure it out o.o
_________________
|
|
| Back to top |
|
 |
Anden100 Grandmaster Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Sat Nov 01, 2008 9:38 pm Post subject: |
|
|
doubt you could make this in C# unless you recreate a few Hooking functions in C#
_________________
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Sun Nov 02, 2008 8:55 am Post subject: |
|
|
You could make the general wrapper/injector (see GP+ for an example in C# on how to write an injector), but you wouldn't be able to write the DLL without a lot of trouble.
If you still want it in only C#, though, Google around: some guy who made poker bots posted on his blog about injecting managed dlls into native apps.
Edit:
If you don't mind writing the injectee in C++, check out Wiccaan's post in GP+ about his DirectX wrapper. That's virtually what DxWnd does.
_________________
|
|
| Back to top |
|
 |
Wintermoot Expert Cheater
Reputation: 0
Joined: 08 Nov 2007 Posts: 198
|
Posted: Tue Nov 11, 2008 7:20 pm Post subject: |
|
|
| AFAIK, DXWnd hooks CreateWindow and all that and simple changes it to window mode...
|
|
| Back to top |
|
 |
tombana Master Cheater
Reputation: 2
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
|
Posted: Wed Nov 12, 2008 11:57 am Post subject: |
|
|
| That's not correct. It doesn't matter how you call CreateWindow. DirectX will just change it to fullscreen depending on what you tell directx. What you need to hook is CreateDevice (for D3D) or SetDisplayMode (for DirectDraw (only used in old games)).
|
|
| Back to top |
|
 |
|