You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: mql4zmq.c
-28
Original file line number
Diff line number
Diff line change
@@ -26,34 +26,6 @@
26
26
27
27
libzmq.dll NOTE: After building the solution, copy ../../../lib/libzmq.dll to c:\Windows\SysWOW64\libzmq.dll so that our bindings and other applications can access ZeroMQ.
28
28
29
-
NOTE: if error #126 happens on loading of mql4zmq.dll then we need to make certain that the DLL is statically linking it's dependencies. Below are directions on how
30
-
to do this. Originally taken from: http://www.rhyous.com/2010/09/16/avoiding-the-msvcr100-dll-or-msvcr100d-dll/
31
-
32
-
Statically Linking the DLLs
33
-
34
-
Make sure you resolve it for both Release and Debug. The steps are slightly different.
35
-
36
-
Release
37
-
38
-
In Visual Studio, I went to the project Properties.
39
-
I changed my Configuration to Release.
40
-
I went under Configuration Properties | C/C++ | Code Generation
41
-
Look at the Runtime Library setting. It is set to this: Multi-threaded DLL (/MD)
42
-
Change it to this: Multi-threaded (/MT)
43
-
Rebuild.
44
-
45
-
Debug
46
-
47
-
Almost exactly the same as release.
48
-
49
-
In Visual Studio, I went to the project Properties.
50
-
I changed my Configuration to Debug.
51
-
I went under Configuration Properties | C/C++ | Code Generation
52
-
Look at the Runtime Library setting. It is set to this: Multi-threaded Debug DLL (/MDd)
Copy file name to clipboardexpand all lines: mql4zmq.h
-28
Original file line number
Diff line number
Diff line change
@@ -26,34 +26,6 @@
26
26
27
27
libzmq.dll NOTE: After building the solution, copy ../../../lib/libzmq.dll to c:\Windows\SysWOW64\libzmq.dll so that our bindings and other applications can access ZeroMQ.
28
28
29
-
NOTE: if error #126 happens on loading of mql4zmq.dll then we need to make certain that the DLL is statically linking it's dependencies. Below are directions on how
30
-
to do this. Originally taken from: http://www.rhyous.com/2010/09/16/avoiding-the-msvcr100-dll-or-msvcr100d-dll/
31
-
32
-
Statically Linking the DLLs
33
-
34
-
Make sure you resolve it for both Release and Debug. The steps are slightly different.
35
-
36
-
Release
37
-
38
-
In Visual Studio, I went to the project Properties.
39
-
I changed my Configuration to Release.
40
-
I went under Configuration Properties | C/C++ | Code Generation
41
-
Look at the Runtime Library setting. It is set to this: Multi-threaded DLL (/MD)
42
-
Change it to this: Multi-threaded (/MT)
43
-
Rebuild.
44
-
45
-
Debug
46
-
47
-
Almost exactly the same as release.
48
-
49
-
In Visual Studio, I went to the project Properties.
50
-
I changed my Configuration to Debug.
51
-
I went under Configuration Properties | C/C++ | Code Generation
52
-
Look at the Runtime Library setting. It is set to this: Multi-threaded Debug DLL (/MDd)
0 commit comments