#include #include #include #include "test2.h" int main() { printf("Starting...\n"); JvCreateJavaVM(NULL); test2 *ttt=new test2; printf("Otherclass created (%p)\n",ttt); printf("Calling otherclass...\n" ); ttt->CrAdduser(); printf("...And back again, OK\n" ); }