BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

In Dll, Thread can not be free,why?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Deployment
View previous topic :: View next topic  
Author Message
Weiering
Guest





PostPosted: Fri Jun 27, 2003 1:50 am    Post subject: In Dll, Thread can not be free,why? Reply with quote



I created a Dll usesd Delphi6, in the dll, i created a Tthread instance
named mythread.In MyDllProc procedure of Dll, when Reason is
DLL_PROCESS_ATTACH,I created the mythread and when Reason is
DLL_PROCESS_DETACH,I destroy the mythread.
but now,i meeted the following problem: when destroy the thread
instance,execute code "mythread.free",stoped and not run again. how can i
settle the problem?



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Deployment All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.