Sofia Bulgaria
Experience: Intermediate
Platform: MetaTrader, MultiCharts
Trading: Forex, ES, GC, strange synthetic creatures
Posts: 40 since Nov 2014
Thanks Given: 41
Thanks Received: 34
|
You can call your function only with *one* signature, function overloading (one function with different signatures) will not work when calling DLL's from "outside". So, you need to decide if your function getP() expects zero parameters (as in your first example) OR two parameters (as in your second example). If you need both calling variants you have to implement two functions with different names.
Post your function declaration ConsoleApplication10::getP()
Peter
|