JNI in CPP plugin
-
I created a exe which calls the createJavaVM from the dll. This works.
I created a new dll with the same code and called the function.
Is there any difference how a plugin dll is loaded in npp?I use Visual Studio 2010 Professional and Visual Studio 2015 Community Edition. Tried creating plugin dll in both, and the issue in creating jvm exists.
-
issue can be resolved by accept a pull request a repository should be here
issue :- https://github.com/larryb82/npp-regexhelper/issues/2
pull request ;- https://github.com/larryb82/npp-regexhelper/pull/3 -
@Narfi-Forshaken said in JNI in CPP plugin:
Is there any difference how a plugin dll is loaded in npp?
I use Visual Studio 2010 Professional and Visual Studio 2015 Community Edition. Tried creating plugin dll in both, and the issue in creating jvm exists..net framework 4.0 should be installed for c# plugin API(x64 build)
for c++ plugin API use latest Plugin Template -
@Narfi-Forshaken said in JNI in CPP plugin:
I created a exe which calls the createJavaVM from the dll. This works.
I created a new dll with the same code and called the function.
Is there any difference how a plugin dll is loaded in npp?see both im.dll and im.exe project for npp and windows https://github.com/viper3400/RegExTractor
im.dll for npp plugin hows it works
https://github.com/viper3400/RegExTractor -
@gurikbal-singh said in JNI in CPP plugin:
im.dll for npp plugin hows it works
https://github.com/viper3400/RegExTractor -
- if
- Write a script using clojure (a lisp dialect) on jvm.
- Write a script using clojure-clr (a lisp dialect) on .net.
- and
- JVM and .net have a very strong ecology
- Clojure is better than elisp
- Notepad++ is better than emacs
- Then
- Notepad++ will become emacs#
EMACS --> Notepad++ elisp --> Clojure / Clojure-CLR
- if
-
@gurikbal-singh I am already using the latest plugin for development, the one provided in the link. I also have the .rc file as stated by the issue you linked above.
-
@linpengcheng I will try this and update
-
@linpengcheng While trying using Clojure, I moved the CreateJVM function from pluginInit function to plugin menu item.
This creates a JVM without any issue. -
@Narfi-Forshaken You can refer to the following project on github :
A JavaScript formatter and a JSON parser implemented in Java