Origin Version (Originpro 7.5-SR5):
Operating System:Win XP-Pro
I created a column class using code such as ...
#ifndef _RNAH_COLUMN_CLASS_
#define _RNAH_COLUMN_CLASS_
class rnColumn : public Column
{
rnColumn (DataObject& colOriginal) : Column(colOriginal)
{
}
rnColumn () : Column()
{
}
rnColumn (LPCTSTR lpcszWksName, UINT iColNum) : COlumn(lpcszWksName,iColNum)
{
}
rnColumn (Worksheet &wks, UINT iColNum) : Column(&wks,iColNum)
{
}
public:
int MyFunc()
{
if(IsValid()==true)
{
Dataset dS(*this); // This line causes problems at execution time
// More code ...
}
// More Code
}
};
#endif
Although the function MyFunc seems to execute as deigned, the line flagged above generates various warnings at execution time ... Is there a problem here ??