Vishal, Thank you, for your good advise/feedback —)
//Checked out revision 263, XP, VS2005:
LexMySQL.cxx and LexMySQL.h are not included in http://sourceforge.net/projects/scintilla/files/scintilla/1.72/scintilla172.zip/download I included both files from revision 263. I put entry “LINK_LEXER(lmMySQL);” in file 'KeyWords.cxx'.
The obtained DLL 'SciLexer.dll' works properly in SQLYog!
I prefer to link a static build version of scintilla172 in SQLYog
I build scintilla172 als library output, and linkt it in SQLYog, I changed in WinMain.cpp linenumber 123:
#ifdef STATIC_BUILD
Scintilla_LinkLexers();
Scintilla_RegisterClasses(hinstance);
#else
VERIFY(hsci = ::LoadLibrary(L”SciLexer.dll”));
if(!hsci)
{
DisplayErrorText(GetLastError(), “Error loading SciLexer.dll”);
VERIFY(FreeLibrary(hsci));
return 0;
}
#endif
Static build version works properly also (in 32 bits),
Greeting Jan Marco