TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Dan Larson
date: 1994-07-31 05:05:16
subject: UPMEULGN LOCKS WPS

Can anyone offer an explanation as to why UPMEULGN seems to halt the system
message queue when called from a PM program?. Called from a VIO program it does
not halt the message queue. I AM callin it from a separate thread, not from my
main WindowProc. The thread that it runs in does not create a message queue
until it is ready to post back to the main thread. The main thread keeps on
going when the logon thread gets blocked on UPMEULGN. It somehow still manages
to halt message passing activity in bursts while it is negotiating with the
remote domain controller. UPMEULGN logging onto a local server does not halt
this way. I have been very careful with my app not to do anything but interface
handling in the main thread and to put ANYTHING that can get blocked into
seperate threads. This problem makes all of that effort for naught during the
logon portion of the program. Note that I am using UPMEULGN and NOT UPM functio

that displays a window. Does this call somehow hook the message queue in a way
that I need to be aware of? If so does it NEED to be in my main thread?

Please forgive my inexperience with PM, but I am faced with learning Lan Server
programming AND PM programming at the same time. I have been programming PM for
4 months now and it feels like a lifetime. My Mountain Dew consumption has
doubled lately... 

___
 * MR/2 1.52 NR * Curiosity didn't kill the cat, I got him with a 12 gauge..

--- WILDMAIL!/WC v4.00h

* Origin: Freezing Point BBS - WDNet HQ - Mpls MN: (1:282/85.0)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 413 430
SEEN-BY: 711/807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 282/85 1 270/101 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808 809
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.