ActiveSkin problem and solution

xiaoxiao2021-03-06  65

Description: Compile the compiler compile running can display interface directly EXE does not display

Reason: Every time you run, you have the SKIN that you have developed, so if you write according to the path in the program, if you are written in PSKIN-> Loadskin (T2W ("res // skinmain.skn")); then naturally, compiler Compiling Skinmain in the Resideset, you can also find the RES directory below when you run EXE, but in turn, the simple specified absolute path is not because the program may be copy to not know where

Conclusion: Specify the current directory (this is also a relative path) In the Release and Debug directory and CPP, put a SKIN in the directory in H and set to read only (to prevent it from being deleted when it is removed) // this should be no necessary and Be careful to put Skin and programs in the same directory when publishing

转载请注明原文地址:https://www.9cbs.com/read-120184.html

New Post(0)