Login Page - Create Account

Support Board


Date/Time: Sun, 22 Apr 2018 01:15:50 +0000



User Functions in C++ pro

Support Request:
[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: 59311
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. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.

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

Login


Login Page - Create Account