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
New C++ API release when ?
-
- Posts: 63
- Joined: Tue Oct 12, 2010 6:45 pm
Re: New C++ API release when ?
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
-
- Posts: 905
- Joined: Sat Jul 11, 2009 10:54 am
-
- Posts: 63
- Joined: Tue Oct 12, 2010 6:45 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
Who is online
Users browsing this forum: No registered users and 20 guests