FW: Calling gcc built DLL from .NET (Visual Basic)

2003-06-06 Thread Thomas X. Hoban
7:21 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Calling gcc built DLL from .NET (Visual Basic) From: Thomas X. Hoban thoban at verbalogic dot com Does anyone have a good example that shows how

Linking with JNI Invoke Using Cygwin gcc

2003-06-06 Thread Thomas X. Hoban
I have written a DLL and a test program that uses the JNI api to invoke a JVM. When I try to link with a test program, I get an error indicating that a reference to [EMAIL PROTECTED] is undefined. $ export JAVA_HOME=/cygdrive/c/j2sdk1.4.1_02 $ g++ -c –I$JAVA_HOME/include

Calling gcc built DLL from .NET (Visual Basic)

2003-06-04 Thread Thomas X. Hoban
Does anyone have a good example that shows how to create a DLL using cygwin/gcc and call it using VB .NET? I am specifically interested in an example that shows how to pass a String variable. In the example that I show below, I am able to call a C function. I can successfully pass a long