Changeset 64 in dev for BasicCompiler64/varlist.cpp
- Timestamp:
- Mar 8, 2007, 2:49:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/varlist.cpp
r63 r64 22 22 _int64 i64data; 23 23 24 if(type==DEF_OBJECT){ 24 if(type==DEF_OBJECT||type==DEF_STRUCT){ 25 if( type==DEF_OBJECT ){ 26 // 参照型ということを考慮する 27 ReadProcessMemory(hDebugProcess,(void *)offset,&pData,sizeof(void *),&stAccBytes); 28 offset = pData; 29 } 30 25 31 sprintf(lptv->item.pszText,"%s %s(&H%X)",VarName,STRING_OBJECT,(DWORD64)offset); 26 32 lptv->item.iImage=1; … … 31 37 return; 32 38 } 33 if(type==DEF_PTR_OBJECT ){39 if(type==DEF_PTR_OBJECT||type==DEF_PTR_STRUCT){ 34 40 i2=ReadProcessMemory(hDebugProcess,(void *)offset,&pData,sizeof(void *),&stAccBytes); 35 41 … … 43 49 } 44 50 else{ 45 if(type==DEF_PTR_ BYTE){51 if(type==DEF_PTR_CHAR||type==MAKE_PTR_TYPE(DEF_BYTE,1)){ 46 52 if(ReadProcessMemory(hDebugProcess,(void *)offset,&pData,sizeof(void *),&stAccBytes)){ 47 53 for(i2=0;;i2++){
Note:
See TracChangeset
for help on using the changeset viewer.