I've read as many posts as I could find and it seems that all the comments indicate to use the uniGUI version of the datamodule AND NOT the TDataModule that comes with standard Delphi apps.
I have a delphi desktop app that does a LOT (hundreds of data manipulation functions) of DB functions on my DB.
We need to create a Web version of the app and I thought that if I could "Re-Use" my datamodule, that would save so so so much time. It appears that in uniGUI EXE mode, I have NO ISSUES at all. I was estatic<happy>, and so I tested it in the DLL(ASAPI) mode and it just locks up or doesn't work at all.
I tried creating the datamodule a few different ways:
1. Application.CreateForm(TFDataModule,FDataModule);
2. FDataModule:=TFDataModule.Create(Nil); Boths of these do not work in the DLL mode. What is it about the TDataModule that makes it not work ONLY IN DLL mode? It works in my Desktop app and in the UniGUI EXE mode.
YET another difference between EXE and DLL mode
Is there a good solution so that I can RE-USE my code between my desktop app and my uniGUI DLL?
Thanks very much
Davie
P.S. What is the RTL property on forms?