This project is read-only.

unable to load scilexer.dll into memory module

Topics: Developer Forum, User Forum
Dec 18, 2013 at 9:41 PM
I'm having the hardest time publishing the scilexer.dll with my project. my program runs beautifully on my local machine but installing it on another machine doesn't get past the initial start up of the program without throwing the error.

can someone out there please help me to be able to distribute this dll with my program.
Jan 2, 2014 at 10:32 PM
The SciLexer.dll (and SciLexer64.dll) needs to be somewhere in the search path. Refer to http://msdn.microsoft.com/en-us/library/7d83bc18.aspx.

If you're still having trouble, you can try calling Scintilla.SetModuleName with the absolute path of the file prior to the first Scintilla control being created. This essentially tells Scintilla not too look for SciLexer.dll in the search path but to load the file at the absolute path you specify.

Jacob