06-24-2025, 07:57 PM
(This post was last modified: 06-24-2025, 07:58 PM by v.lasquibar@telefonica.net.)
(06-20-2025, 04:19 PM)rlebeau Wrote:(06-20-2025, 06:58 AM)v.lasquibar@telefonica.net Wrote: Error message: Access violation at address 012725E3 in module 'eMomoTaller.exe'. Read of address 00000008
An AV near address 0 usually means a nil pointer is being accessed.
(06-20-2025, 06:58 AM)v.lasquibar@telefonica.net Wrote: (006B15E3){eMomoTaller.exe} [012725E3] HotLog.THotLog.Add (Line 1194, "HotLog.pas" + 1) + $5
...
Rutinas_Aux.MensajeLog$qqrip14Hotlog.THotLog20System.UnicodeStringt3t3 (Line 1668, "Rutinas_Aux.pas" + 3) + $30
(008AE035){eMomoTaller.exe} [0146F035] Rutinas_Aux.MensajeLog$qqri20System.UnicodeStringt2t2 (Line 1683, "Rutinas_Aux.pas" + 1) + $14
(00C96649){eMomoTaller.exe} [01857649] UserSessionUnit.TIWUserSession.SetupSession (Line 187, "UserSessionUnit.pas" + 2) + $1A
The trace log is saying that the AV is occurring at address 012725E3, which is the call to HotLog.THotLog.Add(). What is THotLog? Is it something attached to MensajeLog()?
Looks to me like TIWUserSession.SetupSession() is trying to log something, and is failing because HotLog is not available. Perhaps there is a THotLog object pointer that is nil when it shouldn't be and the code is not handling that possibility.
Hi rlebeau,
First, thanks for your answer. HotLog is a 3rd party component I use to record log and trace messages. I know that the error indicates that HotLog is nil. I create the object in UserSession.IWUserSessionBaseCreate, and i use it next in a call to "mensajeLog". But my question is: why if I create the EXE with IWStart.Execute(True) the application starts normally and the main form is shown, whilst when I create the EXE with IWStart.Execute(False) this Access Violation appears.
Best regards,
Venancio Lasquibar

