- Search Crypto Craft
-
stratman replied Dec 27, 2011MT4 DLL: Build the DLL — The group of functions that start with "MT4_EXPFUNC int __stdcall" need to be 'wrapped' with an 'extern c' directive. Open the cpp file and add the beginning and end of directive as follows: image image Build the ...
c++ dll tutorials using eclipse
-
stratman replied Dec 27, 2011MT4 DLL: Project Properties — Open the project settings: image Compiler settings need no changes: image Linker settings (stdcall): image Linker settings (def file): image Output file name. Remove the 'lib' prefix: image
c++ dll tutorials using eclipse
-
stratman replied Dec 27, 2011MT4 DLL: Add Files to Project — Copy the def file into the project: image image Copy the cpp file into the project: image image The project structure needs to end up looking like this: image
c++ dll tutorials using eclipse
-
stratman replied Dec 27, 2011MT4 DLL: Create Project & Source Folder — I will take this quite slowly i.e. showing every step clearly so that people shouldn't get lost. Metaquotes provides example dll source code in the following directory. We need only two of the ...
c++ dll tutorials using eclipse
-
stratman replied Dec 27, 2011VM Player: No operating system found — This is because you have created a virtual machine (computer) but haven't installed an operating system in it. Think of it as having a computer with a blank hard disk. It's not enough to choose what ...
c++ dll tutorials using eclipse
-
stratman replied Dec 27, 2011Lot's more to come — There's lot's more to come ... but that's enough for today
What's coming: create a MT4 DLL make a static DLL with a MT4 DLL wrapper add the 'CUTE' unit testing framework create and run some unit tests install and ...c++ dll tutorials using eclipse
-
stratman replied Dec 27, 2011Test that eclipse is working — As long as you installed the java virtual machine as described earlier, you can run eclipse by double-clicking the eclipse.exe file. I normally create a shortcut on the desktop because I open it so often. image ...
c++ dll tutorials using eclipse
-
stratman replied Dec 27, 2011Install eclipse cdt IDE — eclipse is an IDE that supports numerous plugins. On the download page, you're confronted with a huge list of eclipse packages for download. image In the above picture, I pointed to the package most suitable to our ...
c++ dll tutorials using eclipse
-
stratman replied Dec 27, 2011Test MinGW installation — Open a command prompt: image image If MinGW is installed and you added c:\mingw\bin to your path, then executing: g++ --help should give you a similar output to the following: image
c++ dll tutorials using eclipse
-
stratman replied Dec 26, 2011Installing the toolchain: MinGW — The simplest way to get the latest version is by going to the MinGW sourceforge site: http://sourceforge.net/projects/mingw/files/ The most current install should be listed on that page: image Be sure to ...
c++ dll tutorials using eclipse
-
stratman replied Dec 26, 2011eclipse ... love it — Thanks for your contribution ... looks great. I use eclipse for my dll work and never thought to use it as my mql editor. I just started putting an eclipse thread together today .. to help people making dlls. I have a lot ...
Eclipse plugin MQL Editor
-
stratman replied Dec 26, 2011cloning vm master continued ... — Setup shared folders (note you may need to re-enable this after first restart): image Start the copied virtual machine: image IMPORTANT: select 'moved' even though the machine is a copy!: image Change ...
c++ dll tutorials using eclipse
-
stratman replied Dec 26, 2011Clone your master virtual machine — My master vm is in a directory "winxpsp3" image The files in the directory look like this: image Copy and paste the directory that contains your master vm: image Rename the new directory to something ...
c++ dll tutorials using eclipse
-
stratman replied Dec 26, 2011A master virtual machine — I like to keep a single installed virtual machine 'safe' as a master i.e. it has an operating system will all updates plus a few essential 3rd party tools. Today, this master is a 32 bit version Windows XP with SP3 ...
c++ dll tutorials using eclipse
-
stratman replied Dec 26, 2011Installation is not really 'installing' — Installation is not really 'installing'

MinGW and eclipse are just a bunch of files on our c: drive. We can zip their directories and unzip them on another windows pc and eclipse with the ...c++ dll tutorials using eclipse
-
stratman replied Dec 26, 2011IDE: Integrated Development Environment (Eclipse) — I really like eclipse. It's big plus is ability to program multiple languages within a single environment. I've used it for python, php, java and c++. It really is quite amazing. It runs ...
c++ dll tutorials using eclipse
-
stratman replied Dec 26, 2011toolchain: the compiler and more (MinGW) — Because my code is cross-platform, it will be compiled on each operating system it is to run on e.g. windows, linux etc. The compiler and linker products are often referred to as the toolchain. In ...
c++ dll tutorials using eclipse
-
stratman replied Dec 26, 2011compiling and linking — image The picture demonstrates the compiling and linking process. In short, a compiler creates object files from our sources files. There will usually be an object file created for each translation unit (typically ...
c++ dll tutorials using eclipse
-
stratman replied Dec 26, 2011DLL: what is a dll? — A Dynamic-link library (also written without the hyphen), or DLL, is Microsoft's implementation of the shared library concept in the Microsoft Windows and OS/2 operating systems. These libraries usually have the file ...
c++ dll tutorials using eclipse
-
stratman replied Dec 26, 2011c++: how to learn — image Programming in c++ is not for the faint of heart. I am experienced in quite a few programming languages and c++ was definitely the most difficult to learn. There was one website that helped me a lot ... ...
c++ dll tutorials using eclipse