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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 OriginC compiler issue

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
chintan Posted - 02/04/2015 : 12:06:49 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
Sophy Posted - 02/04/2015 : 10:45:44 PM
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.
Castiel Posted - 02/04/2015 : 10:56:47 AM
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...

©c¡Ï   ¤È¥¹  ©f¨u©c  ©c¥ì    ¥Î¤³  ©c/     ©¦£¯
 ©c¨Ê¥Î ¤´¥¨  ¥ó ¨×   ¥ó¤á' ¥Ì©¦¥­   /¤í  ¥Õ©¦©f
   ¨Ö             ¦á          ©¦£þ  ©` ¥Õ   ©¦
                              ©¦

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000