Support Board
Date/Time: Fri, 31 Jan 2025 23:00:40 +0000
C++ Configuration Instructions missing step?
View Count: 1900
[2019-05-14 11:34:38] |
HinckleyBob - Posts: 45 |
The instructions at page=doc/UsingVisualCPlusPlus.php#ConfigureProject seem to have missing instructions. The instructions say to open "Expert Settings" at step 1, and then immediately open the Solution Explorer step 2, apparently bypassing any instructions related to "Expert Settings." Are the instructions this page: Enable Debugging page=doc/StepByStepACSILDebugging.php#EnablingDebugging to be used for the installation configuration where the instructions seem to be missing on page=doc/UsingVisualCPlusPlus.php#ConfigureProject step 1? Thank you, Bob PS The detailed instructions are excellent, although a bit out of date. I will send a revision using VS C++ 2019 as I walk through the setup for your review and use as desired. |
[2019-05-14 18:39:01] |
Sierra Chart Engineering - Posts: 104368 |
The page for using Visual C++ is going to be removed and no longer maintained by us. Actually we are going to take it down right now. If you update to the current version of Sierra Chart, in Analysis >> Build Custom Studies DLL. There are two commands to build with Visual C++. One to generate a Release build and another a Debug build. This is all we are going to be supporting from our side. If you want to use Visual C++ independently, you are on your own with this. We will be updating the documentation for step-by-step debugging. This should be done in about a week and will be relative to Visual C++ 2017. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2019-05-14 18:39:25
|
[2019-05-14 18:57:31] |
HinckleyBob - Posts: 45 |
I must have poked the bear. Is there a preferred platform for programming custom indicators?
|
[2019-05-14 19:43:01] |
Sierra Chart Engineering - Posts: 104368 |
You certainly can use Visual C++. That is a fine development environment, we use it, but it is just too complex, and changes from time to time for us to be supporting it.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2019-05-23 15:52:39] |
HinckleyBob - Posts: 45 |
On 5/14, I understood you will be be updating the documentation for step-by-step debugging. I would like to use these instructions if they are available. If not, I'd be pleased to test the process if you have a draft. Thank you, Bob |
[2019-05-23 16:35:11] |
HinckleyBob - Posts: 45 |
The page at page=doc/StepByStepACSILDebugging.php appears to be updated 5/21, so I assume it is the modified page. It appears to be complete, thank you!
|
[2019-05-23 20:22:06] |
Sierra Chart Engineering - Posts: 104368 |
Yes it is. We did finish updating that documentation.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2019-05-24 15:27:31] |
ForgivingComputers.com - Posts: 992 |
The new instructions certainly helped me. I was trying to learn the whole Visual Studio environment and found too many complexities. For example, once you have a project, how do you do version control to enable roll backs. Git? Another system to learn a system to get to debugging! I learned to program in the 70's using teletypes and punch cards! I have picked up C++ and ACSIL on my own, and with the help of the excellent documentation and the support board. I find Notepad++ to be more than adequate, with its multiple views, plugins, and direct use of the files and filenames. Debugging with the message log can be useful until it is not. I needed to be able to see the flow and how variables change more easily. I didn't know I could merely open the source code of the previously debug-compiled DLL in Visual Studio and do my debugging. The extra steps of releasing and loading DLLs take a little getting used to, but not a big deal. Thanks for the shortcut! |
[2019-05-26 13:17:43] |
Sierra Chart Engineering - Posts: 104368 |
We are happy we have made the process of debugging DLLs with a step-by-step debugger more easy and with up-to-date documentation. Being able to generate a debug build within Sierra Chart is a real help. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2019-05-29 13:40:25] |
ForgivingComputers.com - Posts: 992 |
The extra steps of releasing and loading DLLs take a little getting used to, but not a big deal.
Update: I found out as long as you use Analysis>>Build Custom Studies DLL>>Build>>Build With Visual C++ - Debug menu item, you don't need to do the release and load dance. You do, however, need to stop debugging in Visual Studio or you won't be able to save the file. Finally, the steps are the same with 32-bit and 64-bit versions. I would like to stay full-time in 64-bit, but I only know how to do 32-bit builds if I restart 32-bit Sierra. Does anyone know if there is a shortcut to change the bits within Visual Studio without getting involved with projects and solutions, etc. (the stuff you used to have to do)? It would be nice if the Sierra menu items that build with Visual Studio could build them both, at least for the Release code. It appears that the VisualCCompile.bat file is being created by the application, as it has file names in it. To hide the compiler warnings, I added /W0 to the Additional Compiler Parameters, but I still get other command line warnings: cl : Command line warning D9025 : overriding '/W3' with '/W0'
cl : Command line warning D9002 : ignoring unknown option '/JMC' cl : Command line warning D9002 : ignoring unknown option '/std:c++17' cl : Command line warning D9002 : ignoring unknown option '/diagnostics:classic' |
[2019-05-29 15:10:23] |
Sierra Chart Engineering - Posts: 104368 |
If you are running the 64-bit version of Sierra Chart, when you use Build With Visual C++ you will get a 64-bit DLL.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2019-06-10 19:43:55] |
ForgivingComputers.com - Posts: 992 |
When using the Visual Studio 2019 debugger, I can set breakpoints and watch variables, but I am stuck with arrays. How do I view the contents of the last cell in a subgraph array? For example, I want to see what is in the array BuyEntrySignal[sc.Index]. Thanks! |
To post a message in this thread, you need to log in with your Sierra Chart account: