Login Page - Create Account

Support Board


Date/Time: Tue, 16 Apr 2024 22:39:21 +0000



User Functions in C++ pro

View Count: 2279

[2013-04-06 03:30:21]
hairyMug - Posts: 31
using VS2010 C++, I built my first ACSIL; Works as expected...
Following your docs, I created a simple user function:

void Init()
{
... do something
}

I have no errors on the code itself except where I attempt to call the function, I get an
'Init': identifier not found
So I'm guessing it does not know where the user function is declared??
I am a p/a but have avoided C++,(mostly managed c#), so I Just need a hint.
TIA,
Walt

>> I do have the "include" and "std" noted in your docs

[2013-04-06 03:42:53]
Sierra Chart Engineering - Posts: 104368
We would have to see the entire source code file to be sure, but probably if it is what we suspect, place this function above the function you are calling it from:

void Init()
{
... do something
}

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

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

Login

Login Page - Create Account