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
 How to create encrypted .OP files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

datrix

11 Posts

Posted - 08/30/2011 :  12:41:58 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Version: OriginPro 8.1G SR3 v8.1.34.90
Operating System: Windows XP SP3

Hello,

I would like to create encrypted .OP files from my .CPP sources.

1. Where exactly is a detailed helppage that describes how to do that?

2. In "An overview of the build process" I found out that I have to set some system variables.
How exactly and where exactly do I have to set OCS, OCSB and OCSE?

I tried: "@OCSE=1;" at the beginning of my .CPP source code file --> produces compiling errors.
I tried: "@OCSE=1" at the Labtalk-Console --> no error but compiling the .CPP does not produce a .OP.
Is a preprocessor command existing for this as well?

3. After compiling to an .OP. Can I use the command "run.LoadOC("source.OP");" instead of run.LoadOC("source.cpp");" equally?

Thanks
datrix

Penn

China
644 Posts

Posted - 08/30/2011 :  11:03:38 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi datrix,

You can refer to the help here.

Your second try at the LabTalk Console is the correct usage. However, please note that, to produce a .OP file, you need to set @OCSB=0.

After generating .OP file, you can use "run.LoadOC()" to load it as loading the source file.

Penn
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