summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/mir_app.def3
-rw-r--r--src/mir_app/src/mir_app64.def3
-rw-r--r--src/mir_core/src/mir_core.def2
-rw-r--r--src/mir_core/src/mir_core64.def2
-rw-r--r--src/miranda32/src/checker.cpp6
-rw-r--r--src/miranda32/src/miranda.cpp6
6 files changed, 14 insertions, 8 deletions
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index 14e239b8f6..29a0ddd771 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -1,5 +1,6 @@
-EXPORTS
+LIBRARY mir_app.mir
+EXPORTS
CallContactService @1
CallProtoService @2
Skin_LoadProtoIcon @4
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index 26677f922c..be37130c97 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -1,5 +1,6 @@
-EXPORTS
+LIBRARY mir_app.mir
+EXPORTS
CallContactService @1
CallProtoService @2
Skin_LoadProtoIcon @4
diff --git a/src/mir_core/src/mir_core.def b/src/mir_core/src/mir_core.def
index 70ee0c1c1d..de7e3dba81 100644
--- a/src/mir_core/src/mir_core.def
+++ b/src/mir_core/src/mir_core.def
@@ -1,4 +1,4 @@
-LIBRARY mir_core
+LIBRARY mir_core.mir
EXPORTS
Langpack_LookupUuid @3
diff --git a/src/mir_core/src/mir_core64.def b/src/mir_core/src/mir_core64.def
index cc345a6ca8..d827389424 100644
--- a/src/mir_core/src/mir_core64.def
+++ b/src/mir_core/src/mir_core64.def
@@ -1,4 +1,4 @@
-LIBRARY mir_core
+LIBRARY mir_core.mir
EXPORTS
Langpack_LookupUuid @3
diff --git a/src/miranda32/src/checker.cpp b/src/miranda32/src/checker.cpp
index 0ba46a5c7f..511e228109 100644
--- a/src/miranda32/src/checker.cpp
+++ b/src/miranda32/src/checker.cpp
@@ -196,7 +196,11 @@ bool TryDeleteFile(const TCHAR *ptszFileName)
/////////////////////////////////////////////////////////////////////////////////////////
-static TCHAR *arDlls[] = { _T("mir_app.dll"), _T("mir_core.dll"), _T("pcre16.dll"), _T("zlib.dll"), _T("libtox.dll") };
+static TCHAR *arDlls[] =
+{
+ _T("mir_app.dll"), _T("mir_core.dll"), _T("pcre16.dll"), _T("zlib.dll"), _T("libtox.dll"),
+ _T("libs\\mir_app.dll"), _T("libs\\mir_core.dll"), _T("libs\\libjson.dll"), _T("libs\\pcre16.dll"), _T("libs\\zlib.dll")
+};
bool CheckDlls()
{
diff --git a/src/miranda32/src/miranda.cpp b/src/miranda32/src/miranda.cpp
index c5751aca4f..d05dc557c4 100644
--- a/src/miranda32/src/miranda.cpp
+++ b/src/miranda32/src/miranda.cpp
@@ -51,16 +51,16 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR cmdLine, int)
GetEnvironmentVariable(_T("PATH"), ptszVal + cbPath + 1, cbSize);
SetEnvironmentVariable(_T("PATH"), ptszVal);
- HINSTANCE hMirApp = LoadLibraryA("mir_app.dll");
+ HINSTANCE hMirApp = LoadLibraryA("mir_app.mir");
if (hMirApp == NULL) {
- MessageBox(NULL, _T("mir_app.dll cannot be loaded"), _T("Fatal error"), MB_ICONERROR | MB_OK);
+ MessageBox(NULL, _T("mir_app.mir cannot be loaded"), _T("Fatal error"), MB_ICONERROR | MB_OK);
return 1;
}
typedef int (WINAPI *pfnMain)(LPTSTR);
pfnMain fnMain = (pfnMain)GetProcAddress(hMirApp, "mir_main");
if (fnMain == NULL) {
- MessageBox(NULL, _T("invalid mir_app.dll present, program exiting"), _T("Fatal error"), MB_ICONERROR | MB_OK);
+ MessageBox(NULL, _T("invalid mir_app.mir present, program exiting"), _T("Fatal error"), MB_ICONERROR | MB_OK);
return 2;
}