Click here to Skip to main content
15,886,110 members
Articles / Programming Languages / Visual C++ 9.0

Debugging a JNI Application using Netbeans and Visual Studio

Rate me:
Please Sign up or sign in to vote.
4.69/5 (13 votes)
14 May 2012CPOL8 min read 102.6K   1.2K   17  
This article shows how to create a Java Swing GUI application in Netbeans and interface it with JNI DLL.
========================================================================
    DYNAMIC LINK LIBRARY : NativeAdd Project Overview
========================================================================

AppWizard has created this NativeAdd DLL for you.

This file contains a summary of what you will find in each of the files that
make up your NativeAdd application.


NativeAdd.vcproj
    This is the main project file for VC++ projects generated using an Application Wizard.
    It contains information about the version of Visual C++ that generated the file, and
    information about the platforms, configurations, and project features selected with the
    Application Wizard.

NativeAdd.cpp
    This is the main DLL source file.

	When created, this DLL does not export any symbols. As a result, it
	will not produce a .lib file when it is built. If you wish this project
	to be a project dependency of some other project, you will either need to
	add code to export some symbols from the DLL so that an export library
	will be produced, or you can set the Ignore Input Library property to Yes
	on the General propert page of the Linker folder in the project's Property
	Pages dialog box.

/////////////////////////////////////////////////////////////////////////////
Other standard files:

StdAfx.h, StdAfx.cpp
    These files are used to build a precompiled header (PCH) file
    named NativeAdd.pch and a precompiled types file named StdAfx.obj.

/////////////////////////////////////////////////////////////////////////////
Other notes:

AppWizard uses "TODO:" comments to indicate parts of the source code you
should add to or customize.

/////////////////////////////////////////////////////////////////////////////

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Product Manager Mahindra & Mahindra
India India
Sharjith is a Mechanical Engineer with strong passion for Automobiles, Aircrafts and Software development.

Comments and Discussions