Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
How to call C++ functions from Java?
Following are the steps to use native methods.
- Create a header file (.h file) for a CPP program.
- Create CPP file
- Create a DLL
- In java code, declare the method as native, load the DLL using System.loadLibrary() method and call the method.
Advertisements
