Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 27643, C++ Builder DataSnap server methods sample project

by Hanno Nagland Email: Anonymous

Creating DataSnap server methods ($METHODINFO) with C++ Builder 2010: helper functions and sample project.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For C++Builder, Version 14.0  to 14.0 288 downloads
Copyright: No significant restrictions

Size: 50,746 bytes
Updated on Mon, 25 Apr 2011 13:58:42 GMT
Originally uploaded on Fri, 19 Mar 2010 18:30:24 GMT
SHA1 Hash: D1C6B2393FF4E99E1BF4D2ABE388A1C7F41D12C2
MD5 Hash: 7B25A4ABC828862AD6ACFE5A9A3C70D9

    Explore the files in this upload

Creating DataSnap server methods with C++ Builder 2010: helper functions and macros for adding missing extended RTTI methodinfo information (reflection) to C++ class methods (like Delphi $METHODINFO directive does). Sample DataSnap server + client projects in C++ included.

Short example (see details inside):
#include "PatchCppRTTI.hpp"
class TDSServerModule1 : public TDSServerModule
PUBLIC_METHODS //servermethods section
TDateTime __fastcall TellTime(String sFormat);
TDataSet* __fastcall GetDataSetByID(int iID);
BEGIN_METHODINFO(TMyCPPServerClass1) //servermethods descriptions
METHOD(TellTime, TYPE(TDateTime)) PARAM(sFormat, TYPE(String))

Note: Firebird dbx driver and Firebird Database Server 2.5 database "employee.fdb" is used in server project: change it to your's favorite (Interbase dbx driver + employee.gdb).

01-Apr-2010: some bug-fixes and improvements; some code clean-up.
03-Apr-2010: helper macros added; some bug-fixes.
09-Apr-2010: helper macros improve; some bugs-fixes; DescribeClassMethods test function uses C++ syntax.
15-Apr-2010: memory leaks fixed; more simple types supported; some documentation created.
21-Apr-2011: PatchCppRTTI: added C++ Builder 2006 compatibility (and probably 2007, 2009 too: cannot test them).
21-Apr-2011: some code clean-up.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03