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
 getn function can not response

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
msj 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!
8   L A T E S T    R E P L I E S    (Newest First)
yuki_wu 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
Castiel 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_______ /____\____ 
msj Posted - 02/06/2018 : 6:44:07 PM

hi,i check the system variables,@OCSE has exist.
yuki_wu 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
Castiel 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_______ /____\____ 
msj Posted - 02/04/2018 : 6:09:30 PM
hi, everyone, can you help me to solve this problem? thanks
msj 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

yuki_wu 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

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