PDA

View Full Version : How to run unarc.dll FreeArcExtract function Async


Yourname
15-02-2026, 03:19
Hello GUYS!

I'm experimenting with unarc.dll in vb.net via winforms. I created a class that helps me with extracting and showing the progress of extraction, and it works fantastically! BUT, it blocks the UI main thread. I wanted to run it asynchronously. I tried using Task.run, Background Workers or another windows, but nothing worked. When I try using them, the extraction doesn't proceed, and it feels like it is stuck, and i have to terminate the program with the task manager! I wanted to ask, does the .dll block me from doing this? is it because it's a 32-bit dll? (i don't think tho) and is there a method to run it in another thread? Thanks! :)


P.S. I know i can just call arc.exe as a process, but i want to incorporate it, without using external exes.

Sergey3695
20-02-2026, 00:31
a method to run it in another thread?
Look this. (https://krinkels.org/threads/primer-ispol-zovaniya-unarc-dll-v-c-winapi.5590/post-45207)

Yourname
07-03-2026, 10:58
Look this. (https://krinkels.org/threads/primer-ispol-zovaniya-unarc-dll-v-c-winapi.5590/post-45207)

Thank you so much, it works perfectly, i just had to modify a bit the dll to have an external callback and remove the russian Language, but it WORKS! Thanks again!