Support Board
Date/Time: Sat, 16 Aug 2025 23:14:34 +0000
Post From: bringing in code for a custom study
[2025-08-15 15:04:49] |
ForgivingComputers.com - Posts: 1102 |
I have Microsoft visual and have code saved using that program into sierra chart acs file with .cpp. When I select the file the message box pops up so it doesn't want to do anything with that code. I hope you can help me ...Thanks, Todd
This sounds like a Windows configuration issue and has nothing to do with Sierra Chart. Are you "selecting" the file in the Windows File Explorer by double-clicking on it? Selecting is a single-click, opening the file is a double-click. Every file type that can be opened by an application needs a default application to open it. Most applications make this association during installation. The message box sounds like a Windows Dialog box indicating there is no default application for CPP files. If that is the case, you need to make an association between CPP files and Visual Studio. This only needs to be done once. 1. Right-click on the file in File Explorer and select Properties 2. In the General tab you want the "Opens With:" application to be Microsoft Visual Studio. If it isn't set then click Change, and locate the App. 3. Click Set Default. If by "bringing in code for a custom study" you mean building a DLL, then the above should work. You will want to compile the CPP code on the Analysis>>Build Custom Studies DLL menu. You can also set the Default Editor for use within the Build menu: Advanced Custom Study Interface and Language (ACSIL): Setting the Default Code Editor Date Time Of Last Edit: 2025-08-15 15:12:19
|