Jump to content
vaid

Saved project corrupted upon reopen?

Recommended Posts

Hello!

 

I am very new to SMS and I find it's potential very appealing, and even better that I can develop something modern in Pascal.

 

However my first impressions of it has not been very positive because of several reasons, I will address the first reason here.

 

When I save a project it saves just fine, but when I re-open the project I get the following error:

Unknown name: TApplication

and the unit called "Unit1.pas" does not seem to be saved witth the project.

 

"Unit1.pas" is not available in the Project Manager tree on the left side of the screen upon re-open.

 

Why is this happening?

 

I am using version 2.1.2.3592 on Windows 10.

Share this post


Link to post
Share on other sites

I use SMS version 2.1.2.3592 on Windows 10. and Although it has quirks it works. :)

 

Try this by doing it in steps :

 ================================

From the main menu 
 
1. File ->> Create a new project  >>> Visual component project
 
2. Click the save Icon
 
3. Make a new folder, name it Test1
 
4,Open the folder
 
5. Save the project file to the folder. Name it Test1
 
6. Ensure the save icon is grayed out in the menu
 
7. Add a few components (i.e. buttons)
 
8. Click the save icon.
 
9. Ensure the save icon is grayed out in the menu
 
9. Run the project ( so you can see it running)
 
7. Close the project.
 
8. Then go to File Open Project and open the project file.
 
 
It should open all OK  if not let us know where it fails and any error messages you may get
 
 
Bob

Share this post


Link to post
Share on other sites

Thanks for the help.

 

It seems to be saving fine now, but I'll reserve my statement until I've done some further development on my project.

 

I should also say that the error occured when creating a project from the Template option almost at the bottom of the list.

Share this post


Link to post
Share on other sites

As an also a relatively novice user (less than two months) I can say that IDE is buggy and can crash a lot (especially in designer).

Just make sure you often save project (set up auto saving), otherwise tool and compiler are excellent so you can do a lot with it, and it's worth putting up with it's quirks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×