![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
i have just install VS2019 , but cl.exe is not in enviroment path iadd in enviroment path i add cl.exe (64bit) i opena file text i past this code
i call by cmd the cl.exe like this
but return
Microsoft Windows [Version 10.0.19045.3448]
(c) Microsoft Corporation. All rights reserved.
C:\Users\pct>cl
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30151 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
C:\Users\pct>cd C:\Users\pct\source\repos\Dlltest\Debug
C:\Users\pct\source\repos\Dlltest\Debug>cd C:\Users\pct\Desktop\test-dll-mql4
C:\Users\pct\Desktop\test-dll-mql4>cl.exe /LD sampledll.cpp /link user32.lib
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30151 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
sampledll.cpp
sampledll.cpp(1): fatal error C1034: windows.h: no include path set
C:\Users\pct\Desktop\test-dll-mql4>
cl cannot locate the INCLUDE folder
cl.exe /LD sampledll.cpp /link user32.lib /I <the include folder for windows>
i hope i remember correctly for the cmd-line param.