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

peter.cook

UK
356 Posts

Posted - 01/22/2004 :  09:04:28 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

Can anyone help - I can't seem to create OP files for distribution, only OCB files when compiling c files despite setting @OCBS=0 (ie same result as for @OCBS=1).

(Origin 7.5 Pro SR1)

Cheers,

Pete

easwar

USA
1965 Posts

Posted - 01/22/2004 :  09:45:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Pete,

The system variable that controls creation of OP files is OCSB, and not OCBS.

@OCSB = 0; // create OP files
@OCSB = 1; // the default; do not create OP files

I just tried in 7.5SR1 and it works fine for me.

This is documented in the Programming help file, under the topic:
Distributing Custom Applications->Encrypting Files for Distribution with OriginPro.

Easwar
OriginLab.


Go to Top of Page

peter.cook

UK
356 Posts

Posted - 01/22/2004 :  10:51:43 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Easwar,

Thanks for quick reply , saved me more wasting more time. I accidentally used @ocbs because checking in the script window by typing @ocbs= gives @ocbs=1, which was of course a typo but I then carried on using this. However, what does @ocbs refer to?

Cheers,

Pete

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