Author |
Topic  |
|
msj
China
6 Posts |
Posted - 02/01/2018 : 03:30:14 AM
|
Origin Ver. and Service Release (Select Help-->About Origin): Operating System: hi,everybody,i meet a problem. when i set @OSCE=1,the getn function can not response. for example, when i change the parameter by PEVENT_FUNC, the getn dialog has no change. how can i do? thanks very much! |
|
yuki_wu
896 Posts |
Posted - 02/01/2018 : 05:24:40 AM
|
Hi,
Origin doesn't have this system variable @OSCE actually. Not sure if it is a typo, you should check your question again.
Regards, Yuki OriginLab |
 |
|
msj
China
6 Posts |
Posted - 02/01/2018 : 10:02:17 PM
|
I am sorry, it is @OCSE=1,is the encryption feature.thank for your reply.
quote: Originally posted by yuki_wu
Hi,
Origin doesn't have this system variable @OSCE actually. Not sure if it is a typo, you should check your question again.
Regards, Yuki OriginLab
|
 |
|
msj
China
6 Posts |
Posted - 02/04/2018 : 6:09:30 PM
|
hi, everyone, can you help me to solve this problem? thanks |
 |
|
Castiel
343 Posts |
Posted - 02/05/2018 : 12:33:07 AM
|
quote: Originally posted by msj
I am sorry, it is @OCSE=1,is the encryption feature.thank for your reply.
@OCSE is not a system variable.
#####
#### _\_ ________
##=-[.].]| \
#( _\ | |------|
# __| | ||||||||
\ _/ | ||||||||
.--'--'-. | | ____ |
/ __ `|__|[o__o]|
_(____nm_______ /____\____
|
 |
|
yuki_wu
896 Posts |
Posted - 02/05/2018 : 12:48:59 AM
|
Hi,
Origin has neither @OCSE nor @OSCE. You better do a quick check at first, enter the system variable in Script Window, for example:
@OCSE=;
Then click enter key. If this system variable is not existing, you could see a message:

Regards, Yuki OriginLab |
 |
|
msj
China
6 Posts |
Posted - 02/06/2018 : 6:44:07 PM
|
  hi,i check the system variables,@OCSE has exist. |
 |
|
Castiel
343 Posts |
Posted - 02/07/2018 : 02:40:22 AM
|
quote: Originally posted by msj
  hi,i check the system variables,@OCSE has exist.
IIRC @OCSE has been removed since Origin 2017. What's the version of your Origin? Show you code about PEVENT_FUNC.
#####
#### _\_ ________
##=-[.].]| \
#( _\ | |------|
# __| | ||||||||
\ _/ | ||||||||
.--'--'-. | | ____ |
/ __ `|__|[o__o]|
_(____nm_______ /____\____
|
Edited by - Castiel on 02/07/2018 02:43:08 AM |
 |
|
yuki_wu
896 Posts |
Posted - 02/07/2018 : 03:45:59 AM
|
Hi,
I suppose you are using Origin 2016 or other older version. @OCSE has been deleted since Origin 2017, and I think it is not the reason of your problem. I will suggest to use:
int GetNBox(TreeNode& tr, PEVENT_GETN pfnEventEx, LPCSTR lpcszTitle = NULL, LPCSTR lpcszDescription = NULL, HWND hWndParent = NULL, bool bShowApplyButton = false, PAPPLY_FUNC pfnApply = NULL);
to construct the GetN dialog instead of the old one that should call PEVENT_FUNC
Regards, Yuki OriginLab
|
Edited by - yuki_wu on 02/07/2018 03:46:27 AM |
 |
|
|
Topic  |
|
|
|