Reputation: 75
1028: The native API api-ms-win-core-synch-l1-2-0.dll:OpenEventA() isn’t allowed in assembly AnylyncRuntimeComponent.dll. Update it and then try again.
1028: The native API api-ms-win-core-synch-l1-2-0.dll:CreateEventA() isn’t allowed in assembly AnylyncRuntimeComponent.dll. Update it and then try again.
1028: The native API api-ms-win-core-synch-l1-2-0.dll:CreateEventExA() isn’t allowed in assembly AnylyncRuntimeComponent.dll. Update it and then try again.
Can please help to fix this issue .
Upvotes: 0
Views: 385
Reputation: 12019
You need to build for Unicode -- if your source code calls "OpenEvent" then it is actually replaced by the pre-processor by either the "A" or "W" version depending on whether you're building for ANSI or Unicode.
If you don't use those APIs at all yourself, it means you're linking with someone else's code that wasn't built for Unicode, and you need to ask them to provide you with a Unicode version.
Upvotes: 1