"some error" in MetaTraderAPIExample2
hi,
you can see this example
it was in vb.net and have all functions you need to work with metatrader api's
download this example:
http://www.fxfisherman.com/site/inde...13_fileid =21
you can see this example
it was in vb.net and have all functions you need to work with metatrader api's
download this example:
http://www.fxfisherman.com/site/inde...13_fileid =21
Thanks matef_fci,
You are more than correct, although I believe the following link works best:
http://www.fxfisherman.com/forums/tools-utilities/90-mt3-api-vb-net-c.html?highlight=metatrader+vb.net
And for the other readers, it is also possible to download the .net API from here:
www.fxfisherman.com/downloads/MT3API_dotNet.zip
The server is "66.114.106.68", port 1950
Take care and thanks again.
KB
You are more than correct, although I believe the following link works best:
http://www.fxfisherman.com/forums/tools-utilities/90-mt3-api-vb-net-c.html?highlight=metatrader+vb.net
And for the other readers, it is also possible to download the .net API from here:
www.fxfisherman.com/downloads/MT3API_dotNet.zip
The server is "66.114.106.68", port 1950
Take care and thanks again.
KB
1) My first problem is that when I try to connect with MetaTraderAPIExample2, using a demo account. The message I get is "some error". Is this normal? What is currently the address of the MIG-demo server? Why can't I connect?
2) Also, would it be possible to do the operator "const char *" in languages that don't support these pointers, like VB.net? Does that mean that we must stick to C++ or equivalent? Is there a workaround? Would there be a more "fun" way to do this, like pass a string instead?
3) Now assume that my connection to server failed and did not return an error, probably because the request is not synchronous. Then, I place an order through the mtapi.dll and I don't even receive an error message from the API. If the *.dll is not connected, why does it accept orders?
Thanks,