[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TS To PB/DLL16 String Arguments



PureBytes Links

Trading Reference Links

If my DLL declarations in TS look like this:

    Inputs: Sym("IBM");
    DefineDLLFunc:"C:\MODE\MODECALC.DLL",LONG,
      "SetSym",LPSTR;{Symbol Name}
    Value1 = SetSym(IBM);

Then what should my header look like?
    Function SetSym(ByVal Sym as String Ptr) Export as Long

Do I need to do anything with Sym to use it locally as a string? Please
provide the exact syntax as I have tried multiple variations which all
result in GPF.

Thanks,


Patrick White