help with MT4 and interactivebrokers please

 

I’m a total newbie when it comes to MetaTrader 4 so I could use some understanding :). I’m trying to help someone who uses MetaTrader 4 and wants to place orders through InteractiveBrokers, using IB API. From what I’ve read on the forums, there is no public API for MT4 but apparently there is some way to capture order signals. Can someone please point me to the right direction and advise whether it is possible to call a dll or java function once an order is generated in MT4? Thanks …

 
Declare dll functions like:

#import "winmm.dll"
     int PlaySoundA(string lpszName, int hModule, int dwFlags);
#import "other.dll"
     ...
     ...
#import

Dll must be c/c++ native (like in the '90s). No COM or anything else.
Reason: