Home > database >  Pb compilation always prompt resource file does not exist
Pb compilation always prompt resource file does not exist

Time:09-29

Compile PB8 program on the server in the company, in the medicine production PBD file, always prompt so-and-so some pictures there is no path, and actual the resource files in that directory,
Feel PB blind, program resource files: with the method of relative path + PBR file, even if the PBR file resource file write not dead into an absolute path, feeling is operating
The problem of system (Windows 2000).

Program on your computer to compile all have no problem, the same program put onto the server compiler error, and in PB8 9506 patch, still the same,


Out which met master, to help solve,

CodePudding user response:

Should be a path problem, don't agree

CodePudding user response:

To put resource file selection, or on a new project, can

CodePudding user response:

In the program if the relative path, then in PBR is written in the relative path

CodePudding user response:

Thank you for your answer, the question remains,
Reply: the original use relative paths, no I not use absolute paths, I try in the path environment variable path directly guide data file directory also not line, and with hateful is prompt 'RES \ login BMP' does not exist, clearly in the project's directory.

Description: the server was fine, like from last week found this problem, until now still not solved, it seems to be reshipment system, want to cry

CodePudding user response:

Add Windows path, the relative path?

CodePudding user response:

After open the PB, open the PROJECT directly, before compilation, don't do anything that might change the operation of PB in the current directory (it includes, select the name of the compiled EXE, choose the PBR file, also won't choose to save the file name when have a compiler warnings, because GETFILEOPENNAME API, changes the current directory), if must choose, select save, after turn off the PB, open another PB, compile directly.


Won't.
  • Related