[DUG] Error loading form
Errol Anderson
errol.anderson at gsds.co.nz
Thu Jan 25 19:00:23 NZDT 2018
Hi All
Thanks for all your suggestions – much appreciated. However the problem was solely of my making and I apologise for bothering you. The code has a designtime writing to file, and the file path was inadvertently changed in our VCS. I still do not understand why this was triggered by loading the main form, but that’s what happened. We may need to rewrite the code to avoid this happening again.
Regards
Errol
From: Jan Bakuwel [mailto:jan.bakuwel at omiha.com]
Sent: Wednesday, 24 January 2018 3:26 PM
To: delphi at listserver.123.net.nz
Subject: Re: [DUG] Error loading form
Hi Errol,
I've had issues with CR/LF vs LF in the past. I'd check the form text file with a hexdump and verify your line separators are what you expect them to be.
cheers,
Jan
On 23/01/18 14:31, Errol Anderson wrote:
After a (worrying) computer crash, it appeared that my main form, main.pas, was corrupted. So I reverted to main.pas and main.dfm which I had committed to the git server last night.
Now when I open the project or the main form using Delphi XE10.1, I get the following error, and I cannot display the form on pressing F12.
However, the program compiles and displays the form when I run it, so it looks like main,dfm is substantially OK.
Any ideas how I can retrieve the form would be most welcome.
Thanks and regards
Errol
Errol Anderson
Geothermal Resource Analyst | Software Development
GSDS Ltd <http://www.gsds.co.nz/> www.gsds.co.nz
Mob: +64 (0)21 181 3367
Email: errol.anderson at gsds.co.nz <mailto:errol.anderson at gsds.co.nz>
Skype: errol_anderson
This communication and any attached material contains confidential information intended only for the use of the addressee named above. No confidentiality is waived or lost by any mistaken transmission to you. If you have received this message in error please delete the document and notify us immediately.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at listserver.123.net.nz <mailto:delphi at listserver.123.net.nz>
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at listserver.123.net.nz <mailto:delphi-request at listserver.123.net.nz> with Subject: unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20180125/4d9e218f/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2504 bytes
Desc: not available
Url : http://listserver.123.net.nz/pipermail/delphi/attachments/20180125/4d9e218f/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 4499 bytes
Desc: not available
Url : http://listserver.123.net.nz/pipermail/delphi/attachments/20180125/4d9e218f/attachment.jpe
More information about the Delphi
mailing list