SScanF not working

Ask for Help on Using the Language With Memory Hacking Software

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

SScanF not working

Postby wildbat » Sat Aug 15, 2009 10:06 am

Code: Select all
   int iLength = 30;
   CHAR * pcTextX = Malloc( iLength );
   CHAR * pcTextY = Malloc( iLength );
   CHAR * pcTextZ = Malloc( iLength );
   GetWindowText( GetDlgItem(hDialog, EDIT_X), pcTextX, iLength );
   GetWindowText( GetDlgItem(hDialog, EDIT_Y), pcTextY, iLength );
   GetWindowText( GetDlgItem(hDialog, EDIT_Z), pcTextZ, iLength );
   float tmpx;
   float tmpy;
   float tmpz;

Script Stop after Jump4.....23.2315

I Have A Few Questions
Posts: 5
Joined: Sat May 16, 2009 1:43 pm

Postby L. Spiro » Sat Aug 15, 2009 11:44 am

SScanF(pcTextX,"%f", &tmpx);
SScanF(pcTextY,"%f", &tmpy);
SScanF(pcTextZ,"%f", &tmpz);

L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
Posts: 3128
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest