debug with sysinternals debugview

Blitz3D Forums/Blitz3D Userlibs/debug with sysinternals debugview

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Global hWnd=Systemproperty("ApphWnd")

graphics3d 800,600,0,2
apptitle" Dbgview Sample"


while not keyhit(1)
   if mousehit(1)
      api_OutputDebugString("left mousebutton hit")
      
   elseif mousehit(2)
       api_OutputDebugString("right mousebutton hit")
       
   elseif mousehit(3)
       api_OutputDebugString("middle mousebutton hit")
       
    elseif keyhit(57)
       api_OutputDebugString("hwnd=" +hwnd)
       
   endif
   text(10,10,".) start Dbgview.exe once")
   text(10,25,".) press left, right or middle mousebutton")
   text(10,40,".) press space for hwnd")
   flip
wend
end 


.lib "kernel32.dll"

api_OutputDebugString (lpOutputString$) : "OutputDebugStringA"


DebugView

DebugView_Sample

cheers chi