retep998 / winapi-rs

Rust bindings to Windows API
https://crates.io/crates/winapi
Apache License 2.0
1.85k stars 392 forks source link

Link error with winapi::shared::evntrace::{CloseTrace, StopTraceA} #855

Open bobbyz3g opened 4 years ago

bobbyz3g commented 4 years ago

When compiling the project with stable-i686-pc-windows-msvc, I got the following error:

- error LNK2019: unresolved external symbol _StopTraceA@12
- error LNK2019: unresolved external symbol _CloseTrace@4

but when I use stable-x86_64-pc-windows-msvc,I can successfully compile.

tomaswuhua123 commented 3 years ago

Emmm, it seem it only supports 64 bit, by the way when I try to use stable-x86_64-pc-windows-gnu to compile , I cann't make it at all.