Solved

Delphi Hanging on Windows 95

Posted on 1997-04-21
5
183 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

696 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