**Note: If you can translate Delphi 7 code into VB6 code, this should be very easy for you! Skip to the bottom for details.**
I'm a VB6 programmer who is working on an application for a client. The application is now completed save one function that I can not do on my own, this is where you come in. What I need is the VB6 source code, not an exe.
The sub should take no parameters.
It searches the memory space of a specified program from address (hex) 00D00000 to address 02000000 for a Single type Floating-Point value (not double) between (and including) 0 and 365.
It should pop up a message box with "X results found, press OK to continue". The user will do an action with the application which causes the value to change, then press OK, and the sub will search the previously found values a second time, for the same range of values, between and including 0 and 365 (single type floating-point) This will narrow the results down.
This will continue until 2 results are found. We want the first result.
When the result is found, the sub will store the hex address in a label, so the final line should look something like, for example:
[url removed, login to view] = &H1DB8E18 (where &H1DB8E18 is the actual result)
You can make a sub, a module, a class module, or whatever you want, so long as I can adapt it to my program it's fine.
To make this as easy as I can, I found an open source Delphi application that can do this, it's called Cheat Engine.
I have attached the source along with the working exe.
(also available at [url removed, login to view])
If you can translate the Delphi into VB6 instead of writing this from scratch, that's perfectly fine. The creator has allowed this so long as credit is given, which isn't a problem.
I think this should not take very long for an experienced VB programmer, especially if they can translate from Delphi, so I put the maximum bid relatively low. If this is a problem, just let me know. Thanks!