comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Export Bridge Assistant Warning - routine could not be resolved
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Export Bridge Assistant Warning - routine could not be resolved [message #69041] Wed, 16 December 2009 13:07
None[1] is currently offline  None[1]
Messages: 13
Registered: August 2007
Junior Member
Hi,

I am trying to use Export Bridge Assistant for integrating Java and
IDL.But I haven't been successfull.

I have followed all the steps given in the manual. I have set the path
for javaidlb.jar. I have edited the JVM path and Lib location in the
idljavabrc file. But still I am not able to solve the problem.

But still I am getting the following warning.

Warning - routine could not be resolved: test__define

I am using the Export Bridge from Eclipse Galileo. I tried on Windows 7
(64 bit) and also on Windows XP(32 bit) OS.

I tried to ignore that warning and proceed, but I am getting the
following error....

java -DIDL_LOAD_DEBUG -classpath ".;C:\Program Files (x86)\ITT
\IDL71\resource\bridges\export\java\javaidlb.jar" IdlConnect

Java location : C:\Sun\SDK\jdk\jre\bin (set relative to java.home
property)
EBUtils location : C:\Program Files (x86)\ITT\IDL71\resource\bridges
\export\java\..\..\..\..\bin\bin.x86 (set relative to javaidlb.jar)

Successfully loaded idl_ebutil.dll
JavaPALDir location : C:\Program Files (x86)\ITT\IDL71\bin\bin.x86\
BMLDir location : C:\Program Files (x86)\ITT\IDL71\bin\bin.x86\
Successfully loaded idl_bml.dll
Successfully loaded awt.dll
Successfully loaded jawt.dll
Successfully loaded javaidlb.dll

Exception in thread "main" com.idl.javaidl.JIDLException[iErr=-999
sMsg=Attempt
to call undefined procedure/function: 'TEST__DEFINE'.]
at com.idl.javaidl.JIDLPAL.nativeThrowJIDLException(Native
Method)
at com.idl.javaidl.JIDLPAL.throwSpecificException(JIDLPAL.java:
1073)
at com.idl.javaidl.JIDLPAL.throwJIDLException(JIDLPAL.java:
1102)
at com.idl.javaidl.JIDLPAL.createObject(JIDLPAL.java:382)
at com.idl.javaidl.JIDLPAL.createObject(JIDLPAL.java:318)
at com.idl.javaidl.JIDLObject.createObject(JIDLObject.java:
193)
at com.idl.javaidl.JIDLObject.createObject(JIDLObject.java:
103)
at IdlConnect.<init>(IdlConnect.java:14)
at IdlConnect.main(IdlConnect.java:23)


Heres my test programs:

public class IdlConnect extends test__define implements
JIDLOutputListener{
private test__define idlCon;
public IdlConnect(){
idlCon = new test__define();
idlCon.createObject();
idlCon.addIDLOutputListener(this);
idlCon.executeString("PRINT, 'Created Object'");
}
public void IDLoutput(JIDLObjectI obj, String sMessage){
System.out.println("IDL: "+sMessage);
}
public static void main(String[] argv) {
IdlConnect example = new IdlConnect();
}
}

test__define.pro

pro test__define
str="Hello There!!"
print, str
end

the Export Bridge created the test__define.java class

Please advise me if I am missing anything here

Thanks in Advance

Regards,
Raj
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Map Grid Lines Going Missing
Next Topic: Re: GUI and non-GUI objects in Catalyst

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 15:22:42 PDT 2025

Total time taken to generate the page: 1.20084 seconds