A DDE wrapper for Java
Java C++ C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
src
LICENSE
WHATSNEW
build.xml
readme.md

readme.md

A DDE wrapper for Java

Fork of http://code.google.com/p/jdde/.

Build Requirements

Build Steps

Install all requirements (don't forget to choose the C++ Compiler while installing MinGW), then build and copy cpptasks.

    C:\>cd cpptasks-1.0b5
    C:\>set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_25
    C:\>ant
    C:\>copy target\lib\cpptasks.jar "C:\Program Files\WinAnt\lib"

Compile the DDE wrapper.

    C:\>cd googlecode.jdde
    C:\>set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_25
    C:\>set PATH=C:\MinGW\bin;%PATH%
    C:\>gcc --version
    gcc (GCC) 4.5.0
    C:\>ant

That's all folks!

Alternative Build with MinGW-W64 compiler

Compile on an x86-windows host (32bit)

Download and unpack following files.

  • mingw-w32-bin_i686-mingw_20111101_sezero.zip
  • mingw-w64-bin_i686-mingw_20111101_sezero.zip

Set environment variables.

    C:\>cd googlecode.jdde
    C:\>set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_25
    C:\>set MINGW_32=C:\_MINGW\mingw-w32-bin_i686-mingw_20111101_sezero\mingw32
    C:\>set MINGW_64=C:\_MINGW\mingw-w64-bin_i686-mingw_20111101_sezero\mingw64

Compile jdde_32.dll (native compiled) and jdde_64.dll (cross compiled).

    C:\>set PATH=%MINGW_32%\bin;%PATH%
    C:\>ant native32
    C:\>set PATH=%MINGW_64%\bin;%PATH%
    C:\>ant native64

Create a zipped package.

    C:\>ant zip