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 

dll question

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Installation
View previous topic :: View next topic  
Author Message
Marko Trebovšek
Guest





PostPosted: Thu Jan 25, 2007 7:16 pm    Post subject: dll question Reply with quote



hello,

is it possible to keep host appl enabled when running dll library?

thx in advance
Borut
Slovenia
Back to top
Ed Mulroy
Guest





PostPosted: Thu Jan 25, 2007 10:10 pm    Post subject: Re: dll question Reply with quote



How does one run a dll library?

What a dll provides is a set of exported functions that you can call. As
far as your program is concerned, they are treated essentially the same as
functions in your own code. You no more run a dll library than you run a
function in your code.

If you wish to do some processing while a function in a dll is also
executing, consider creating a second thread and calling the dll function
while in the context of that new thread. For a way to start a new thread,
look in the help at the description of the functions _beginthread and
_beginthreadNT and in the Win32 help topic Processes and Threads. (Avoid
calling CreateThread - use _beginthread or _beginthreadNT instead.)

.. Ed

Quote:
Marko Trebovšek wrote in message
news:45b8ad65 (AT) newsgroups (DOT) borland.com...
hello,

is it possible to keep host appl enabled when running dll library?

thx in advance
Borut
Slovenia
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Installation 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.