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
 Compiling Origin C and User Files Folder
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

cdrozdowski111

USA
247 Posts

Posted - 12/18/2012 :  11:36:32 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 9.0.0 (Student Version), Win7 64-bit, running in VMware Fusion 5.0.2

Okay, to compile an Origin C file at startup, you place the file(s) in the OriginC/OriginLab directory under the application install location and then edit the origin.ini file (in the application install location) to add an entry for it.

However, can you add the Origin C file to the OriginC folder in the User Files directory and edit the origin.ini file that is in the User Files directory to have the file compile only for that user (instead of the method above)?

greg

USA
1378 Posts

Posted - 12/18/2012 :  1:35:01 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
There is information here:

http://ocwiki.originlab.com/index.php?title=OriginC:Hello_World_Tutorial

and here:

http://ocwiki.originlab.com/index.php?title=OCGuide:Compiling%2C_Linking_and_Loading

So you can forget all those old instructions about the INI. Origin makes your files start-up ready by just dragging them into the Workspace System folder and closing Code Builder (which updates the INI for you).

BTW: An ORIGIN.INI is always YOUR INI. Another login user has their own. The one in the program folder is only used to initialize a NEW user's INI.

Edited by - greg on 12/18/2012 1:38:28 PM
Go to Top of Page

cdrozdowski111

USA
247 Posts

Posted - 12/18/2012 :  5:36:37 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Worked like a charm!
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