When I use windjview 0.5 version to open a djvu file . the program shows like this :
WinDjView has encountered a problem and needs to close.
but windjview 0.43 version is ok.
give more details. your OS version , the file itself (if you can upload it some where), .. etc
toshiba m45-s265 laptop
windows xp home edition
windjview 0.5 can open very small size file, 30k
but while the file is 270k , then it crashed.
I recompiled windjview 0.5 using visual c++ 6.0 + sp6
I got the error : like
BIF_USENEWUI, BS_TYPEMASK prolem , I search from google then
#define BIF_USENEWUI 0x0050
#define BS_TYPEMASK SS_TYPEMASK
'CSIDL_COMMON_APPDATA' : undeclared identifier
then I change CSIDL_COMMON_APPDATA to CSIDL_APPDATA'
and CSIDL_FLAG_CREATE , I just didn't use it.
So I can compile it successfully . and Use this compiled windjview 0.5 , it didn't crash, and run well.
I just don't know whether what I did is correct or not? or maybe because I didn't install SDK ?
I foget a very important thing is
(::GetFileVersionInfo(strPathName, dwHandle, dwSize, pVersionInfo) == 0)
cannot convert parameter 1 from 'class CString' to 'unsigned short *
so I have to change it to
if (::GetFileVersionInfo(strPathName.AllocSysString(), dwHandle, dwSize, pVersionInfo) == 0)