String space format error (OpenInsight Specific)
At 11 DEC 1997 08:31:12AM Andrew Gebbett wrote:
What exactly is a string space format error (in Oengine.exe)?
I keep getting it after calling functions in a particular DLL. This DLL (WINTAB.DLL) is an API used to interface software with digitising tablets. The code is OK with one type of digitiser, but another digitiser used at a client site gives these errors. This digitiser is produced by another manufacturer and hence uses a different WINTAB.DLL, so that is almost certainly the root of the problem. My main problem is that I cannot tie the error to an individual line of code since it happens and totally random intervals.
Any help much appreciated!
Regards,
Andrew Gebbett
CSSP UK
At 11 DEC 1997 09:05AM Gene Gleyzer Revelation wrote:
Andrew,
it looks like you are getting a pointer to a Basic+ variable using GetPointer() and passing this pointer to a DLL that writes something down by this pointer ignoring the size of the variable and overwriting some information that is used by the OpenEngine's memory manager to control memory allocation. Next time the corrupted block comes in use (which is quite unpredictable) the memory managment system sees the corruption and reports the "string space format error"
Gene
GHene
—————————–28852738925853–
At 12 DEC 1997 07:47AM Andrew Gebbett wrote:
Gene,
Many thanks for the reply. Yes I do use GetPointer so I think you've hit the proverbial nail on the head!. At least I know what area to look in now!
Regards,
Andrew Gebbett
CSSP UK