🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Threads in DLLs (a weird problem)

#15264
From: MWP
Date: Mon, 14 Jul 2003 17:55
17 lines
1572 bytes
Hi all...

Is there any special way that threads need to be handled in DLLs?

Ive found that if my app loads a DLL that uses threads, other windows software start to have problems.

If my app loads a DLL that doesnt have threads, the problems dont occour.


The problems are for example:
Some applications wont start until my software ends (Explorer does this).
Some applications wont show dialogs until my software ends.

Maybe my DLLs with threads is somehow stopping other applications from being able to create threads??

Thanks for any help.
Technical Details
Message-ID: <3f12ee7f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!62.132.236.44.MISMATCH!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5457034f6904b31f,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-14 11:11:42 PST
From: "MWP" <mwp@overclockers.com.au>
Sender: "MWP" <mwp@overclockers.com.au>
Reply-To: "MWP" <mwp@overclockers.com.au>
Subject: Threads in DLLs (a weird problem)
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 203.16.214.242 203.16.214.242    
X-Forwarded-For: unknown, 150.101.65.131
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3f12ee7f$1@newsgroups.borland.com>
Date: 14 Jul 2003 10:55:11 -0700
X-Trace: newsgroups.borland.com 1058205311 207.105.83.65 (14 Jul 2003 10:55:11 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!62.132.236.44.MISMATCH!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail