<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">El 23/09/2020 a las 19:45, Luca
Olivetti via fpc-pascal escribió:<br>
</div>
<blockquote type="cite"
cite="mid:c8388eeb-0400-f70a-73b1-12297a553719@ventoso.org">El
23/9/20 a les 17:38, Santiago A. via fpc-pascal ha escrit:
<br>
<blockquote type="cite">El 23/09/2020 a las 13:54, Luca Olivetti
via fpc-pascal escribió:
<br>
<blockquote type="cite">Hello,
<br>
<br>
I just compiled a lazarus project made in 2105 with fpc 3.2.0
and, while it works here, it fails when the customer runs it.
<br>
</blockquote>
<br>
What does "it fails" mean?
<br>
Any error message? Sigfault?
<br>
<br>
</blockquote>
<br>
I'm not at the customer's site, but he told me that it does
nothing, it shows nothing and it's not visible in the task
manager.
<br>
What's worse, I have an application exception handler that logs
the first unmanaged exception to a file and the halts the program,
well, the customer says the file doesn't exist, so I presume
there's no unmanaged exception or the application doesn't even
reach the handler.
<br>
<br>
Bye
<br>
</blockquote>
Little information ;-)<br>
<br>
You could try a few things to get more data about what is the point
where the program breaks:<br>
<ul>
<li>Add some log information (write to a log file, not through
exception) in the lpr file before it starts the application run.</li>
<li>Add to the main form in the create constructor and in the
formcreate event some log information.</li>
</ul>
If the programs doesn't starts at all, then probable you have any
problem at binary level. That is usually hard the find. You could
ask the customer to run it from cmd prompt. Sometimes it displays
some informative message.<br>
<br>
Once I had the problem that 32bits worked fine in my PC, but failed
in customer's system. The problem was that I was using firebird but
the customer had installed 64bits version, so the client library
fbclient.dll was 64bits and exe 32bits. I copied a 32bits
fbclient.dll to the exe directory and everything worked fine.<br>
<br>
<pre class="moz-signature" cols="72">--
Saludos
Santiago A.</pre>
</body>
</html>