summaryrefslogtreecommitdiffhomepage
path: root/Public/Developer/System.Core/Sources/LibEntrypoint.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Public/Developer/System.Core/Sources/LibEntrypoint.cxx')
-rw-r--r--Public/Developer/System.Core/Sources/LibEntrypoint.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/Public/Developer/System.Core/Sources/LibEntrypoint.cxx b/Public/Developer/System.Core/Sources/LibEntrypoint.cxx
new file mode 100644
index 00000000..b874ef55
--- /dev/null
+++ b/Public/Developer/System.Core/Sources/LibEntrypoint.cxx
@@ -0,0 +1,14 @@
+/** ===========================================
+ (C) Mahrouss Logic
+ ===========================================*/
+
+#include <System.Core/Headers/Heap.hxx>
+
+/// @brief Inits the DLL.
+/// @return if it was succesful or not.
+DWordType __DllMain(VoidType) {
+ kApplicationObject = HcGetInstanceObject();
+ CA_MUST_PASS(kApplicationObject);
+
+ return 0;
+} \ No newline at end of file