Hi,
I have examples folder, but don't have delphi subfolder. In the examples folder there are 4 files: DLLInterface, StratConstants, StrategyInterface and Strategy
I have copied them into my project folder, assuming that the files have been renamed since the creation of the programming instructions post.
However, when I declare them in the uses section of the dll file I get some errors. The StrategyInterface file is ok. The DLLInterface and StatConstants files give me a Cannot resolve unit hame 'DLLInterface' at line 5 (5:32), message.
Any suggestions?
Missing or changed example .pas files
- Terranin
- Site Admin
- Posts: 833
- Joined: Sat Oct 21, 2006 4:39 pm
Re: Missing or changed example .pas files
kiromano wrote:Hi,
I have examples folder, but don't have delphi subfolder. In the examples folder there are 4 files: DLLInterface, StratConstants, StrategyInterface and Strategy
I have copied them into my project folder, assuming that the files have been renamed since the creation of the programming instructions post.
However, when I declare them in the uses section of the dll file I get some errors. The StrategyInterface file is ok. The DLLInterface and StatConstants files give me a Cannot resolve unit hame 'DLLInterface' at line 5 (5:32), message.
Any suggestions?
There should be such folders:
Code: Select all
Examples
- Indicators
- C++
- Delphi
- Strategies
- C++
- Delphi
I have all these folders right after installation of ForexTester with all files inside. What version of ForexTester do you have?
Hasta la vista
Mike
Mike
-
- Posts: 2
- Joined: Fri Oct 16, 2009 7:36 pm
Re: Missing or changed example .pas files
Terranin wrote:kiromano wrote:Hi,
I have examples folder, but don't have delphi subfolder. In the examples folder there are 4 files: DLLInterface, StratConstants, StrategyInterface and Strategy
I have copied them into my project folder, assuming that the files have been renamed since the creation of the programming instructions post.
However, when I declare them in the uses section of the dll file I get some errors. The StrategyInterface file is ok. The DLLInterface and StatConstants files give me a Cannot resolve unit hame 'DLLInterface' at line 5 (5:32), message.
Any suggestions?
There should be such folders:Code: Select all
Examples
- Indicators
- C++
- Delphi
- Strategies
- C++
- Delphi
I have all these folders right after installation of ForexTester with all files inside. What version of ForexTester do you have?
Based on your question I double checked and it seems that I had an older demo version installed, that Had installed into the c:/programs folder. This version 2.3.0 was installed into the c:/forextester2 folder. Plus, I found out that when you select the recommended database installation folder for windows vista, it places the example folders into the /user/application data folders which have restricted access.
I simply uninstalled the program, reinstalled it disregarding the windows vista choice for database folder and I now have all of the folders installed at c:/forextester2 as should be.
Thanks
Return to “Programming lessons”
Who is online
Users browsing this forum: No registered users and 13 guests