Open GoogleCodeExporter opened 9 years ago
I'm using Visual Studio 2005 x86 and don't have such issue. Are you trying to
make a x64 build?
Original comment by n3weRm0re.ewer
on 10 Oct 2010 at 12:04
No, I first wanted to compile the x86 version as you can see in the first
output log line. Afterwards, if successful, I want to try a x64 build.
The error is in the following line of code:
hAvatarFolder_ = FoldersRegisterCustomPath(m_szModuleName,"Avatars",
def_avatar_folder_.c_str());
FoldersRegisterCustomPath returns an INT_PTR while the type of hAvatarFolder_
is a HANDLE. Isn't there a cast missing in the code?
Original comment by DeeJayC...@gmail.com
on 10 Oct 2010 at 12:30
@DeeJayChol:
It seems you are using outdated headers
Use the m_folders.h from http://eblis.tla.ro/projects/miranda/Folders/ ,
version 0.1.5.1, it returns an HANDLE:
__inline static HANDLE FoldersRegisterCustomPath(const char *section, const
char *name, const char *defaultPath)
jarvis, can you please uplioad headers to SVN?
Its a pain to collect them and to take care about their versions
Original comment by wishmaster51
on 10 Oct 2010 at 12:43
Thank you, now it compiles successfully. In the Miranda svn, they also use two
different versions for m_folders.h - the one with the INT_PTR in avs, and the
one with the HANDLE in MSN.
Original comment by DeeJayC...@gmail.com
on 10 Oct 2010 at 4:55
Original issue reported on code.google.com by
DeeJayC...@gmail.com
on 28 Sep 2010 at 3:16