Daniel Worthington wrote:
import std.c.windows.windows;
int main(string[] args) {
extern (Windows) HINSTANCE ShellExecuteW(HWND, LPCWSTR, LPCWSTR,
LPCWSTR, LPCWSTR, INT);
HINSTANCE i = ShellExecuteW(null, "open",
"http://www.example.com";, null, null, SW_SHOW);
return 0;
}
Err
I am trying to compile the following code using:
dmd test.d
or
dmd test.d shell32.lib
import std.c.windows.windows;
int main(string[] args) {
extern (Windows) HINSTANCE ShellExecuteW(HWND, LPCWSTR, LPCWSTR,
LPCWSTR, LPCWSTR, INT);
HINSTANCE i = ShellExecuteW(null, "open",
"http://www