On Fri, 11 Nov 2005 21:06:31 +0100, Stefan Schmiedl <s@xss.de> wrote:
> [[ Imagine me googling furiously for enumwindows and console application
> ]]
>
more of the same gives a *very interesting* page, where Noel has a problem:
http://www.eggheadcafe.com/ng/micros...st23031214.asp
> For an installer, I created a function (in a DLL) to enumerate all
> running applications and to close any instance of my application. That
> works fine in Windows XP 32-bits and older systems but I was told by a
> user that this no more work on a Win64 systems (my installer is Win32).
> I don't have a Win64 system myself. I created a simple console
> application (see code below) and asked the user to try it on his Win64
> system and he told me that the application never completes and hangs
> somewhere in the enumeration.
....
> Here are the information I obtained from the user regarding his
> configuration: The system is "Microsoft Windows XP Professional x64
> Edition 5.2.3790 (Win2003 Retail) with SP1"
2003 again, eh?
Rhett Gong, (Microsoft Online Partner Support) replies
> I compile your code in this post, and exec following command in my test
> box
and it runs. You can copy and paste the compiled exe from URL given above.
Sadly, the end of the thread is not on egghead, but visible in the
newsgroup
(which, at least on google, lacks the file):
http://tinyurl.com/bnpht
originally (sans line breaks):
http://groups.google.com/group/micro...c.win32.progra
mmer.ui/browse_thread/thread/873970fb816533a/fd5bc62450c6a2c
b%23fd5bc62450c6a2cb?sa=X&oi=groupsr&start=2&num=3
Noel again:
> Your code did work on his system so I rebuilt my code using the latest
> Platform SDK and that did the trick. Thank you.
argh. What does that imply for D5 apps?
s.