The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 OriginC compiler issue
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

chintan

India
16 Posts

Posted - 02/04/2015 :  12:06:49 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,
My system details are as below:

Origin Version: OriginPro 8 SR4
OS : Windows7 64Bit

I am facing an issue while using OriginC application.
I has written one application using OriginC. I build it and executed it by providing the function call in Script Window. It is working as expected. My issue is when I close the OriginPro application and relaunch it from start menu and when I try to run the same function using Script Window (as before)it is NOT working as expected ( For example, I have written the code to read a file, but its is not reading the file).

Every time it is expecting a change in the .C file. Until I make a change in .C file and re build the application it will not work. If I makes any change in .C file and rebuild the application, then it will start working. For example, if I add a white space in .C file and rebuild it then it will starts working. Can any one here help me out for this issue ?

Regards,
Chintan.



cmbhatt

Castiel

343 Posts

Posted - 02/04/2015 :  10:56:47 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
OriginPro 8 was release years ago that I cannot recall much in details. Surely you cannot call your functions -- they are not compiled automatically when you launch the program. In version 8, maybe you have to add yours to the System workspace...

妾+   午旦  妹罕妾  妾伊    用仇  妾/     岫ㄞ
 妾京用 仍巨  件 侈   件戶' 甘岫平   /欠  白岫妹
   併             艮          岫  奈 白   岫
                              岫

Edited by - Castiel on 02/04/2015 10:58:09 AM
Go to Top of Page

Sophy

China
Posts

Posted - 02/04/2015 :  10:45:44 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
hi,

Before call you function, use Labtalk script "run.loadOC("C:\myfolder\mysource.cpp", 16) to make sure it is loaded into your workspace first, then you can execute the function within that file.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000