Skip to content

phoenicyan/wtl-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wtl-rs

Windows WTL GUI library for Rust This is copy of github.com/varding/wtl-rs with compilation errors fixed for the latest Rust.

Installation

Clone project use commands below:

git clone https://github.com/phoenicyan/wtl-rs
cd wtl-rs\pkg
git clone https://github.com/retep998/winapi-rs.git winapi
cd ..

Example

There is a simple example in examples/GuidGen directory

Prerequisites:

  1. The example uses libclang.dll to convert resource.h into bindings.rs. The DLL can be installed from the link: https://clang.llvm.org.
  2. The .rc file compilation require paths to rc.exe via INCLUDE environment parameter. The INCLUDE is usually provided by vcvars.bat (from VS Native Command Prompt).

Use commands below to build and run:

cd .\examples\GuidGen
cargo build
.\target\debug\GuidGen.exe

Resource

About

WTL - Windows Template Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published