Delphi RAD Studio 10.1 - From Debug to Release

2019-08-18 00:25发布

After working pretty hard on a personal project, it is now time to release the application and distribute it.

And suddenly, I realize that all my resources (images, sqlite database etc...) are located in the debug folder... and I fear this was a mistake from the start :)

As you can see on the following screenshot, here is my folder hierarchy:

enter image description here

Pretty wrong isn't it ?

My questions : what should I do ? Is there a way out of this ? Where should I have put my resources in the first place ?

Because, when I launch the compiled release, it works of course, but only because the resources are linked with their full path to them. I suspect it won't work for someone else. God, I feel so stupid not to have thought about that in the first place...

0条回答
登录 后发表回答