🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1147

WTSSEndMessage strange behavior

#1147
From: Andrew
Date: Tue, 30 Oct 2007 09:47
9 lines
1448 bytes
Hi there!

Well what i got here - i'm  debugging an application which is supposed to work on a terminal server under Win2003. the current machine is WinXp sp2. At present i'm working out the troubles pertaining to WTSSendMessage wildy behavior. The messages are sent within background thread on a server application to a specific session user (its a countdown messages saying about how much minutes user has left).  After approximately 6-7 messages thread becomes unstable and i get an access violation errors at a random locations... when i use a regular MessageBox - everything is ok.

Does it has something to do with Xp OS? 
Any help would be appreciated.

Andrew.
Technical Details
Message-ID: <4726fdb0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3ed96c3e16eef368,start
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrew" <andrewxf@gmail.com>
Sender: "Andrew" <andrewxf@gmail.com>
Reply-To: "Andrew" <andrewxf@gmail.com>
Subject: WTSSEndMessage  strange behavior
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 213.85.115.166     
X-Forwarded-For: 192.168.27.62, unknown, unknown
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4726fdb0$1@newsgroups.borland.com>
Date: 30 Oct 2007 02:47:28 -0700
X-Trace: newsgroups.borland.com 1193737648 207.105.83.66 (30 Oct 2007 02:47:28 -0700)
Lines: 9
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail