Joserip
asked on
in something not a structure or union
Do we need to set up anything to avoid getting this message?
request for member `GetStringUTFChars' in something not a
structure or union????
D:\HelloWorld\src>gcc -c -o
HelloWorld.o -ID:/jbuilderX/jdk1.4/incl ude -ID:/jbuilderX/jdk1.4/incl ude
/win32 HelloWorldImp.c
HelloWorldImp.c: In function `Java_HelloWorld_checkProc ess':
HelloWorldImp.c:49: request for member `GetStringUTFChars' in something not
a structure or union
HelloWorldImp.c:51: request for member `FindClass' in something not a
structure or union
HelloWorldImp.c:54: request for member `ReleaseStringUTFChars' in something
not a structure or union
HelloWorldImp.c:62: request for member `ReleaseStringUTFChars' in something
not a structure or union
request for member `GetStringUTFChars' in something not a
structure or union????
D:\HelloWorld\src>gcc -c -o
HelloWorld.o -ID:/jbuilderX/jdk1.4/incl
/win32 HelloWorldImp.c
HelloWorldImp.c: In function `Java_HelloWorld_checkProc
HelloWorldImp.c:49: request for member `GetStringUTFChars' in something not
a structure or union
HelloWorldImp.c:51: request for member `FindClass' in something not a
structure or union
HelloWorldImp.c:54: request for member `ReleaseStringUTFChars' in something
not a structure or union
HelloWorldImp.c:62: request for member `ReleaseStringUTFChars' in something
not a structure or union
Are you compiling Java with C compiler? You use dot-notation, so the C-compiler thinks you refer to structure or union members. I might be completely off, though...
ASKER
when compiling the c program with dev-cpp this error is generated and trying to kill the
process which is running through c by creating dll to access in java ..
process which is running through c by creating dll to access in java ..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.