Create a C++ dll to be called from JAVA and PHP
-
Hi, i need to be able to create a C++ dll that can be call from JAVA or PHP can someone help me get in the right direcction to accomplish this?. By the way can someone tell if the C++ dll that can be called from Visual Basic can be called from JAVA or PHP too?
printf("Error: No keyboard found!"); printf("Press any key to continue");
-
Hi, i need to be able to create a C++ dll that can be call from JAVA or PHP can someone help me get in the right direcction to accomplish this?. By the way can someone tell if the C++ dll that can be called from Visual Basic can be called from JAVA or PHP too?
printf("Error: No keyboard found!"); printf("Press any key to continue");
Calling C++ from Java[^] - or there's this option[^] - I've used JNI successfully, never used J/Invoke. Writing a PHP extension in C++[^] seems to be the accepted way of making native code available to PHP. I have (recently) written code (a DLL) that was available to Java, VB6 and C/C++ - I did that by making different entry-points for each language. The Java and VB entry-points are just shims that convert Java/VB data types into native ones, call into the C/C++ entry point and then convert data types back into Java/VB on the way out. It works fine.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p