Jump to content

DLLCall halts script


Recommended Posts

Is there anyway to do a dllcall that dosn't hold up the script while its going?

i know some dll functions have a callback function that would allow this, but i'm using one where the callback funciton isn't documented or not that i can find. It's for the DeleteProfile fucntion in Userenv.dll

heres a link to the msdn http://msdn.microsoft.com/en-us/library/bb762273(VS.85).aspx

i want to have some sort of progress bar but on some computers the dll call is so slow that the computer thinks the script has frozen..

Link to comment
Share on other sites

Link to comment
Share on other sites

Perhaps you could run it in a new process.

Thought about that too, though he wont get any progress indication. Hmmm, maybe loop calling a DirGetSize()? If you try that, search forum for _DirGetSizeEx, as DirGetSize itself is also blocking :blink: ...
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...