| View previous topic :: View next topic |
| Author |
Message |
forextester
Joined: 19 Feb 2009 Posts: 33
|
Posted: Sun Mar 08, 2009 11:22 am Post subject: Programming in Visual C++ 2005 |
|
|
Dear Mike,
I am using Visual C++ 2005. I have successfully built the strategy files included with Forextester. I have also made some of my own strategies.
But i can't seem to build any indicators. not even simple ones. I have taken all the necessary steps and have included all needed header files.
Please help me out.
The Code is attached. you can also find it in the Forextester help file
"Example how to work with objects from indicator".
the log after trying to build is also attached.
Thanks and regards,
Sheraz
PS: if i remove the code body from all the functions (init/calculate etc) and exclude header fles of "technicalfunctions.h" and "Graphics.h", the build would give no errors. |
|
| Back to top |
|
 |
Terranin Site Admin

Joined: 21 Oct 2006 Posts: 831
|
Posted: Sun Mar 08, 2009 3:47 pm Post subject: Re: Programming in Visual C++ 2005 |
|
|
| forextester wrote: | Dear Mike,
I am using Visual C++ 2005. I have successfully built the strategy files included with Forextester. I have also made some of my own strategies.
But i can't seem to build any indicators. not even simple ones. I have taken all the necessary steps and have included all needed header files.
Please help me out.
The Code is attached. you can also find it in the Forextester help file
"Example how to work with objects from indicator".
the log after trying to build is also attached.
Thanks and regards,
Sheraz
PS: if i remove the code body from all the functions (init/calculate etc) and exclude header fles of "technicalfunctions.h" and "Graphics.h", the build would give no errors. |
I am not an expert with C++ and do not have C compiler on my computer at this moment. So can not help you. _________________ Hasta la vista
Mike |
|
| Back to top |
|
 |
forextester
Joined: 19 Feb 2009 Posts: 33
|
Posted: Sun Mar 08, 2009 9:01 pm Post subject: |
|
|
that' fine.
I am switching back to Delphi.
regards. |
|
| Back to top |
|
 |
KelvinHand
Joined: 02 Jan 2011 Posts: 91
|
Posted: Mon Apr 11, 2011 4:51 am Post subject: |
|
|
Hi,
Finally understand how to use VC2008 to compile.
Fixed the problem on the Test Indicator.CPP.
Original caused crash to ForexTester
On the Project Properties
- Linker Input -
Module Definition File : Default.Def
Always set to Default.Def with in the following given format together in
the folder of your *.cpp . eg \Test Indicator\Test Indicator.
========================================
LIBRARY
EXPORTS
Init
Done
Calculate
ReplaceStr
IntrfProcsRec
OnParamsChange
======================================== |
|
| Back to top |
|
 |
|