BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error with Delphi 7 & Windows XP Professional

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Upgrade
View previous topic :: View next topic  
Author Message
Martin Viant
Guest





PostPosted: Mon Nov 10, 2003 11:15 am    Post subject: Error with Delphi 7 & Windows XP Professional Reply with quote



I don't know whether the error is Delphi 7 or Windows XP Professional.
I am getting a Kernel32.dll error when I try to start my application
in Windows XP Professional.

The application started its life i Delphi 3 Pro, it has gone through
Delphi 4 & Delphi 5 and recently Delphi 7. The aplication currently
runs on Windows 2000 & Windows XP Home but not on a new laptop with
Windows XP Professional.

regards
Martin Viant
Back to top
Yorai Aminov (TeamB)
Guest





PostPosted: Mon Nov 10, 2003 3:15 pm    Post subject: Re: Error with Delphi 7 & Windows XP Professional Reply with quote



On Mon, 10 Nov 2003 22:15:32 +1100, Martin Viant
<martinviant (AT) optusnet (DOT) com.au> wrote:

Quote:
I don't know whether the error is Delphi 7 or Windows XP Professional.
I am getting a Kernel32.dll error when I try to start my application
in Windows XP Professional.

Delphi 7 works just fine on Windows XP, so I'd start debugging.

---
Yorai Aminov (TeamB)
http://develop.shorterpath.com/yorai
(TeamB cannot answer questions received via email.)

Back to top
Andrew Skinner
Guest





PostPosted: Sat Nov 15, 2003 4:55 pm    Post subject: Re: Error with Delphi 7 & Windows XP Professional Reply with quote



If it runs on XP home but not pro it might be access priviliges, either to
parts of the registry or disk folders...

Andrew


Back to top
Mike C
Guest





PostPosted: Sun Nov 16, 2003 10:59 am    Post subject: Re: Error with Delphi 7 & Windows XP Professional Reply with quote

Hi Martin,

"Martin Viant" <martinviant (AT) optusnet (DOT) com.au> wrote

Quote:
I don't know whether the error is Delphi 7 or Windows XP Professional.
I am getting a Kernel32.dll error when I try to start my application
in Windows XP Professional.

The application started its life i Delphi 3 Pro, it has gone through
Delphi 4 & Delphi 5 and recently Delphi 7. The aplication currently
runs on Windows 2000 & Windows XP Home but not on a new laptop with
Windows XP Professional.

regards
Martin Viant

I have read what the others have written so I won't repeat any of this.

Clearly when you have a Kernal32.DLL it gets your attention :)

Since the application started life through various iterations of Delphi this
may be one area in which to look ... messy as that sounds. For example: a
whole lot has changed in hardware, hardware drivers, operating systems etc
since D3 and a whole lot has changed in 3rd party tools as well.

I am far from a guru - I like to track down bugs and kill em.

(1) We know it works on Win2K and XP Home - but not on a laptop with XP Pro.
I do know that some laptops have some fairly weird things happening with
some of their memory resident code (services - both visible and non visible)
that can cause what you describe. VAIO (Sony) is one example but I expect
this is a common thing. I also know that Creative drivers have become
increasing liabilities on any system. This might also be a clue. A place
to start (apart from the issues the others have mentioned) is to pick up a
great little utility written by M Lin of www.mlin.net . Get both the
start-up applet for your control panel and the start-up monitor for ...
well, starting up. You get to see exactly what is happening and can really
do some neat tweaking to see if there might be a connection with some device
drivers etc and your problem. (Additionally, these tools are fantastic at
being warned when something is trying to mess with your start-up files and
registry like viruses or Trojans etc. (Saved me heaps of times!)

(2) We don't know either system configuration - I have heard of misbehaving
BIOS / drivers with ASUS boards for example - even NVIDIA drivers too.

(3) We don't know if any of the operating systems have been patched with the
very latest of everything. Did the product ever work on your lap top or did
it work for a while before falling over? I have first hand sad experience
of installing a security patch from Microsoft that made perfectly happy
applications cough blood. These are tough to track down.

(4) If I recall WIN2K and XP both had Pro versions with specific security
stuff in them. I am not up to date on all this ... I can't recall for
example if the NTFS system of XP is fully backward compatible with say,
WIN2K when you first developed the application.

(5) If it possible to compile differing 'versions' of your application so
that you get something working and then add a module one at a time until it
falls over? Just a thought - may help point you to a starting place.

(6) Please don't be insulted - does any of the units have a virus? There
are well documented situations in which say, a creative EXE does the most
stupid things possible (sometimes randomly) and then WHAM!

(7) I have seem the Microsoft office fast find program (can't recall it's
name right now) cause real hassles - even with Microsoft products
themselves. Could be findfast.exe ... not sure ... I think it speeds up
file indexing.

(Cool This sounds terrible because it probably is .... have you done a
virginal clean install on your laptop with XP PRO? If the problem still
exists then at least you may have excluded a whole lot of other possible
causes.

(9) We don't know if you use a database - earlier versions of BDE and the
database you may have chosen have changed. I have that sometimes a corrupt
database can do what you describe - differs though with operating systems
and BDE versions and the database you use (Interbase for example). Just a
thought.

(10) Does this application run OK on a desktop with XP Pro ... ?

(11) I have heard that turning off the XP themes support can sometimes help
resolve weird behaviour. This might not even apply here.

Like I said, I am not anywhere near as skilled as most of the folk here but
I hope these suggestions are helpful. And if my comments appear to be
disrespectful of your skill or knowledge, please understand that no insult
is intended.

Good luck!

Kind regards,

Mike Culleton
Australia



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Upgrade All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.