We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Adding *.pss to project.

pr2501
pr2501 asked
on
Medium Priority
302 Views
Last Modified: 2012-05-11

I can not use:
protectorDlg.show;
because of:
Error] registertestU.pas(111): Undeclared identifier: 'ProtectorDlg'

What is wrong?

protrctorDlg.JPG
Comment
Watch Question

Oracle dba
CERTIFIED EXPERT
Top Expert 2009
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
CERTIFIED EXPERT
Top Expert 2011

Commented:
You might be using different spelling than the Form name.
The Form name is "ProtectorDlg" but when you call it in registertestU.pas perhaps you use another character(s) that is similar to one of that name but not matching it. For example "L" when is capitalized is clear but when used as small char it looks exactly as "1" (one) or "I" (capital i). So in your case it could be "ProtectorDIg" or "ProtectorD1g", but similarity is only in human eyes.

If that's not the case, can you attach the code after removing the unnecessary or sensitive data?
Ephraim WangoyaSoftware Engineer
CERTIFIED EXPERT

Commented:

add CheckTrial to your uses clause of registertestU unit


uses
  CheckTrial;

Author

Commented:
Geert_Gruwez where do i check it?

name/type?

next is from *.dfm  for checktrial:

object ProtectorDlg: TProtectorDlg
  Left = 375
  Top = 361
  BorderIcons = []
 .......................
...................

Author

Commented:
I get second if situation in the code in the attached picture.
But even if "registerttestf.close;" is not commented the form still appears.
Why? (or what to do to prevent this?)


formecreate.JPG
CERTIFIED EXPERT
Top Expert 2011

Commented:
Please attach your code after removing any sensitive data (if possible).
Or at least explain what you are doing.
For instance what is "match" and what is "HWRec3" and what is the output as per the "ShowMesasge" used there.

The more information you provide, the clearer the picture becomes.

We are building an idea of the issue based on the information you give.

Author

Commented:
My starting problems was connected to problem of adding *.pss  I have made some confusion because of the *.pss with same name. So because i could not find the error i had to redo it. And with second case i was successful.

So i presume that i should give points to first two answers.

After resolving the error, question how to close form which is checked as main in project option in form window come out.

mainform.close;
does not work. Whay?
CERTIFIED EXPERT
Top Expert 2011
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
thank you
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.