Home > Software engineering > Teechart is used in the MFC, VS2013 calls the function with markedly different VC call a function, f
Teechart is used in the MFC, VS2013 calls the function with markedly different VC call a function, f
Time:10-08
In vc + +, can be set by instruction Teechart controls the axes of maximum, minimum, logarithmic coordinates, etc., such as M_ctrlChart. GetAxis (.) GetLeft (.) SetMinMax (0, 100); I now is to use VS2013, the above statement function doesn't exist, should how to call? Please help, thank you!!!!!
CodePudding user response:
M_ctrlChart declared in a class, you want to check and see how it is to provide methods,
If using a COM/ACTIVEX components, VS the IDL compiler interface to generate corresponding wrapper class, and different environment generated wrapper class is different, such as ATL project and MFC generated wrapper class is completely different, A line of continuous call, like you usually generate the encapsulation of encapsulation methods are returned directly reference class instance itself, so to call in a row, but the error handling way became an exception is thrown, this type of call requires in TRY/CATCH block, some can't calls in a row, then must be positioned to a class in the definition of the look at how the member function definition,