Alleloeja!!

Hey guys,

I have to admit it’s been a while. But here I am again 😀

Today I saw this post on the serverside. And I have only one word for it Alleloeja.

Just look at this piece of code


import com.jinvoke.JInvoke;
import com.jinvoke.NativeImport;

public class Example {
@NativeImport(library="User32")
public static native int MessageBox(int hwnd, String text, String caption, int type);

public static void main(String[] args) {
JInvoke.initialize();
MessageBox(0, "This MessageBox is a native Win32 MessageBox", "Caption", 0);
}
}

Why did it take this long to actually do this?

In C# you could do this right from the start. Well beter late than never probably?

2 Replies to “Alleloeja!!”

Leave a Reply