pu369com

2021年9月7日

rust win32api EnumWindows

摘要: 1 Cargo.toml [package] name = "hellowinapi" version = "0.1.0" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/carg 阅读全文

posted @ 2021-09-07 17:59 pu369com 阅读(518) 评论(0) 推荐(0) 编辑

RUST编写和调用DLL

摘要: 1 执行 cargo new hellolib --lib 创建库项目 修改 cargo.toml [lib] name = "myfirst_rust_dll" #生成dll的文件名 crate-type = ["dylib"] lib.rs #[no_mangle] pub extern fn 阅读全文

posted @ 2021-09-07 16:30 pu369com 阅读(7711) 评论(0) 推荐(0) 编辑

导航