The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> IBM/Rational Functional Tester - RobotJ

Pages: 1
RKY
stranger


Reged: 08/22/06
Posts: 596
Loc: Hyderabad, India
How to Call Dll from Java
      #398600 - 07/17/07 07:32 PM

Everybody,
How to call dll files in RFT. I tried with JNI. Is there any way to perform? I tried this too.

System.Load("C:\test.dll");

How to avail the functions which is written inside the dll.

Your suggesstions are highly appriciable.

--------------------

Hope this helps you,


- RKY


Post Extras: Print Post   Remind Me!   Notify Moderator  
AllenGayModerator
Member


Reged: 04/09/02
Posts: 276
Loc: HB, CA
Re: How to Call Dll from Java [Re: RKY]
      #410897 - 08/28/07 08:43 AM

do you really mean java or .net?

--------------------
www.linkedin.com/in/otwoblue


Post Extras: Print Post   Remind Me!   Notify Moderator  
RKY
stranger


Reged: 08/22/06
Posts: 596
Loc: Hyderabad, India
Re: How to Call Dll from Java [Re: AllenGay]
      #411048 - 08/28/07 08:42 PM

RFT Java

--------------------

Hope this helps you,


- RKY


Post Extras: Print Post   Remind Me!   Notify Moderator  
AllenGayModerator
Member


Reged: 04/09/02
Posts: 276
Loc: HB, CA
Re: How to Call Dll from Java [Re: RKY]
      #415550 - 09/12/07 11:57 AM

that would probably be a no. unfortunately RFT has problems referencing dll's from it's own environment (vb.net) project/solution.

--------------------
www.linkedin.com/in/otwoblue


Post Extras: Print Post   Remind Me!   Notify Moderator  
ramjith
Member


Reged: 08/17/07
Posts: 55
Loc: cochin
Re: How to Call Dll from Java [Re: AllenGay]
      #416019 - 09/13/07 09:02 PM

Hai,

Youjust try these links.

http://java.sun.com/docs/books/jni/html/jniTOC.html
http://www-128.ibm.com/developerworks/edu/j-dw-javajni-i.html

Regards,
Ramjith


Post Extras: Print Post   Remind Me!   Notify Moderator  
AllenGayModerator
Member


Reged: 04/09/02
Posts: 276
Loc: HB, CA
Re: How to Call Dll from Java [Re: ramjith]
      #417163 - 09/18/07 12:56 PM

try this:
http://java.sun.com/j2se/1.5.0/docs/guide/jni/index.html

--------------------
www.linkedin.com/in/otwoblue


Post Extras: Print Post   Remind Me!   Notify Moderator  
sriqtpwr
Member


Reged: 12/17/05
Posts: 32
Re: How to Call Dll from Java [Re: AllenGay]
      #517491 - 09/16/08 08:50 PM

We ran into the same problem which says -
"java.lang.UnsatisfiedLinkError" when trying to load the dll as like - System.LoadLibrary(dll_path);

We are using RFT 7.0.1.2 version. Not sure whether RFT has any solution for this.

Thanks in Advance.


Post Extras: Print Post   Remind Me!   Notify Moderator  
dkas
Member


Reged: 01/28/00
Posts: 91
Re: How to Call Dll from Java [Re: sriqtpwr]
      #719816 - 11/14/12 09:12 PM

Wondering if anyone find a solution to this problem ? I am hitting the same problem. This only happens when you load Dll from RFT script. A plain old java class loads the dll fine.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 8 anonymous users are browsing this forum.

Moderator:  AJ, AllenGay 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 5792

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5