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.

Using WIN32 APIs

Featured Replies

Posted

Last night I decided to try and see if it was possible to create a messagebox in VB6 without using the built in MsgBox function. I chose to do this because the MsgBox function actually calls rtcMessageBox() located in the MSVBVM DLL. I wanted my application to instead of using this function, use the MessageBox function located in USER32.DLL.

The Link below takes you to my source code on how i did it. It was done by executing some pre-compiled ASM that is executed from VB. In order to see what the ASM is doing, compile the program and debug it using Olly. Then place a BP on CallWindowProcA. Run the application, when it breaks... right click on ESP+4 (PrevProc) and select Follow in Disassembler, put a BP on the PUSHAD statement and Run the app. you can then step through the pre-compiled ASM and see how it works.

It is possible to make a MessageBox without using the VisualBasic VirtualMachine. And much faster.

I understand that you could have just declared MessageBoxW as a function and called it directly through VB, no need for ASM, but this is still relying on the VirtualMachine to call it, every WIN32 Function you call is sent through DLLFunctionCall() which is in the Virtual Machine.

http://www.mediafire.com/?20dn5w3xjja

Edited by Nieylana

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.