Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about kernel32

Read more about kernel32

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - kernel32

Does ReplaceFile fail with ERROR_SHARING_VIOLATION because of race condition?

This is a simplification of a problem I encounter. There are 2 process: one that loops over ReplaceFile [DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Auto)] static extern...
test-img

Zvi Azran

c#

windows

file-permissions

race-condition

kernel32

Votes: 0

Answers: 1

Latest Answer

There is no good solution but hopefully this explanation will help someone in the future. This problem can be simplified further by having the second process just opening the file before the first. st...
test-img

Zvi Azran

FreeLibrary not working on Loaded C++ DLL

I'm using an external DLL which is written in C++. It's a cURL Wrapper. I do not have access the code, just DLL. //Import kernel32 DLL static class NativeMethods { [DllImport("kernel32.dll&qu...
test-img

Mre Sie

c#

curl

dll

kernel32

Votes: 0

Answers: 0

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved