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
 Resource String ID and Script Window

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
additive Posted - 10/07/2008 : 06:12:00 AM

Hello,

when starting a dialog via OriginC, I get the following error message displayed in the script window (Origin8 SR2, B891):

Error: string ID=-1 from DLL C:\xyz\USERFILESV8\CUSTOMER\DIALOGRESOURCEFILES does not match any dialog item ID


DIALOGRESOURCEFILES is the name of the DLL containing the resources as well as a subdirectory in the CUSTOMER folder.

How can I avoid this error message? Our customer doesn't want to see the script window popping up only because of this error message.

How can I surpress the script window popping up in general?
LT_execute("type.showScript(0)"); doesn't work very well because other applications of the windows task bar will become active for a short time.

Thanks,

Michael Schaum
1   L A T E S T    R E P L I E S    (Newest First)
eparent Posted - 10/17/2008 : 4:47:13 PM
quote:
Originally posted by additive

when starting a dialog via OriginC, I get the following error message displayed in the script window (Origin8 SR2, B891):

Error: string ID=-1 from DLL C:\xyz\USERFILESV8\CUSTOMER\DIALOGRESOURCEFILES does not match any dialog item ID




Hello,

This message appears when a dialog item/control is not found by Origin's DDK. At this time I am not sure if your dialog is at fault or if your dialog has exposed a bug in Origin's DDK. I will need to look into this some more. Can you check the IDs of your dialog controls?

To suppress the message I believe that the message should only appear when the LabTalk system variable, @BD, is set to 1. This variable is set to zero by default. Are you setting it to 1?


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