diff --git a/include/uFCoder.h b/include/uFCoder.h
index 72b85d239f3af14eac0eb4fca6b9161f980cd9a8..f9e11de4f982e470146be64d14e21af2d09eaaa0 100644
--- a/include/uFCoder.h
+++ b/include/uFCoder.h
@@ -1,10 +1,10 @@
 /*
  * uFCoder.h
  *
- * library version: 4.0.3
+ * library version: 4.0.4
  *
  * Created on:  2009-01-14
- * Last edited: 2016-06-24
+ * Last edited: 2016-07-05
  *
  * Author: D-Logic
  */
@@ -26,8 +26,8 @@ typedef const char * c_string;
 
 #ifdef _WIN32
 // WINDOWS
-#	ifdef DL_uFC_STATIC_LIB
-#		define DL_API __stdcall
+#	if defined(DL_CREATE_STATIC_LIB) || defined(DL_USE_STATIC_LIB)
+#		define DL_API
 #	else
 #		ifndef DL_uFC_EXPORTS
 #			define DL_API /* __declspec(dllimport) */ __stdcall
@@ -40,7 +40,7 @@ typedef const char * c_string;
 #	define DL_API
 #endif // _WIN32
 
-#if defined(DL_uFC_EXPORTS) || defined(DL_uFC_STATIC_LIB)
+#if defined(DL_uFC_EXPORTS) || defined(DL_CREATE_STATIC_LIB)
 	typedef struct S_UFR_HANDLE * UFR_HANDLE;
 #else
 	typedef void * UFR_HANDLE;
diff --git a/windows/static-x86/libuFCoder-x86.a b/windows/static-x86/libuFCoder-x86.a
new file mode 100644
index 0000000000000000000000000000000000000000..26654e0e00579787048c344bb0cf209b072a9d63
Binary files /dev/null and b/windows/static-x86/libuFCoder-x86.a differ
diff --git a/windows/static-x86_64/libuFCoder-x86_64.a b/windows/static-x86_64/libuFCoder-x86_64.a
new file mode 100644
index 0000000000000000000000000000000000000000..baf0a4dae254b01ae84800a6937df995d839a9d5
Binary files /dev/null and b/windows/static-x86_64/libuFCoder-x86_64.a differ
diff --git a/windows/x86/uFCoder-x86.dll b/windows/x86/uFCoder-x86.dll
index f1b521ce9343291533ae7e0449f1db2bd76b305d..e2e1dfcca98b1f64435bc4bb384b50fbf7c67733 100644
Binary files a/windows/x86/uFCoder-x86.dll and b/windows/x86/uFCoder-x86.dll differ
diff --git a/windows/x86_64/uFCoder-x86_64.dll b/windows/x86_64/uFCoder-x86_64.dll
index ab17d70b5e60065513a1e05c353b0d13d1ab27ca..0c3434a78b74a2e2b0929e9c87cdad6bf8689a86 100644
Binary files a/windows/x86_64/uFCoder-x86_64.dll and b/windows/x86_64/uFCoder-x86_64.dll differ