 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Marko Trebovšek Guest
|
Posted: Thu Jan 25, 2007 7:16 pm Post subject: dll question |
|
|
hello,
is it possible to keep host appl enabled when running dll library?
thx in advance
Borut
Slovenia |
|
| Back to top |
|
 |
Ed Mulroy Guest
|
Posted: Thu Jan 25, 2007 10:10 pm Post subject: Re: dll question |
|
|
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 |
|
 |
|
|
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
|
|