Calling CPP program in jbase -
07-11-2006
, 09:56 AM
Hi All,
I m the newest member in this group. I have got a query which
is urgen for me. I have a cpp file(testapi.cpp) which has got all the
function definitions in it . I got a corresponding header file
(testapi.h) which doesnt have declarations for that functions but has
declarations for some other variables. I have one more file(test.h)
which contains all the declarations using DEFC command(Eg: DEFC INT
FBJOB (INT)).
Now i have to invoke this api from my jbase program. so i used
this program to invoke it.
SUBROUTINE NEWTEST.b
INCLUDE /globusjb/r15test/mbdemo/mbdemo.run/TESTAPI/test.h
jobHandle = FBJOB(1)
RETURN
END
can u pls tell me whether this subroutine is correct or not. If so can
u pls tell me what should i do to execute this. Can anyone tell me the
steps to link this cpp file with jbase using jbase 4.1 jcompile
statement. Thanks in advance.