Solved

BJB2, ListControl and Native code

Posted on 1998-06-17
4
186 Views
Last Modified: 2010-03-30
Nasty one here...
I'm running Borland Java Builderr CLient/Server v. 2.
I've got Borland C builder Professional (1 and 3) and NT 4.0.
I've got a very simple jave program that loads a DLL (System.loadLibrary("")) and then tries to create a borland.jbcl.control.ListControl.
It does not RUN under BJB2, but I can DEBUG it and it works fine. If I try to execute it from the command line, I get a floating point exception and the program crashes.  If I don't load the DLL, it works fine. The DLL contains only a single summy function.
Under BJB, it works fine.
I hope someone out there has come across this one and knows a fix (not using the ListControl is not my favourite option, cos it's  just hiding the bug).
0
Comment
Question by:sprinkmeier
  • 2
  • 2
4 Comments
 
LVL 2

Author Comment

by:sprinkmeier
Comment Utility
Adjusted points to 400
0
 
LVL 2

Accepted Solution

by:
aziz061097 earned 400 total points
Comment Utility
I think BJB uses some other DLL also apart from the one or more DLLs you are using to get the ListControl functionality. This is the reason it works in the BJB environment and crashes otherwise. I have a simple utility (I can e-mail it to you if you need) which will detect all DLLs or libraries a particular DLL requires. With this you will be sure if all DLLs are included. If you load these required dlls you must be able to work fine.
0
 
LVL 2

Author Comment

by:sprinkmeier
Comment Utility
Thankyou, I'll try the utility and see if it solves my problem.
Even if it does not, have the points for the utility alone!
Please email to:
ebor@senet.com.au
0
 
LVL 2

Expert Comment

by:aziz061097
Comment Utility
Hi sprinkmeier,
 
    I have emailed to you the utility. If you do not recieve it please let me know.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Jave - Remove carriage return + special characters from text 3 62
Fibonacci challenge 11 82
endX challenge 2 48
wordlen challenge 3 46
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now