Yesterday I have written a simple plugin for NP++ (thanks to Jens).
It works well (=as designed) on my PC at home. I was so happy, that I decided to bring the DLL at my office, this morning, and to install the plugin on the office PC, and so I discovered that it didn't work.
When I try to execute NP++, I receive a message stating that "LoadLibrary is failed. This plugin is not compatible with current version of NotePad++".
So I installed on the office PC the version NP++ 4.2.2 (the same version I have at home), "over" the old version, but it still didn't work.
So I uninstalled, deleted the program directory and registry entries, reinstalled v.4.2.2 "from scratch", and I had the same result: plugin not compatible.
The operating system is Windows XP prof. SP2 at home, and Windows XP prof. (don't remeber about SP) at office.
What's happening?
How can a plugin be compatible with a version of the program at home, and incompatible at office?
Can anyone help me, please?
TIA
GGa
(again)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You could miss certain libraries such as the C++ Runtime from microsoft. Also, Don Ho recently posted that you should use MultiThreaded runtime library (/MT) and Not multithreaded DLL library, its under C++/Code Generation/Runtime Library in project settings if you use Visual Studio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> You could miss certain libraries such as the C++ Runtime from microsoft.
On my co-worker's office PC, there are two error messages: the first about missing labraries, and the second is as on my office PC. So I don't think that "my" error message is about missing DLLs: it seems to be about the plugin itself (?)
> Also, Don Ho recently posted that you should use MultiThreaded runtime library (/MT) and
> Not multithreaded DLL library, its under C++/Code Generation/Runtime Library
Well, I changed that setting (yes, I use VS). Here (at home) I obtained the same result as with MD (=it works)... i'll check tomorrow at the office.
Thank you very much
GGa
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yesterday I have written a simple plugin for NP++ (thanks to Jens).
It works well (=as designed) on my PC at home. I was so happy, that I decided to bring the DLL at my office, this morning, and to install the plugin on the office PC, and so I discovered that it didn't work.
When I try to execute NP++, I receive a message stating that "LoadLibrary is failed. This plugin is not compatible with current version of NotePad++".
So I installed on the office PC the version NP++ 4.2.2 (the same version I have at home), "over" the old version, but it still didn't work.
So I uninstalled, deleted the program directory and registry entries, reinstalled v.4.2.2 "from scratch", and I had the same result: plugin not compatible.
The operating system is Windows XP prof. SP2 at home, and Windows XP prof. (don't remeber about SP) at office.
What's happening?
How can a plugin be compatible with a version of the program at home, and incompatible at office?
Can anyone help me, please?
TIA
GGa
(again)
Great!
Compiled with /MT it works at office, too!
Thanks for all
GGa
You could miss certain libraries such as the C++ Runtime from microsoft. Also, Don Ho recently posted that you should use MultiThreaded runtime library (/MT) and Not multithreaded DLL library, its under C++/Code Generation/Runtime Library in project settings if you use Visual Studio
> You could miss certain libraries such as the C++ Runtime from microsoft.
On my co-worker's office PC, there are two error messages: the first about missing labraries, and the second is as on my office PC. So I don't think that "my" error message is about missing DLLs: it seems to be about the plugin itself (?)
> Also, Don Ho recently posted that you should use MultiThreaded runtime library (/MT) and
> Not multithreaded DLL library, its under C++/Code Generation/Runtime Library
Well, I changed that setting (yes, I use VS). Here (at home) I obtained the same result as with MD (=it works)... i'll check tomorrow at the office.
Thank you very much
GGa