You are not logged in.
Hello,
Tried to make a test of stock sample no "14 - Interface based services" on a Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) x86_64 GNU/Linux
Using mORMot commit version 1.18.3688, fpc/trunk and Lazarus 1.8.0RC3.
Project compiled OK. When I run I get below output. Using root account also produces same output.
20170726 08562000 + mORMot.TSQLRestServerFullMemory(00007F305C4CCB70).Shutdown CurrentRequestCount=0 File=
20170726 08562000 - 00.005.256
20170726 08562000 info mORMot.TSQLRestStorageInMemory(00007F305B8724C0) TSQLRestStorageInMemory.Destroy
20170726 08562000 info mORMot.TSQLRestStorageInMemory(00007F305B872640) TSQLRestStorageInMemory.Destroy
20170726 08562000 info mORMot.TSQLRestServerFullMemory(00007F305C4CCB70) TSQLRestServerFullMemory.Destroy
An unhandled exception occurred at $00000000005AAAB8:
EServiceException: TInterfaceFactory.GUID2TypeInfo({9A60C8ED-CEB2-4E09-87D4-4A16F496E5FE}): Interface not registered - use TInterfaceFactory.RegisterInterfaces()
$00000000005AAAB8 line 53490 of ../../mORMot.pas
$00000000005AAA62 line 53483 of ../../mORMot.pas
$000000000056FE89 line 40995 of ../../mORMot.pas
$000000000040168B line 49 of Project14ServerHttp.dpr
I did not change source code and when I check source I definitely see type is being registered.
Any help is appreciated.
Offline
I found below link in documents however, I cannot fully and clearly understand what I need to do with Delphi, how I supposed to use it with fpc.
https://synopse.info/files/html/Synopse … #TITLE_669
I also appreciate a link for NewPascal fork.
Offline