RE: pCommand : a question before i kill my computer
- Posted by Grape Vine <g__vine at hotmail.com> Jun 15, 2001
- 342 views
ahhh, I C. Im no good at C strutct/pointers so im basily clueless in this area I was thinking of doing a dir to get a file list and then file I/O's based on user imput just a idea as part of a icq wrapper, tho thats just a idea jjnick at cvn.com wrote: > Yeap. You need to acquire_mem for each one . . . I am not sure what > you > are doing, but a "for" or "while" loop may work too . . . The reason > why is > because what acquire_mem does is just allocate a specific piece of > memory > for the string. If you message_box "pCommand", it's just a number or, > more > appropriately, an address to a specific memory. (By the way, the "p" > before > "Command" hints to a pointer). You need to do this because those > functions > that require pointers are expecting an address of a string, not the > actual > string itself . . . > > ----- Original Message ----- > From: "Grape Vine" <g__vine at hotmail.com> > To: "EUforum" <EUforum at topica.com> > Sent: Friday, June 15, 2001 6:18 PM > Subject: pCommand : a question before i kill my computer > > > > > > > > Is there a way to put like 3 pCommand's in arow nad have them all work > > or do you need mem setup before each one?? > > > > Grape Vine > > 13728824 > > > > Grape Vine 13728824