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