in Search

How do I Call Metastock Functions From A Powerbasic DLL?

Last post 07-05-2007, 0:10 by wabbit. 1 replies.
Sort Posts: Previous Next
  •  07-04-2007, 23:15 24603

    How do I Call Metastock Functions From A Powerbasic DLL?

    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?
  •  07-05-2007, 0:10 24604 in reply to 24603

    Re: How do I Call Metastock Functions From A Powerbasic DLL?

    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 Big Smile [: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.


    MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC & MDK
    For custom MetaStock programming : http://www.wabbit.com.au
    My SkyPE status : wabbit.com.au SkyPE online status
    My SkyPE account : wabbit.com.au

View as RSS news feed in XML