Hi,
I just downloaded the latest source files version(4.1.2) and compiled it by VS2005.It failed when I launched exe, and several error messages were displayed:
Load langs.xml failed!
Scintilla error: can not load the dynamic library
Scintilla.init failed!
I checked source codes and found the error happened here, but I don't know why and how to fix it? Is there anybody can help me? Thanks.
_hSelf = ::CreateWindowEx(
WS_EX_ACCEPTFILES | (_isRTL?WS_EX_LAYOUTRTL:0),\
_className,\
"Notepad++",\
WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN,\
// CreateWindowEx bug : set all 0 to walk arround the pb
0, 0, 0, 0,\
_hParent,\
NULL,\
_hInst,\
(LPVOID)this); // pass the ptr of this instantiated object
// for retrive it in Notepad_plus_Proc from
// the CREATESTRUCT.lpCreateParams afterward.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you putting the executable that you create into a standard Notepad++ installation directory and running it from there? It needs support DLLs like SciLexer.dll, and may need to find that info in the registry or relative to an expected path... --Joel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I just downloaded the latest source files version(4.1.2) and compiled it by VS2005.It failed when I launched exe, and several error messages were displayed:
Load langs.xml failed!
Scintilla error: can not load the dynamic library
Scintilla.init failed!
I checked source codes and found the error happened here, but I don't know why and how to fix it? Is there anybody can help me? Thanks.
_hSelf = ::CreateWindowEx(
WS_EX_ACCEPTFILES | (_isRTL?WS_EX_LAYOUTRTL:0),\
_className,\
"Notepad++",\
WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN,\
// CreateWindowEx bug : set all 0 to walk arround the pb
0, 0, 0, 0,\
_hParent,\
NULL,\
_hInst,\
(LPVOID)this); // pass the ptr of this instantiated object
// for retrive it in Notepad_plus_Proc from
// the CREATESTRUCT.lpCreateParams afterward.
Are you putting the executable that you create into a standard Notepad++ installation directory and running it from there? It needs support DLLs like SciLexer.dll, and may need to find that info in the registry or relative to an expected path... --Joel