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
 How to create encrypted .OP files

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
datrix Posted - 08/30/2011 : 12:41:58 PM
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
1   L A T E S T    R E P L I E S    (Newest First)
Penn Posted - 08/30/2011 : 11:03:38 PM
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

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