Michael.staszewski
> I grabbed the 3.6.5 source once again and built it with Visual Studio 2010 and I get the AVs. I do not with your DLL. I see the same behavior in older versions of Scintilla as well.
I use Visual Studio 2015. With SUPPORT_XP turned on but that isn’t needed and won’t work for Visual Studio 2010.
> I'll add some checks to only attempt the string clone for those notifications that have valid text and try again, but that wouldn't explain why your DLL works fine and the one I build does not. I didn't know if there was some build environment setting you could think of that makes my DLL incompatible with older Windows OS.
Windows XP support was ended by Microsoft in 2014 and their recent compilers have limited and sometimes buggy support for XP. However, Visual Studio 2010 should support XP as long as it has SP 2.
https://www.microsoft.com/en-au/WindowsForBusiness/end-of-xp-support
While there would be benefits to tracking this down and fixing it, it may take much effort so you may be better off using a different compiler, possibly gcc through a MinGW download.
Neil