Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-28-2007, 05:34 AM
Junior Member
 
Join Date: Nov 2007
Posts: 2
draho is on a distinguished road
Question How to use DLL in MQL4

Hello,

I would like to use a DLL which includes some functions to work with POP3 protocol like Connect, Delete, Retrieve etc. I don't know how to define that DLL and those functions in MQL4 in order to get it work.

Once it is defined and I am able to use those functions I am able to code what I need.

I would very appreciate if anybody helps me start !

This is the link to the website with the description of the component Component (click on Pivo.POP3) because I don't even know whether it is possible to use this DLL in MQL4 environment.



Thanks a lot in advance!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-28-2007, 04:05 PM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Quote:
Originally Posted by draho View Post
Hello,

I would like to use a DLL which includes some functions to work with POP3 protocol like Connect, Delete, Retrieve etc. I don't know how to define that DLL and those functions in MQL4 in order to get it work.

Once it is defined and I am able to use those functions I am able to code what I need.

I would very appreciate if anybody helps me start !

This is the link to the website with the description of the component Component (click on Pivo.POP3) because I don't even know whether it is possible to use this DLL in MQL4 environment.



Thanks a lot in advance!
Hi. Here is a link to the basics of creating MT4 compatible DLL's

Mistigri - Articles
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-29-2007, 02:41 AM
Junior Member
 
Join Date: Nov 2007
Posts: 2
draho is on a distinguished road
Hello,
I just want to use that DLL. I am not able to write my own DLL that's why I want to use that one if possible.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-29-2007, 10:20 AM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Quote:
Originally Posted by draho View Post
Hello,
I just want to use that DLL. I am not able to write my own DLL that's why I want to use that one if possible.

Thanks
If this DLL has not been specifically formatted and compiled for MT4 (as explained in the link I posted) it will not work - this is the reason Metaquotes supply a sample DLL. If as you claim, you are unable to create your own, best hire a programmer, it may cost as little as $50, though DLL creation may incur an additional charge...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-30-2007, 05:18 PM
Member
 
Join Date: Jul 2007
Posts: 61
Ghamm is on a distinguished road
Be real careful when you have a DLL that is calling a Com object..
You'd be way better off using Native code to do SMTP or POP3..

What language do you code in? C++, Delphi?
Which compiler of C++? Use some native Socket code.. Your dll will run much better.





Quote:
Originally Posted by draho View Post
Hello,

I would like to use a DLL which includes some functions to work with POP3 protocol like Connect, Delete, Retrieve etc. I don't know how to define that DLL and those functions in MQL4 in order to get it work.

Once it is defined and I am able to use those functions I am able to code what I need.

I would very appreciate if anybody helps me start !

This is the link to the website with the description of the component Component (click on Pivo.POP3) because I don't even know whether it is possible to use this DLL in MQL4 environment.



Thanks a lot in advance!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Arrays in MQL4 clippertm Questions 5 08-11-2008 01:16 AM
Welcome to the MQL4 course codersguru Metatrader 4 mql 4 - Development course 84 05-18-2008 05:59 PM
Mql4 To Mqlii leshammond Metatrader 4 1 09-28-2007 05:00 AM
www.mql4.com DeSt Metatrader 4 18 02-01-2006 11:59 PM


All times are GMT. The time now is 01:39 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.