Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > reading another program's memory

Thread Tools Display Modes
Old 10-31-2002, 09:20 AM
Posts: n/a
Default reading another program's memory

Ok here's the deal. I work for a company where we need to gather information from one program and bring it into our own program. The programs that I am trying to capture data from are terminal emulations (reflections, rumba...) Currently we are trying to do this with the clipboard but it is very slow and cumbersom. The other issue is that not all emulators allow access to the clipboard.
What I would like to be able to do is to read the emulation screen directly from memory. I know that the emulation programs store the screen at the same offset from the begining of the program. What I need is to be able to find the begining of a another program in memory and then read memory locations from that offset. I would like to be able to do this in VB6 if possible.

As I see it i have 3 options:

1) find the program and read the memory
2) load the program within my programs memory and read the memory
3) Write a C based DLL to do the memory reads and use the data in VB

My problem is i really don't know how to do any of these. So if anyone has any suggestions that would be great.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..