{{tag>category:"OpenInsight 32-Bit" author:"John Bouley" author:"Oystein Reigem" author:"Richard Bright"}}
[[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]]
==== OI 32 Access Violation (OpenInsight 32-Bit) ====
=== At 16 SEP 2002 04:15:00PM John Bouley wrote: ===
I am trying to "convert" an OI application from 3.7.5 to 4.1 and am having problems with a form.
I can edit the form but as soon as I try to run it causes:
"Oinsight.exe caused an Exception access violation 0xc0000005, address 0x77e9aa5b"
Any ideas?
This runs perfectly in the 16 bit version of OI.
I have tried to resave/compile the form in OI32 but have the same result.
Thanks,
John Bouley
----
=== At 17 SEP 2002 05:34AM Oystein Reigem wrote: ===
John,
Any foreign characters? E.g, accented letters?
- Oystein -
----
=== At 17 SEP 2002 10:04AM John Bouley wrote: ===
Oystein,
No accented letters.
I called up the source in Sysreposwins and noticed the record is corrupted. What is very strange is that I can use the window painter and all of the prompts are there! I checked the same record in the backup I made and it looks good. Therefore, I am re-restoring to see if it fixes the problem.
Will let you know.
Thanks,
----
=== At 17 SEP 2002 10:20AM John Bouley wrote: ===
The restore is complete but the SysReposWins row is still corrupt!
Any ideas as to why this row will not restore correctly??
Also, I noticed that the new editor does not show the value marks like the old editor. Is this by design?
Thanks,
John
----
=== At 17 SEP 2002 10:43AM John Bouley wrote: ===
Oystein,
I found the problem using AREV's editor. It was not possible to see the problem with OI's editor. There was a problem with any EDITBOX on this form where field 45,46,47 contained "low ascii" characters. Once removed I recompiled and the form works!
Strange that it work fine in OI16.
Thanks again,
John Bouley
----
=== At 17 SEP 2002 03:45PM Richard Bright wrote: ===
Yes, well its an interaction of Unicode implimentation and default fonts on your desktop.
----
=== At 20 SEP 2002 06:37AM Oystein Reigem wrote: ===
John,
With "low ascii" - do you mean control characters, i.e., characters below char(32)?
- Oystein -
----
=== At 20 SEP 2002 02:19PM John Bouley wrote: ===
Yes, I think this might have been a "leftover" from when we tried to use "styles". They caused all sorts of problems with OI16 but we thought we had them resolved.
It wasn't to difficult to go through the SysReposWins looking for Editbox controls with characters in those fields. After the changes I redid the Appbackup and all works.
Thanks,
John
----
=== At 23 SEP 2002 03:10AM Oystein Reigem wrote: ===
John,
Does this mean you put in control characters at design time? I.e, edited (pasted) them into the SYSREPOSWINS or SYSREPOSWINEXES rows with System Editor? Instead of setting styles programmatically at runtime?
Sorry for being so curious and bothering you with more questions.
- Oystein -
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=DEB40AA68E9F249E85256C36006F3CF3|View this thread on the Works forum...]]