This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Lua Scripts
 Action Scripts Using Alien
 reference to pointer
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

plunt

Italy
88 Posts

Posted - 12/21/2012 :  15:58:56  Show Profile
Excuse my bad english and explanation.
i have:

tData = defstruct{{'cmd', 'char'}}
tData=aliencore.buffer('alfa')

ilParam = defstruct{{'dwData', 'pointer'}, {'cbData', 'ulong'}, {'lpData', 'pointer'}}
ilParam.dwData=dwData
ilParam.cbData=tData.size
ilParam.lpData=tData

it not work, I think that there is no reference to the pointer in
ilParam.lpData=tData

how to write this code?

Rob

USA
2615 Posts

Posted - 12/21/2012 :  16:27:16  Show Profile  Visit Rob's Homepage
I'll try to look into this when I have some time. To be honest, I'm not a Lua expert, oddly enough!
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000