Jump to content

Error when compiling in Release mode


augusto.pellis

Recommended Posts

Good morning everybody.

I am facing a strange issue when compiling and running a Stand alone server uniGui application. On Debug mode I have not the error and there are no {ifdef debug} directives that might change program behaviour.

I get an access violation when setting the project's login form ModalResult to mrOK. The av raises at the exact line where ModalResult is set.

that's the log:

dds.exe: 00003184: 07:17:37 [TUniServerModule]:Server First Init.
dds.exe: 00003184: 07:17:37 [TUniServerModule]:Start Path = C:\Projects\XXXXX\Win32\Release\
dds.exe: 00003184: 07:17:37 [TUniServerModule]:Debug Mode = ON
dds.exe: 00003184: 07:17:37 [TUniServerModule]:Global Cache Folder Erased. <9> Files deleted.
dds.exe: 00003184: 07:17:38 [TUniServerModule]:Starting HTTP Server on Port: 8075...
dds.exe: 00003184: 07:17:38 [TUniServerModule]:HTTP Server Started on Port: 8075
dds.exe: 00000B64: 07:17:40 [127.0.0.1]:EUniSessionException : Invalid session or session Timeout. (Session not found: DYrfXbm399107EE5374 ) : Addr: $008397DA
dds.exe: 000040A4: 07:17:41 [127.0.0.1]:EUniSessionException : Invalid session or session Timeout. (Session not found: DYrfXbm399107EE5374 ) : Addr: $008397DA
dds.exe: 000034D8: 07:17:57 [127.0.0.1]:Class: Exception<br>Msg..: An instance of <TMainForm> already is being created.<br><br>Comp: btnLog_In (TUniBitBtn)<br>Form: frmLogin<br>
dds.exe: 000034D8: 07:17:57 [An instance of <TMainForm> already is being created.-127.0.0.1]:Exception : An instance of <TMainForm> already is being created. : Addr: $007ED5E8

 

Has somebody got suggestions?

Thank you

Link to comment
Share on other sites

Hello,

I have Never seen that before.

It seems that your google or (browser) session is steel open.

- Try to close your google and run again.

- Try to recompile (on release mode)

- Try with a blank Uniproject.

 

127.0.0.1]:EUniSessionException : Invalid session or session Timeout. (Session not found: DYrfXbm399107EE5374 ) : Addr: $008397DA

Link to comment
Share on other sites

Hi Abaksoft,

of course I tried all the options already.

A new unigui project works flawlessly.

There are a pair of questions here on the forum regarding a similar issue  An instance of <TMainForm> already is being created.

What's weird is that it happens when you set ModalResult 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...