Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How To Use Dr0,..,Dr7 In VB ?

Featured Replies

Posted

Hi Friends

How To Use Register Of Dr0,..,Dr7 In Visual Basic And Set Hardware BreakPoint ?

Thanks

Same as in any other language with SetThreadContext:

Declare Function SetThreadContext Lib "kernel32.dll" _
Alias "SetThreadContext" ( _
ByVal hThread As Long, _
lpContext As CONTEXT) As Long
Public Type CONTEXT86
ContextFlags As Long
Dr0 As Long
Dr1 As Long
Dr2 As Long
Dr3 As Long
Dr6 As Long
Dr7 As Long
FloatSave As FLOATING_SAVE_AREA
SegGs As Long
SegFs As Long
SegEs As Long
SegDs As Long
Edi As Long
Esi As Long
Ebx As Long
Edx As Long
Ecx As Long
Eax As Long
Ebp As Long
Eip As Long
SegCs As Long
EFlags As Long
Esp As Long
SegSs As Long
End Type

But do not use this API on a running thread (e.g. the current), suspend it first. Dependent on VB's way to process exception you could give modifying the CONTEXT pointer in an exception handler a try.

  • Author

May Attach An Example That Used Of Dr0..Dr7 ?

May Attach An Example That Used Of Dr0..Dr7 ?

yes pls if that possible ..... :confused:

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.