Search found 3 matches

by Darky
Sun Oct 24, 2010 1:21 am
Forum: Coding Questions
Topic: Directx 9 draw text problem
Replies: 0
Views: 1052

Directx 9 draw text problem

It's my first time working with Directx...but it seems i can't draw text on the window.
Hum i have no idea whats wrong...


; ------------------------------------------------------------------------------------------------------
; Tutorial 2 - Rendering Vertices ...
by Darky
Wed Aug 18, 2010 9:46 pm
Forum: Tricks 'n' Tips
Topic: Darky - PureBasic API Hooking Library
Replies: 6
Views: 5064

Re: Darky - PureBasic API Hooking Library

This only works for the Ascii calls, not the Unicode "W" calls.
Unicode calls work fine for me.
Thirdly, it's a good thing it doesn't work on other processes etc. Because in the example you forgot to restore the original.
I do restore the original bytes by using the Fast_UnHook or the UnHook ...
by Darky
Wed Aug 18, 2010 3:29 am
Forum: Tricks 'n' Tips
Topic: Darky - PureBasic API Hooking Library
Replies: 6
Views: 5064

Darky - PureBasic API Hooking Library

detour_lib.pbi
Structure Hook_Data
OriBytes.b[6]
NewBytes.b[6]
ProcAddr.l
EndStructure

#CURRENT_LIB_VERSION = "1.0"
#CURRENT_LIB_NAME = "Darky - PureBasic API Hooking Library"

Global Dim Hooks.Hook_Data(0)
Global bFirstTime.b = #True

Procedure.i Setup_Hook(Libname.s, FuncName.s, RedFunAddr.l ...