 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Andre Scholberg Guest
|
Posted: Fri Jul 04, 2003 2:49 pm Post subject: Re: App misbehaves under Win'98 |
|
|
Hi Finn, I'm back on line.
I have stripped the app of everything except the 1st form, which basically
lets you select a master data file and set up an environment (work, temp
and report directories) based on the name of the data file, then save the
information into an inifile.
This single unit is pure D7 and appears pretty straightforward. Everything
else - application code, database drivers, 3rd party stuff, threads etc
(95% of the application) was removed.
Under Win2K, on a Dell Dimension 300 MHz PII: everything runs smoothly.
No problem at all.
Under Win'98. on a Dell Inspiron 3800 PIII laptop:
1 - the executable always crashes at the line 3 of SaveSettings.
Only Date and Time are saved to Inifile.
2 - the same crash occurs when run from the D7 IDE,
3 - the program works when executed step-by-step from inside the IDE
This is exactly the same as with the full application (which crashed in the
same way on two separate Dell Win'98 laptops)
I have looked at the remaining code as closely as I can, but I don't see
anything that could explain this behaviour.
I'm quite at loss:
- is it in the remaining code? unlikely, but perhaps someone knows better?
- is it a Win'98 issue?
- is it something to do with Dell Laptops under Win'98?
- ...?
I have a 14k SBTtest.zip containing the stripped down test application, but
it seems I cannot post it directly to the newsgroup. I can send it directly
to you or anyone else who would be kind enough to have a look and/or test
it under Win'98.
I feel very uneasy about this, as it shatters my confidence in deploying
even simple, plain vanilla apps in different environments.
Any pointers would be greatly appreciated.
Regards
Andre
|
|
| Back to top |
|
 |
Andre Scholberg Guest
|
Posted: Mon Jul 07, 2003 5:30 pm Post subject: Re: App misbehaves under Win'98 |
|
|
| Quote: | I have found the problem.
|
Right, you did. Now it works.
The spaces were there to align the variables for readability reasons.
I must have read those lines until I was blue in the face, and certainly
would never have found it by myself.
| Quote: | This is AFAIK undocumented (thank you MS).
|
It also gives me further insight into the stability of MS-Win code base...
Thanks Finn, and my very best regards,
Andre
|
|
| Back to top |
|
 |
Finn Tolderlund Guest
|
Posted: Mon Jul 07, 2003 6:44 pm Post subject: Re: App misbehaves under Win'98 |
|
|
"Andre Scholberg" <scholberg_AT_bluewin_DOT_ch> skrev i en meddelelse
news:Xns93B1C65C6F7D7scholbergbluewinch (AT) 207 (DOT) 105.83.65...
| Quote: | The spaces were there to align the variables for readability reasons.
|
Add spaces *between* the parameters/variables if you want to align them, not
*in* the variables.
| Quote: | I must have read those lines until I was blue in the face, and certainly
would never have found it by myself.
Thanks Finn, and my very best regards,
|
You're welcome.
--
Finn Tolderlund
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|