Menu

Compatibility: plugin<->NP++

2007-09-13
2012-11-14
  • Nobody/Anonymous

    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)

     
    • Nobody/Anonymous

      Great!
      Compiled with /MT it works at office, too!
      Thanks for all
      GGa

       
    • Harry

      Harry - 2007-09-13

      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

       
    • Nobody/Anonymous

      > 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