POSE is telling me that Im doing a
direct memory write and that I shouldn't.

Ok I know I shouldn't but...
here's the code

  UInt SerNum = 0;
  FormPtr frmP;
 MdmInfoPtr modemP;
 CharPtr okDialP;
 CharPtr setupP;
 Err ModemErr;

 frmP = FrmGetActiveForm();

 modemP = MemPtrNew(sizeof(MdmInfoPtr));
 okDialP = MemPtrNew(sizeof(CharPtr));

 modemP->serRefNum = SerNum;
 modemP->initialBaud = 14400L;            **
 modemP->dtWaitSec = -1;
 modemP->dcdWaitSec = -1;
 modemP->volume = 3;
 modemP->hwHShake = true;
 modemP->autoBaud = false;

The error happen at the line: modemP->initialBaud = 14400L;
what Am I doing wrong ????




-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to