Solved

Delphi Hanging on Windows 95

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to center only a line in richedit? 4 77
Delphi application Soap connection 5 151
Intraweb download file link ? 1 183
how can i delete one control based on its tagstring ? 6 57
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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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