Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when debugging due to file operations in dllmain #72

Open
morallo opened this issue Oct 29, 2022 · 0 comments
Open

Exception when debugging due to file operations in dllmain #72

morallo opened this issue Oct 29, 2022 · 0 comments

Comments

@morallo
Copy link

morallo commented Oct 29, 2022

Calling DeleteAllTempZIPDirectories() when attaching the DLL in dllmain triggers an exception.

From what I have read, it's better not to run complex operations on DLL_PROCESS_ATTACH to dllmain because it's can cause a deadlock. There can only be one dllmain running at any time, so if any other DLL is loaded, the process will hang.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant