Jump to content

Recommended Posts

Posted

Hi

 

the undeclared identifier happens after this steps:

a) i open the demo screensize

B) included a new button

c) INCLUDED the new form in the USES section

d) the code is just the show command, so main form can call the second form

when i try to run happens the error undeclared identifier informing that the second unit is not declared!

 

any ideas?

thanks

 

Emiliano

 

post-948-0-99354500-1400381189_thumb.jpg

Posted

unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics,
  Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses,
  uniGUIClasses, uniGUIForm;

type
  TUniForm1 = class(TUniForm)
  private
    { Private declarations }
  public
    { Public declarations }
  end;

implementation

uses
  uniGUIApplication;

{$R *.dfm}


end.

Posted

ok, now the project is running but when i click the button e receive the error

 

Project Sceensize.exe raised exception class EidSocketError !Socket Error # 10054 connection reset by peer .'.

 

the code is just:

Uniform2.show;

 

thanks

Posted

the error message i mantion above happens when i run the app inside the ide

but when i run the executable from the windows explorer it works fine

 

thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...