Login Page - Create Account

Support Board


Date/Time: Sat, 21 Dec 2024 18:25:47 +0000



Post From: Subgraph ShortName

[2014-11-19 10:46:17]
Hendrixon - Posts: 130
That's all I need to get that error.
See, nothing is there.
I'm on version 1196.

#include "sierrachart.h"
SCDLLName("SC member test")
  
SCSFExport scsf_TestShortName(SCStudyGraphRef sc)
{
  SCSubgraphRef TestSubGraph = sc.Subgraph[0];
  
  if (sc.SetDefaults)
  {
    sc.GraphName = "shortname compile test";
    sc.AutoLoop = 1;
    sc.GraphRegion = 0;
    // During development set this flag to 1, so the DLL can be modified. When development is completed, set it to 0 to improve performance.
    sc.FreeDLL = 1;
    
    TestSubGraph.Name = "Full Name";
    TestSubGraph.ShortName = "Short Name";
    TestSubGraph.DrawStyle = DRAWSTYLE_LINE;
    return;
  }
}