New C++ API release when ?

How to create strategies and indicators
Message
Author
Wessel
Posts: 63
Joined: Tue Oct 12, 2010 6:45 pm

New C++ API release when ?

#1 Postby Wessel » Wed Dec 01, 2010 9:00 pm

Hi FT,

When is the new update of the C++ API files expected? It wasnt updated as far as I could see in the latest release and is lacking some functions that are available in the delphi api.

Or if I can be any help in this, drop me a pm

Wessel

Wessel
Posts: 63
Joined: Tue Oct 12, 2010 6:45 pm

Re: New C++ API release when ?

#2 Postby Wessel » Thu Jan 13, 2011 5:45 pm

Any dates set for this ?


Wessel wrote:Hi FT,

When is the new update of the C++ API files expected? It wasnt updated as far as I could see in the latest release and is lacking some functions that are available in the delphi api.

Or if I can be any help in this, drop me a pm

Wessel

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#3 Postby FT Support » Fri Jan 14, 2011 11:38 am

Wessel,

What exact new functions do you need?
Check our other product here:
http://www.forexcopier.com

Wessel
Posts: 63
Joined: Tue Oct 12, 2010 6:45 pm

#4 Postby Wessel » Mon Jan 24, 2011 3:41 pm

FT Support wrote:Wessel,

What exact new functions do you need?


here's a bug or missing list I've produced over the time:

IndicatorInterfaceUnit.h v1.9
Colors missing or bugs
clGreen wrong color definition ( or not consistent with Delphi )
Should be:
#define clGreen 0x008000

The colors of GridColor and transparent are missing
Please Add:
#define cl_GridColor 0x01000000L
#define cl_Transparent 0x1FFFFFFFL

line 208:
Current: of_double = 2
Should be: ot_Double = 2

Line 872:
Uses the old and dangerous strcopy now replace it with code below to make it a save copy.

//-----Replace PChar string with new one--------------------------------------
EXPORT void __stdcall ReplaceStr(PChar& dest, PChar source)
{
free((void *)dest);
dest = (PChar)malloc(strlen((char*)source) + 1);
strcpy_s(dest, strlen((char*)source) + 1, source); // Wessel Improvement
}

PS Dropped you an e-mail with some additional idea's as most functions are more C than C++ like the use of char* instead of using strings which are far more easier to manipulate etc.

Wessel


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 20 guests