Changeset 465 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/RSrcSection.cpp
- Timestamp:
- Mar 24, 2008, 8:05:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/RSrcSection.cpp
r206 r465 108 108 hFile=CreateFile(pCursorResourceInfo[i3].FileName,GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); 109 109 if(hFile==INVALID_HANDLE_VALUE){ 110 SetError(23,pCursorResourceInfo[i3].FileName,-1);110 compiler.errorMessenger.Output(23,pCursorResourceInfo[i3].FileName,-1); 111 111 sw=1; 112 112 continue; … … 127 127 hFile=CreateFile(pBitmapResourceInfo[i3].FileName,GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); 128 128 if(hFile==INVALID_HANDLE_VALUE){ 129 SetError(23,pBitmapResourceInfo[i3].FileName,-1);129 compiler.errorMessenger.Output(23,pBitmapResourceInfo[i3].FileName,-1); 130 130 sw=1; 131 131 continue; … … 138 138 hFile=CreateFile(pIconResourceInfo[i3].FileName,GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); 139 139 if(hFile==INVALID_HANDLE_VALUE){ 140 SetError(23,pIconResourceInfo[i3].FileName,-1);140 compiler.errorMessenger.Output(23,pIconResourceInfo[i3].FileName,-1); 141 141 sw=1; 142 142 continue; … … 645 645 hFile=CreateFile(pCursorResourceInfo[i3].FileName,GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); 646 646 if(hFile==INVALID_HANDLE_VALUE){ 647 SetError(23,pCursorResourceInfo[i3].FileName,-1);647 compiler.errorMessenger.Output(23,pCursorResourceInfo[i3].FileName,-1); 648 648 return buffer; 649 649 } … … 725 725 hFile=CreateFile(pBitmapResourceInfo[i3].FileName,GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); 726 726 if(hFile==INVALID_HANDLE_VALUE){ 727 SetError(23,pBitmapResourceInfo[i3].FileName,-1);727 compiler.errorMessenger.Output(23,pBitmapResourceInfo[i3].FileName,-1); 728 728 return buffer; 729 729 } … … 753 753 hFile=CreateFile(pIconResourceInfo[i3].FileName,GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); 754 754 if(hFile==INVALID_HANDLE_VALUE){ 755 SetError(23,pIconResourceInfo[i3].FileName,-1);755 compiler.errorMessenger.Output(23,pIconResourceInfo[i3].FileName,-1); 756 756 return buffer; 757 757 } … … 839 839 hFile=CreateFile(temp2,GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); 840 840 if(hFile==INVALID_HANDLE_VALUE){ 841 SetError(59,temp2,-1);841 compiler.errorMessenger.Output(59,temp2,-1); 842 842 return buffer; 843 843 }
Note:
See TracChangeset
for help on using the changeset viewer.