You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and the try to use anything from the bindings crate:
use bindings::Windows::Win32::System;// For examplefnmain(){}
you end up with a linking error. If you would like me to provide the error, please let me know. I didn't want to include it here because of the sheer size...
Workaround
If instead of trying to build WindowsProgramming::*, you instead try to build against a specific function, i.e. WindowsProgramming::GetComputerName, then everything works.
Extra Details
I am using windows crate on the current latest version, 0.17.2, on Windows 10.
The text was updated successfully, but these errors were encountered:
Issue
If you place the following within a bindings sub-crate (build.rs):
and the try to use anything from the bindings crate:
you end up with a linking error. If you would like me to provide the error, please let me know. I didn't want to include it here because of the sheer size...
Workaround
If instead of trying to build
WindowsProgramming::*
, you instead try to build against a specific function, i.e.WindowsProgramming::GetComputerName
, then everything works.Extra Details
I am using
windows
crate on the current latest version,0.17.2
, on Windows 10.The text was updated successfully, but these errors were encountered: