Hi,
I just try to code my own MOCA style dll.
Unfortunately I met some problem:
I tried to start with the example worksheet from Origins ATI\MOCA\ tree. Compile and everything works. But for some reason I seem to have a problem with the
MOCA_SIMPLE_PROP_STR(m_WksName, "WksName")!!!
This was set in the property map, but for some reason the following script will crash if I enable the outcommented line:
[WorksheetTest]
{
dll -a worksheet ATI\MOCA\worksheet\Debug\worksheet;
// worksheet.WksName=data1; // still causes crash
worksheet.WksName=;
dll -r worksheet;
}
since the output of the worksheet.WksName doesn't create an error, just outputs "--", but assigning something to the variable makes the script finish and so the object wouldn't be deleted as well.
My question: did somebody else also encounter this strange behaviour of the simple property in Origin 6.1 Pro SR4?
Marko