Solved

Delphi Hanging on Windows 95

Posted on 1997-04-21
5
174 Views
Last Modified: 2012-05-04
I was wondering if you could help me.  If you can't could please forward this message to someone who can?

Environment
Pentium Pro (Clone)
64 MB Ram
2 GB Hardrive
Windows 95a Client
Windows NT Server
Using Sybase SQL Anywhere version 5.500.  
Added the Sybase SQL Anywhere 5.501 patch for Win95.
Using Borland Delphi Version 2.0 Client-Server
Using BDE Version 3.0
Added BDE 3.5 Patch.
Accessing Sybase SQL Anywhere via ODBC driver. (Supplied by Sybase)


Background

I have been using Delphi 2.0 for about six months on a Windows NT machine. Using the same software (Except Sybase pacth for NT of coarse).   I has worked perfectly.   I have recently tried to use a Windows 95 machine.  This cause major problems.


Problem
I am having some "difficulty".   Using the TDatabase component with Sybase SQL Anywhere.   Delphi is "Hanging" when I set a TDatabase to connected = true then false.  

I can access the tables perfectly from Sybase SQL Central and Borland SQL Explorer. This is what I don't understand.

The error happens on all Windows 95 machines.  It does not happen on any Windows NT machines.  

I can produce the error using a single form, and a single TDatabase component.

Questions
Am I missing a patch?
Is there something I can do about it?
Do you think this is a problem with Delphi ?(Be honest)
Do you think this is a problem with BDE?
Do you think this is a problem with SQL Anywhere?

This is very frustrating.
Thanks for reading,
Please Respond

Isaac Alexander
Develus Systems Inc.
develus@pinc.com
0
Comment
Question by:develus
5 Comments
 
LVL 7

Expert Comment

by:RBertora
ID: 1335575
Hi there,

Are you using the latest 95 release, all the patches in the world
won't help if you are using one of those bogus 95 releases.
For months I had never had a problem with 95, while other people
were constantly moaning... There are several versions of 95, I suggest you seriously consider getting the latest release from
a reputable dealer.

Also I think there is a sybase setting during the delphi installation, that may make a difference....

Any way ... I don't think this is a proper answer, just suggestions....

Cheers,
Rob.

0
 

Expert Comment

by:wizzard
ID: 1335576
 I'm of the same opinion about that the main problem is in Windows itself! I'm basing on my own experience with other "LINKING" <g>. I would like to know if:
    1) you are running your proggie from inside DELPHI;
    2) you are connecting to your SyBase during the RunTime or       during Development... here can lie your major problem. :-|

Regards,
   WizzarD.

0
 

Author Comment

by:develus
ID: 1335577
I answered it myself.

Windows 95 needs you to specify what network protocol you are going to use for the odbc datasource. In our case it was Netbios.

the line was:
    dbclient ntserver -x NetBios


Gimme back my points... :)



0
 

Expert Comment

by:wizzard
ID: 1335578
Well, what can I say? ;) It's always better to solve the problem w/o any help from aside... for more experience... :]

   C ya,
     WizzarD.
0
 
LVL 3

Accepted Solution

by:
mheacock earned 120 total points
ID: 1335579
I'm going to have to write that NetBios thing down...I'm
sure I'm about to have a similar problem with a DB app I'm
about to write.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 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