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
 Resource String ID and Script Window
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

additive

Germany
109 Posts

Posted - 10/07/2008 :  06:12:00 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic

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

eparent

118 Posts

Posted - 10/17/2008 :  4:47:13 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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?

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