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 |
|
|