Solved

Delphi Hanging on Windows 95

Posted on 1997-04-21
5
173 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 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