Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Strange occasional behaviour during logon

Reply
Thread Tools Display Modes

Strange occasional behaviour during logon

 
 
Sven Pran
Guest
Posts: n/a

 
      04-15-2009
I have a program that very occasionally exhibits a strange behaviour when
activated automatically during logon to a Vista user account. The program
decides during its initialization where to position its main window on the
monitor screen, a process that has never failed when it is started manually
or when it is started on one of my machines running 95, 98 or XP.

But when I have this program listed in the "Startup" folder so that it is
started automatically during logon by a user on my Vista machine the program
window occasionally appears in the position assigned at compile time instead
of the position calculated and set by my initialization routine in the
program.

Information that might be relevant:

The machine has dual core CPU and is running Vista Home premium. I have my
systems fully updated and there is absolutely no indication of any malware
on my machine. My programming language is Delphi 2007, the positioniing
routine is included in a separate procedure executed after the main form has
been completely created and before the application is started (Between the
"Application.CreateForm" and the "Application.Run" statements in the dpr
file).

A very long shot is that timing problems during logon can have something to
do with this behaviour (if the logon process is multithreaded with Windows
and Applications running in separate threads), but I cannot say that I have
much faith in such an explanation.

(And yes, I know that the positioning routine has executed successfully so
the incorrect positioning must have been made after the Delphi runtime
system has completed the initialization.)

But I am very interested in comments if anybody recognises the situation?

regards Sven

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange behaviour! Mhaxx Windows Vista Administration 6 10-13-2008 12:07 PM
Strange IMAP behaviour Gingko Windows Vista Mail 0 01-29-2008 06:52 AM
Flip 3D strange behaviour Sandra Windows Vista Performance 5 08-27-2007 12:04 PM
Strange behaviour when using IE7 on Vista Blue Arrow Windows Vista Security 5 07-08-2007 12:52 PM
Strange Vista Behaviour Fuddpucker Windows Vista General Discussion 1 02-09-2007 09:55 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59