MaXMhZ wrote:Something weird...
I just tried again under WinMe to monitor memory - and now I get the same error
Error: Main->Load
There are also some files in my WinMe version that are not in the INI dir under my WinXP version (still working OK)
FirstStart.ini, OneTimeUpdate.ini, RuleSetRebuild.ini (All size 0).
Deleting those didn't help either...
I also noticed a difference in character caps for the directories and files...
Left side is WinMe, right side is WinXP
I'm at a loss here...
May be a good idea to give some more error info (where did it occur in the program etc) in the error message...
The caps from one OS to the other make no difference, as you can see it works in XP. The code does not care about caps on the path.
FirstStart.ini, OneTimeUpdate.ini, RuleSetRebuild.ini all get erased the first time the program starts properly. That is why the XP one does not have them. If you erased them manually you will get the same error you have been getting. I already tried that as well.
The message indicates that the error occurs in the Form Load routine for the main form. That is actually a routine in VB so I know where. When the form is loading, it loads all other forms as well... and I can bet it is the additional resources from the Ground Objects Editor that are causing the problem. If that is the sole reason... I may not have a solution. But I am still trying.
I have tried changing the OS virtual memory settings, and I have tried compiling using different optimization methods, and no optimization at all, even in P-Code (relying on DLLs), but the results in the WinMe machines are the same.
I have something else I'll try... this is causing lots of grief... For the record, this is not an evil plot to get people to upgrade to XP. I do not work for MS.
AAAAAAAAHHHHHHHH!!!!!!!!
D/UD