Forex Tester Forum (Professional Training Software for Traders) Forum Index Forex Tester Forum (Professional Training Software for Traders)

Back to main site   Risk disclosure
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error in ScriptInterfaceUnit.h version 1.2a

 
Post new topic   Reply to topic    Forex Tester Forum (Professional Training Software for Traders) Forum Index -> Bug reports
View previous topic :: View next topic  
Author Message
mspen



Joined: 10 Sep 2008
Posts: 8
Location: San Diego

PostPosted: Thu Aug 25, 2011 10:04 pm    Post subject: Error in ScriptInterfaceUnit.h version 1.2a Reply with quote

It appears that there is an error in the newest ScriptInterfaceUnit.h:

1>------ Build started: Project: Trades, Configuration: Release Win32 ------
1>Compiling...
1>Trades.cpp
1>c:\devs\c++\forextester2\scripts\trades\ScriptInterfaceUnit.h(1805) : error C2572: 'ObjectsDeleteAll' : redefinition of default parameter : parameter 1
1> c:\devs\c++\forextester2\scripts\trades\ScriptInterfaceUnit.h(754) : see declaration of 'ObjectsDeleteAll'
1>Build log was saved at "file://c:\Devs\C++\ForexTester2\scripts\Trades\Release\BuildLog.htm"
1>Trades - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I believe it can be fixed with the following change. I think the default should only be on the prototype:
< void ObjectsDeleteAll(int window = 0, TObjectType ObjType)
---
> void ObjectsDeleteAll(int window, TObjectType ObjType)
Back to top
View user's profile Send private message
FT Support



Joined: 11 Jul 2009
Posts: 901

PostPosted: Fri Aug 26, 2011 3:32 pm    Post subject: Reply with quote

Thank you!

We'll fix that

_________________
Check our other products here:
www.fx-metropolis.com
www.forexcopier.com
Back to top
View user's profile Send private message Visit poster's website
mspen



Joined: 10 Sep 2008
Posts: 8
Location: San Diego

PostPosted: Fri Aug 26, 2011 8:25 pm    Post subject: Reply with quote

Thanks.

It appears that StrategyInterface 1.9 has the same difficulty. I was only building a script yesterday.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Forex Tester Forum (Professional Training Software for Traders) Forum Index -> Bug reports All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group