I've ran into an issue with my DoxyIt plugin. When I close N++, Windows pops up an error message after the N++ window disappears saying that N++ has stopped working. I've tried a clean install of N++ with the default plugins and as soon as I install DoxyIt is when the error starts popping up.
The funny thing is that I only encounter this issue on my machine at work, and not at home. Both are Windows 7 64 bit with N++ 6.3.3 so I'm not sure what is different between the two.
Has anybody else encountered this? Or could someone possibly try installing it from the plugin manager to confirm/deny the issue?
P.S. Are there any tips on debugging such an issue? Obviously I can't run the dll from MSVC 2010.
Likely there is an issue with your dll entry point, namely how it handles attach and detach commands. You may want to take inspiration from existing code of stable plugins. One example may come from http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Analysing_Plugin_Code, but there are other goo choices around.
About debugging, it should work when you compile the plugin and notepad++.exe together, as per http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Plugin_Development#Debugging . I'm assuming your plugin is written in C++; otherwise it might be trickier.
Yes, I did figure it was do to the dll entry point and even attempted some modifications to that part of the code but it didn't help. I'll definitely look at some other code to see if there is anything I need to change.
Yes it is in C++ so I will definitely try that out.
The XBrackets Lite plugin was very helpful. I used the debugging info you pointed me to and tracked down a bad memory issue (which wasn't causing problems on my home PC at all for some reason).
Thanks for the help!
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.