Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Fix calling convention for WNet function pointers#192

Merged
craigwi merged 1 commit intomicrosoft:masterfrom
carlo-bramini:master
Jul 27, 2018
Merged

Fix calling convention for WNet function pointers#192
craigwi merged 1 commit intomicrosoft:masterfrom
carlo-bramini:master

Conversation

@carlo-bramini
Copy link
Copy Markdown
Contributor

I tried to compile latest WinFile with a project created by me and I got a crash immediately after the application was started: in my opinion, this happened because the pointers to WNet functions are not declared for using __stdcall calling convention.
After doing the fix described in this PR, the issue disappeared.
The bug could be also by-passed by forcing default calling convention to __stdcall, but in this way the code looks more correct.

Sincerely.

@msftclas
Copy link
Copy Markdown

msftclas commented Jul 26, 2018

CLA assistant check
All CLA requirements met.

@craigwi craigwi merged commit cca6df3 into microsoft:master Jul 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants