Delphi RAD Studio 10.1 - From Debug to Release

℡╲_俬逩灬. 提交于 2019-12-14 03:25:47

问题


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:

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...

来源:https://stackoverflow.com/questions/44059202/delphi-rad-studio-10-1-from-debug-to-release

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!