Alaska Software Inc. - Dump Xbps
Username: Password:
AuthorTopic: Dump Xbps
Adrian WykrotaDump Xbps
on Mon, 28 Mar 2022 12:47:57 +0200
How to take a snapshot of all Xbp objects like memwatch.dll does.

Best Regards
Adrian Wykrota
Pavelas Pisarevskis Re: Dump Xbps
on Mon, 04 Apr 2022 16:03:50 +0300
On Mon, 28 Mar 2022 12:47:57 +0200, Adrian Wykrota wrote:

> How to take a snapshot of all Xbp objects like memwatch.dll does.
> 
> Best Regards
> Adrian Wykrota

Hi!
   Pices of code whitch used memwatch.dll functionality.   
   You can try this:
   
   nH := DllLoad( "memwatch.dll",, .t. )
   oMW := DllCall( nH, ,"XbpMemwatch" )

   oDlg := oMW:new():create():hide()


   oDlg:DUMPXBPS()
   oDlg:aXBPList  <- array should hold all xbp's 
                  { name, thread, state, hwnd }
   
   .........
   oDlg:destroy()
   
   
   BR