dbTalk Databases Forums  

Calling CPP program in jbase

comp.databases.pick comp.databases.pick


Discuss Calling CPP program in jbase in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default 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.


Regards,
Sairam


Reply With Quote
  #2  
Old   
Kevin Powick
 
Posts: n/a

Default Re: Calling CPP program in jbase - 07-11-2006 , 11:10 AM






sairam.khp (AT) gmail (DOT) com wrote:

Quote:
Hi All,
I m the newest member in this group.
Welcome to CDP.

You will probably have better luck with your jBASE question on their
official newsgroup over at Google Groups.

http://groups.google.com/group/jBASE?lnk=li


--
Kevin Powick


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.