Login Page - Create Account

Support Board


Date/Time: Sun, 19 Jan 2025 03:09:27 +0000



[Programming Help] - acsil code 32 vs 64 bit

View Count: 1362

[2018-03-18 21:12:10]
User30743 - Posts: 365
ive written couple of acsil trading systems in 32 bit version and now they cannot be loaded into the 64 bit. is there any page about the difference between these two version and what is necessary to change in the code?
[2018-03-19 00:09:40]
Sierra Chart Engineering - Posts: 104368
This is explained here:
http://www.sierrachart.com/index.php?page=doc/AdvancedCustomStudyInterfaceAndLanguage.php#CustomStudiesOn64-BitVersus32-BitVersions

There are no code changes required. Only a rebuild.
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
[2018-03-21 09:50:26]
User30743 - Posts: 365
isnt it possible do it directly in visual studio?

so from now on, all the code that i write in visual will be saved as 32 version and has to be rebuild to 64 version afterwards ?
[2018-03-21 18:21:52]
JoseyWales - Posts: 67
If you are using Visual Studio
This link explains it better than I can:

https://msdn.microsoft.com/en-us/library/9yb4317s.aspx

Here's a youtube video that is a bit outdated but somewhat relavent. Skip to 2 minutes in.
https://www.youtube.com/watch?v=mZXUw-j28oY&t

You have to make sure that you're building for x64 platform. Your code is the same, just the output dll can only be used for the x64 version of Sierra Chart.

And it wouldn't hurt to go through your Project's Property page and confirm that the Sierra Chart specific settings are correct, like the Output Directory. Make sure that Configuration: All Configurations and Platform: x64 is set when you go through the settings.
http://www.sierrachart.com/index.php?page=doc/UsingVisualCPlusPlus.php

One other tip I could share with you is on the Project Property Page open the C/C++ Tree node and click General then set multi-processor Compilation to Yes (/MP). This will lessen your build times if you have a multi-threaded cpu. Handy if you have multiple files that share a header file that was changed or if you have to do a clean build.
Date Time Of Last Edit: 2018-03-21 18:24:49

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account