开发者

<native.h> missing, any idea where that should be?

I've been tasked to recompile an old (2005) DLL from 32bits to 64bits.

The projects first told me that <jni.h> could not be found, upon searching, I found that I needed to add an include directory. Now it tells me it can't find <native.h>, but this generic term doesn't return good result on search...

I'm trying to figure out what it contains 开发者_JAVA技巧to fullfill my needs. Any idea?

Oh yeah, I also had a old include directory : g:\MSSDKJava4.0\include. Of course, I don't have that on my computer and upon searching and this SDK seems to be depreciated.


Your DLL is not using JNI, but Microsoft's proprietary native interface called RNI distributed with its Visual J++ product. I suspect that you're pretty much completely out of luck here, as even if you could find a copy of Visual J++, it would not support 64bit.

Basically your situation is exactly what people had in mind when they attacked Microsoft for trying to "embrace and extend" Java with proprietary add-ons.

Looks like you're in for a port / complete rewrite.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜