mIRC Home    About    Download    Register    News    Help

Print Thread
$com binvar support #223461 25/07/10 12:28 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline OP
Hoopy frood
OP Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
I would like to see support for binary variables in COM objects. This could be supported without breaking existing scripts like this:

Code:
; To retrieve result into binary variable:

$com(object,&binvar).result

;To pass binary variable to object:

$com(object,method,3,bstr&,&binvar)

;To pass literal text "&binvar" to object (current behaviour):

$com(object,method,3,bstr,&binvar)


This would greatly reduce the number of workarounds needed when retrieving long strings smile

Re: $com binvar support [Re: hixxy] #223463 25/07/10 12:48 PM
Joined: May 2007
Posts: 37
C
Chessnut Offline
Ameglian cow
Offline
Ameglian cow
C
Joined: May 2007
Posts: 37
This would be completely invaluable for working with COM objects.

COMs are generally used to get around the limitations of the mIRC scripting language, however at the moment they are bound by the string limit imposed by mIRC. Completely support this idea, I'm sick of doing the horrible and very inefficient workarounds!