T O P I C R E V I E W |
hilbert7 |
Posted - 07/24/2006 : 5:52:55 PM Origin Version (Select Help-->About Origin): 7.5 SR6 - v7.5885 (B885) Operating System: Windows XP x64
Hi,
A previous grad student developed a very useful import tool using Origin C, which worked flawlessly in Origin 7.0, but gives me errors in ver.7.5.
I was wondering if anyone could easily tell me what to fix, before I spend a week learning Origin C and figuring out what the problem is:
When I try and compile the code it gives me the following errors:
C:\Program Files (x86)\OriginLab\OriginPro75\tor\OriginC\Import.C(28) :Error, error(s) found in compiling function ImportXASData
Here's line 28 and 29 in the code: int ImportXASData(string filePath) {
Next error:
C:\Program Files (x86)\OriginLab\OriginPro75\tor\OriginC\Import.C(55) :Error, general compile error
line 55: if(importedLine.Compare("LOOM 1.4")==0)
Next two errors from same line:
C:\Program Files (x86)\OriginLab\OriginPro75\tor\OriginC\Import.C(110) :Error, general compile error
C:\Program Files (x86)\OriginLab\OriginPro75\tor\OriginC\Import.C(110) :Error, invalid identifier, check using as name:point
line 110: point=0;
Thanks for your help.
|
3 L A T E S T R E P L I E S (Newest First) |
hilbert7 |
Posted - 07/25/2006 : 10:38:27 AM Hi Zachary,
Thanks a bunch for the help! I've changed the variable name and it works great. |
zachary_origin |
Posted - 07/25/2006 : 12:41:01 AM Hi,
I have looked at the codes you sent us. The matter is that the varible point you defined is a keyword for Origin C in V7.5 . The builder compiles it as an identifier for point class, so it doesn't work.
You can fix these simply by replacing point with another name, e.g. iPoint. It will work.
Zachary OriginLab GZ Office
Edited by - zachary_origin on 07/25/2006 12:56:37 AM |
zachary_origin |
Posted - 07/24/2006 : 9:25:57 PM Hi,
Can you send us your codes to us for it is not enough to get the problem simply from the error message. You can mail to tech@originlab.com
Zachary OriginLab GZ Office |
|
|