What's new

Solved Wait in a DLL?

  • Thread starter SnappiestJack
  • Start date
  • Views 169
Status
Not open for further replies.
S

SnappiestJack

Contributor
Messages
2,942
Reaction score
642
I know you can use Sleep(45); but that puts the dll to sleep im looking for a way to wait so that the dll still runs at the same time.
 
J

jkswoodss

CSS Addict
Messages
533
Reaction score
87
so you are trying to make the .dll execute a process and still be running in the background
 
S

SnappiestJack

Contributor
Messages
2,942
Reaction score
642
Yeh i want to wait in one function but still have the rest of the dll runnig. The sleep function puts the whole dll to sleep not just the function its in.
 
J

jkswoodss

CSS Addict
Messages
533
Reaction score
87
its in c# but you can just use a converter if you are doing it in c++

PHP:
Thread anythinghere = new Thread(new ThreadStart(thethreadyouwanttostarthere));
                anythinghere.IsBackground = true;
                anythinghere.Start();
 
Status
Not open for further replies.
Top Bottom