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

Fix calling convention for WNet function pointers #192

Merged
merged 1 commit into from
Jul 27, 2018
Merged

Fix calling convention for WNet function pointers #192

merged 1 commit into from
Jul 27, 2018

Conversation

carlo-bramini
Copy link
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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants