mirror of
https://github.com/moloch--/sliver-py
synced 2026-06-08 16:08:05 +00:00
14 lines
215 B
V
14 lines
215 B
V
import os
|
|
|
|
[callconv: stdcall]
|
|
[export: Main]
|
|
fn output() {
|
|
mut output := os.open_file("test_write.txt", "w") or {return}
|
|
output.write_string("Hello, DLL!") or {return}
|
|
output.close()
|
|
}
|
|
|
|
fn main () {
|
|
output()
|
|
}
|