Update example of building dll on Windows
Closes #7252.
Change-Id: I9bc2d80deda291d3818c690fc3b36aacf62e0830
PiperOrigin-RevId: 233564393
diff --git a/examples/windows/dll/hello_world-link-to-dll-via-lib.cpp b/examples/windows/dll/hello_world-link-to-dll-via-lib.cpp
new file mode 100644
index 0000000..99f18cc
--- /dev/null
+++ b/examples/windows/dll/hello_world-link-to-dll-via-lib.cpp
@@ -0,0 +1,7 @@
+#include "examples/windows/dll/hello-library.h"
+
+int main() {
+ char *now = get_time();
+ say_hello(now);
+ return 0;
+}