remobjects

How do I fix Delphi Prism ASP.NET error: “Parser Error Message: 'Oxygene' is not a supported language”

a 夏天 提交于 2020-01-01 19:00:50
问题 I have written an ASP.NET web application (not site) in Delphi Prism. Everything works fine on my devlopment machine, but when I install it on a test server I get the following error: Server Error in '/MyApp' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: 'Oxygene' is not a supported language.

How to pass the interfaced object to the Pascal Script function call?

两盒软妹~` 提交于 2019-12-23 08:36:32
问题 Delphi part: I have a class with the event and from that event I need to call a procedure passing the interfaced object to it. It works fine in Delphi but I have problems with declaring it in Pascal Script. To the background - the IGPGraphics interface is a part of the Delphi GDI+ library and without methods is defined like this: type IGdiplusBase = interface ['{24A5D3F5-4A9B-42A2-9F60-20825E2740F5}'] IGPGraphics = interface(IGdiPlusBase) ['{57F85BA4-CB01-4466-8441-948D03588F54}'] The

How to pass the interfaced object to the Pascal Script function call?

一曲冷凌霜 提交于 2019-12-23 08:36:05
问题 Delphi part: I have a class with the event and from that event I need to call a procedure passing the interfaced object to it. It works fine in Delphi but I have problems with declaring it in Pascal Script. To the background - the IGPGraphics interface is a part of the Delphi GDI+ library and without methods is defined like this: type IGdiplusBase = interface ['{24A5D3F5-4A9B-42A2-9F60-20825E2740F5}'] IGPGraphics = interface(IGdiPlusBase) ['{57F85BA4-CB01-4466-8441-948D03588F54}'] The

How can a TClientDataSet determine what type of database it is (remotely) connected to?

懵懂的女人 提交于 2019-12-11 02:36:50
问题 Under FireDAC, I have a TFDConnection -> TFDQuery -> TDataSetProvider in a server app and a TClientDataSet in a client app. They are connected through the RemObjects Remoting SDK. (The TClientDataSet.RemoteServer is set to a TRODataSnapConnection ). The TFDConnection may be connected to different database types. With the TClientDataSet code in the client, (how) can I determine the database type? For a simple app containing all these components I could scan the datamodule for a component of

Delphi 7 remobjects - serialize a component

谁说我不能喝 提交于 2019-12-08 12:41:19
问题 I have a client-server application built in Delphi 7 and RemObjects SDK. Messages between client and server are binary (http://wiki.remobjects.com/wiki/BinMessage). My questions are: 1) if I fill with data a TDataSet/TDataSource and sent them from client to server, on the server component's DataSet will contain the data? the data should remain persistent no? 2) I've tried to send the component through RemObjects, encapsulated in a TROBinaryMemoryStream descendant class, but without succes

Is there a good scripting Pascal-like language for Delphi?

蓝咒 提交于 2019-12-03 11:53:12
问题 I'm looking for a good free scripting engine for Delphi. I want to add scripting to an application so that I can write small test scripts. Specifically I need: Pascal-like syntax current (I looked at RemObjects Pascal Scripting but it is "obsolete" according to a posting I saw). I don't need full language support, just the basics. I saw this: https://stackoverflow.com/questions/226135/scripting-library-for-delphi but I'm assuming things have moved on a little since then. All I want to be able

Is there a good scripting Pascal-like language for Delphi?

六眼飞鱼酱① 提交于 2019-12-03 03:14:46
I'm looking for a good free scripting engine for Delphi. I want to add scripting to an application so that I can write small test scripts. Specifically I need: Pascal-like syntax current (I looked at RemObjects Pascal Scripting but it is "obsolete" according to a posting I saw). I don't need full language support, just the basics. I saw this: https://stackoverflow.com/questions/226135/scripting-library-for-delphi but I'm assuming things have moved on a little since then. All I want to be able to do is add a memo component to my program, and at run-time add a fragment of source to the memo and