poidasmith / winrun4j

WinRun4J Java Application Launcher
http://winrun4j.sourceforge.net
212 stars 63 forks source link

When switching from old Win4j 32bit to new 64bit, DDE stopped working #101

Open NikolaiVChr opened 2 years ago

NikolaiVChr commented 2 years ago

Program worked fine with an old Win4J 32 bit, but DDE activation don't work with new 64 bit Win4J.

In ini I have these:

dde.enabled=true
dde.class=com.Main
dde.server.name=com
dde.topic=open
single.instance=dde

In the Main I have:

public static native void ready();
public static void activate(final String[] args) {
   // stuff here
}

And ready() is called during initializer.

Any suggestions?

NikolaiVChr commented 2 years ago

Oh, and it say this in command line:

[info] Registering natives for Native class
[warn] Could not find Native class
[info] Initializing DDE