Strange Seeks/Memory Corruption in VB4 16Bit 
Author Message
 Strange Seeks/Memory Corruption in VB4 16Bit


I am using VB4 16 bit under win 3.11 and encountering strange problem
while seeking a compound key in tables. I have 2 access databases and
opening then in the form_load event along with all the tables. The
problem is coming very randomly (yet there is a pattern - it occures
every 10 time). I am trying to find a specify record in a table which
has a index on a compound key. For this I have written a function which
accepts all the component of the key and seeks the record and send back
the value.  I am using DAO for Access 2.0 database.

The interesting thing is the program works for some time and value of
one of the key which (String) get changed. I have doubly checked the
code and testing my self in debug mode.I found out that the value of
variable changes in a function where there is no referance to it. It is
very strange behaviour which not happening in VB4. 32 bit.

Does anyone encountered same kind of problem where memory variable's
values gets changes while running the program even though there is no
code which changes the value? I suspect the memory is getting corrupted
or there is some bug.

If someone can help me, I will be very thankful to him.

Thanks in Advance.


Mon, 30 Aug 1999 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Strange Seeks/Memory Corruption in VB4 16Bit

2. Win 3.11, VB4 16Bit and an out of memory error

3. out of memory with VB4.0 16bit exe

4. Out of memory compiling big VB4 16bit App

5. VB4 - 16BIT Sheridan Calendar Widgets (16bit OCX)

6. 16bit SourceSafe problems w/VB4.0-16bit - too many file handles open

7. VB3 16bit to VB4 16bit

8. Strange Corruption within Visual Basic

9. VB4-16bit or VB4-32 bit Floating Thin Toolbar

10. Seeking 16bit DAO C/C++ Interface

11. Upgrade Problems: VB4.0/16Bit to VB4.0/32Bit

12. VB4 16bit Vs. VB4 32bit???


Powered by phpBB® Forum Software