Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 7/5/2007(UTC) Posts: 1
|
Is it possible to call Metastock functions from within a powerbasic DLL? Also what is the recommended version of Powerbasic to use with the MDK to create MSX DLL's and functions?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Harryyeh,
The short answer is, you cannot.
The longer answer involves reading the MDK users manual, particularly the section, "Things you cannot do with an MSX DLL" where it includes, "Access the standard MetaStock built-in functions".
To have the same functionality, either rebuild the function in your DLL, or "send" the function to the external function as an argument.
You can use any version of PowerBasic you like, just so long as the compiler can create the required Win32.dll
Hope this helps.
wabbit [:D]
P.S. This is not a limitation of PowerBasic or any other programming language, it a limitation of the realtionship between external functions and internal functions of MetaStock.
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 3/6/2005(UTC) Posts: 24
|
@all,
to clarify the fact:
Using the MDK support, you are able to build so-called "external" Metastock functions (which can be used in Metastock to extend the limited functionality of the Metastock script language)) with some programming languages, e.g. using PowerBasic.
PowerBasic (www.powerbasic.com) is a powerful language (mighty and fast as C/C++, but imho easier to learn and to maintain your written programs!).
The current version is v9.05 - the new version v10 is already announced (january/february 2011) - but v9.05 has far enough power to build external Metastock DLLs...
bye,
zentrader
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.