Results 1 to 17 of 17

Thread: [VB6] SendMessage - 64 bit compatible.

Threaded View

  1. #15
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,541

    Re: [VB6] SendMessage - 64 bit compatible.

    Quote Originally Posted by fafalone View Post
    Well you'd need something far different from win32api.tlb for cross bitness work like this. The trick isn't simply calling user32.SendMessage here, he's reverse engineered it back to the undocumented native API calls plus a lot of other supporting work. There's no simple declares possible; every API it's possible to call this way would require tons of difficult reverse engineering work to discover them.

    If you use a tB proxy process for x64 work, you could use the normal APIs just with appropriate LongPtr and pointer size adjustments... And 99%+ of the Windows API you'd use can be made available just by checking a box for my Windows Development Library package, which supports both 32 and 64bit.

    Also you can't just treat the tray like a tree view.
    In the new version of the operating system, many controls in win11 have become WPF, and there is no way to get all the icons with Win32 API.I just tried it, and if the hidden icon that the mouse moved is clicked again, it will list some icons. In fact, this is for the blind. If you press the shortcut key or use the cursor up, down, left and right keys, it can switch to the next element. In fact, these methods cannot be implemented with the API at all

    For example, it used to be very complicated to get the URL in the task bar of Google Chrome, but it can also be obtained with this technology.
    https://www.vbforums.com/showthread....port-Container
    Can you try this latest source code, although not a few lines, right? But it took me nearly eight years.
    I used to use it like safe subclassing.
    If I unload the event for him in a custom space. I want to clean up this subclassed object. Vb6 form designer mode but often not triggered.
    If I place a breakpoint there, it will trigger, otherwise it will be forced to uninstall directly.
    But the security class, it can be implemented in the internal assembly, ah, to perform the unloading event.Thank you for your great efforts. How long have you been here? It's estimated that you have spent five or ten years.

    There is also a safe multithreading in the IDE.I use the method of copying the number of modules.
    Copy vb6 header memory information. If a project has three forms and two classes, there are five objects in total. 20 bytes need to be copied.

    But I failed to create a new window in VB6 IDE multithreading.
    This is already very good. Some Duoqingcheng can do a one-time run in the VB6 IDE.
    But I want to prevent accidentally clicking the pause button at any time. This will cause the collapse of idE.Even doing a debug. Print in multiple threads or sending some text message to my addin plugin will crash.
    I compile it into ah, and it is no problem for the application to run.
    Last edited by xiaoyao; Jan 27th, 2025 at 01:00 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width