Hi all. This is my first post. I'm playing with IUP and scintilla control. I'm able to load and save files but I can't use my own .dll lexer. I'm pretty sure it works since I 'm using it without any problem in SCITE text editor.
Here is the call I'm using : IupSetAttribute(app_handles.sci , "LOADLEXERLIBRARY", "Lexiso.dll"); I'm not sure where the lexiso.dll file should be placed, so I first tried to put it on the same folder where the main application is. No success. I then tried to set the full path of my dll in the call but, again, no success. When I say "no success" I mean that I didn't get any compilation or runtime error, but when I load a file in my control, I don't see the text colorised. I suspect there is something missing in my code because I also tried this : IupSetAttribute(app_handles.sci , "LOADLEXERLIBRARY", "not_exist.dll"); in other words, I asked IupSetAttribute() to load a lexer that do not exist. Once again, no errors in compilation or runtime but obviously no result at all. I was expecting some kind of message that warned about the missing .dll. So, what is the correct syntax to load an external lexer ? Where should it be placed ?? Sandro ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
