Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

WD22 has corrupted my app

$
0
0
Do not know what has happened to my app

Started when I set up an ArraySeek() and no matter whether I sought a value I new to be valid or not the result always returned 1
Drank lots of coffee and played around for an hour or more - I could see in the debugger that the value I was seeking was in the array bu still the result was 1

I recompiled, deleted the .env and .cpl files, closed an reopened WD and even rebooted my laptop - no change still returned 1 in all cases.

So last chance thought I and took the 'Repare the project' option

WTF - WD has no completely screwed me by corrupting my code - I now have over 500 compilation errors - by randomly inserting/overwriting numeric strings.
By example my class method for connecting to the database is now named PROCEDUREv0000000200000002_DBConnect() and the Connection 'Access' element has changed to ConnectionHFCSv0000000800000002Access = hOReadWrite
All other code in the method is untouched

Same sort of corruption has occurred randomly all over the place

So 3 questions....
1. Any idea what can cause ArraySeek() to always return 1
2. What could possibly have caused the corruption
3. Do I try to fix or is it better to start again

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>