How to manually call DSProxyGEN.EXE to create a Delphi DataSnap proxy client?

I am using DataSnap from Delphi 2010. The DSProxyGen.EXE utility allows us to create a proxy client module. Anyone how to use this utility on the command line to create a proxy client without using the TSQLConnection context menu?

+3
source share
4 answers

DSProxyGen does not give you its parameters at startup on the command line and does not respond to

DSProxyGen /?

exe ( !), , ( CmdLine) . TSQLConnection, , , DSProxyGen .

Update:

Delphi XE XE7 DSProxyGen

Samples\Delphi\DataSnap\ProxyGenerator

Delphi XE8 .

source\data\datasnap\proxygen
+3

DSProxyGen.exe 211 TCP/IP .

DSProxyGen test.pas

test.pas

ConnectionString , ...

+2

DSProxyGen.exe Delphi XE , :

DSProxyGen.exe Proxy.pas
-C:host=localhost;port=8080;communicationprotocol=http

DSProxyGen.exe . (/? /h .. )

, Delphi XE7:

C:\Program Files (x86)\Embarcadero\Studio\15.0\source\data\datasnap\proxygen\DSProxyGen.dproj

, , - (, ZLibCompression, PC1, RSA ..), , , "TDBXError: ZLibCompression ".

temp, , - TDSTCPServerTransport, , DSProxyGen .

+2

. DSProxyDesigner.dcu( , \external\src\pas\datasnap\proxy\DSProxyDesigner.pas). , -. , DSProxyGen.exe , , , ...

0
source

Source: https://habr.com/ru/post/1721763/


All Articles