We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Resource path in fileUtils isn't alway right
Resource path in fileUtils isn't alway right
Bug #3418 [Closed]
Redmine issue system is closed, we are using github issue system instead.
This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8286
Status: | Closed | |
---|---|---|
Start date: | 2013-12-17 | |
Priority: | Low | |
Due date: | ||
Assignee: | - | |
% Done: | 0% |
|
Category: | windows | |
Target version: | - |
the resource path generated by checkPath is the CurrentDirectory. But the CurrentDirectory doens’t necessary needs to be the directory where the .exe is. In order to get the right directory in Windows I propose the following change incheckPath()
In order to build the following file needs to be included in CCFileUtilsWin32.cpp:
#include “Shlwapi.h”
and Shlwapi.lib needs to be linked to libcocos2d