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

RE: TS To PB/DLL16 String Arguments



PureBytes Links

Trading Reference Links

Patrick,

Here is what you need:

{ EL code }
Inputs: Sym("IBM");
Var: Temp("");
DefineDLLFunc:"C:\MODE\MODECALC.DLL", Float, "SetSym", LPSTR;{Symbol Name}
Temp = Sym; {El gets wierd about passing Inputs directly}
Value1 = SetSym(Temp);


' PB code
'**********************************************************************************************************
FUNCTION SetSym ALIAS "SetSym" (BYVAL ELStrPtr AS ASCIIZ PTR) EXPORT AS 
SINGLE
MSGBOX @ELStrPtr
END FUNCTION

You can e-mail me privatly if you have more questions :)

Regards
Mike