Changeset 451 in dev for trunk/ab5.0/abdev
- Timestamp:
- Mar 22, 2008, 9:28:59 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler32/MakePeHdr.cpp
r435 r451 605 605 ExportNamesLength=lstrlen(lpExportNames)+1; 606 606 607 UserProc *pUserProc,*psi2; 608 while(1){ 607 while(1) 608 { 609 UserProc *pUserProc = NULL; 610 609 611 //辞書順にサーチ 610 612 temporary[0]=0; … … 612 614 while( compiler.GetObjectModule().meta.GetUserProcs().Iterator_HasNext() ) 613 615 { 614 pUserProc = compiler.GetObjectModule().meta.GetUserProcs().Iterator_GetNext();615 if(p UserProc->IsExport()){616 UserProc *pTempUserProc = compiler.GetObjectModule().meta.GetUserProcs().Iterator_GetNext(); 617 if(pTempUserProc->IsExport()){ 616 618 if(temporary[0]=='\0'){ 617 lstrcpy(temporary,p UserProc->GetName().c_str());618 p si2=pUserProc;619 lstrcpy(temporary,pTempUserProc->GetName().c_str()); 620 pUserProc = pTempUserProc; 619 621 } 620 622 else{ 621 623 i3=lstrlen(temporary); 622 i4=(int)p UserProc->GetName().size();624 i4=(int)pTempUserProc->GetName().size(); 623 625 if(i3<i4) i3=i4; 624 if(memcmp(temporary,p UserProc->GetName().c_str(),i3)>0){625 lstrcpy(temporary,p UserProc->GetName().c_str());626 p si2=pUserProc;626 if(memcmp(temporary,pTempUserProc->GetName().c_str(),i3)>0){ 627 lstrcpy(temporary,pTempUserProc->GetName().c_str()); 628 pUserProc = pTempUserProc; 627 629 } 628 630 } 629 631 } 630 632 } 631 if(psi2==0) break; 632 pUserProc=psi2; 633 if( pUserProc == NULL ) 634 { 635 break; 636 } 633 637 634 638 pUserProc->ExportOff();
Note:
See TracChangeset
for help on using the changeset viewer.