Delphi XE4
Am I missing something?
IDEEngine1.ProjectName:=''MyName';
Delphi XE4
Please post some code or even better, provide a sample project so we can check what's going on. If we could be able to compile and run the project on our side, it will be even more helpful.
I'm having same issues and also some components on the mainform are two times created, we have checked all of our sources but it seems that the scripter loads forms / files two times ... somehow.
If you can't send the project please at least post the code you are using to save/load the project in database. Ten seconds seem to be a long time, even if it's doing it twice.
It was someone else that posted again. :)Our problem seemed because we changed filenames to strip off path when saving to DB. But project file still have full-path filenames. Also even if the file is listed without path, when trying to load the project file, it will pass the filename with a backslash in front, e.g. \MyProject.ssproj instead of saved \MyProj.ssproj
We just changed our code to keep orginal filenames and our problems went away.
When we we striiping filenames, we also encountered files being loaded several times so Zorlu, I suggest just leaving filenames alone if you are altering them when load/save to/from DB.
...I meant \MyProject.ssproj instead of saved MyProject.ssproj
Thanks for the feedback Anton.
Hello Anton, thanks a lot for your tip, was away the last days. So i have read your info today and will test that tomorrow.
Thanks again, Brgds, Yusuf