Officialy it is not possible. VB6 can only build ActiveX/COM dll files. I have seen some third party gizmo on the web which was able to let VB6 produce _stdcall dll files but did not tested it. Try google, and please share results, if any.
There were a command-line parameter to VB6 compiler to produce dll files, but it never worked for me. Maybe it was in earlier versions...
Good luck
There were a command-line parameter to VB6 compiler to produce dll files, but it never worked for me. Maybe it was in earlier versions...
Good luck
Officialy it is not possible. VB6 can only build ActiveX/COM dll files. I have seen some third party gizmo on the web which was able to let VB6 produce _stdcall dll files but did not tested it. Try google, and please share results, if any.
There were a command-line parameter to VB6 compiler to produce dll files, but it never worked for me. Maybe it was in earlier versions...
Good luck
There were a command-line parameter to VB6 compiler to produce dll files, but it never worked for me. Maybe it was in earlier versions...
Good luck
A friend suggested this addin to VB6, haven't tried it yet... anyone?
Check this software out: http://www.vbadvance.com/download.aspx
It will compile vb6 dll to windows standard dll that metatrader can call. Install it, open your dll project, go to Advance Options (on toolbar!) > Exports tab, and tick all functions. That’s all I think. Just compile your dll and it’s good to go with mt. However, there’re problems calling functions that use String and custom data types.
-charliev
Use Powerbasic instead. It uses Basic syntax and can produce DLLs that can be used with MT4.
It works great.
http://www.powerbasic.com
Coder :)
It works great.
http://www.powerbasic.com
Coder :)
Hello Coder,
Is there a trial version of PowerBasic available? Can you guide me to a link to their trial version please? Much appreciated.
Is there a trial version of PowerBasic available? Can you guide me to a link to their trial version please? Much appreciated.
Use Powerbasic instead. It uses Basic syntax and can produce DLLs that can be used with MT4.
It works great.
http://www.powerbasic.com
Coder :)
It works great.
http://www.powerbasic.com
Coder :)

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
Has anyone had any success creating a .DLL in VB6 to use in MT4? If so, could you share the setup and some sample code?
Codersguru (a very knowledgable post to this board) indicates he's attempted it but never got it to work. He posts a Visual C example - But I'm a VB6 coder....
Any thoughts?
Thanks!
-charliev