Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Tools CL/TdStrp32    [ Add a report in this area ]  
Report #:  19009   Status: Closed
(Pulled) TDSTRP32 can't handle files with non-standard extensions.  It will append a .EXE to any filename that doesn't have a .DLL or .EX
Project:  C++Builder Build #:  5.x
Version:    1.0 Submitted By:   John Kaster
Report Type:  Basic functionality failure Date Reported:  1/1/1996 12:00:00 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   6055
Resolution: Retest (Resolution Comments) Resolved in Build: : 10.0.2098.14501
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
TDSTRP32 can't handle files with non-standard extensions.  It will append a .EXE to any filename that doesn't have a .DLL or .EXE extension.
Steps to Reproduce:
1)  Build the \bc5\examples\windows\dlldemo example as a 32-bit app with debug info
2)  Copy BITMAP.DLL to BITMAP.DLG
3)  TDSTRP32 -s BITMAP.DLG, and you'll get the error message:
"Can't open file:  BITMAP.DLG.EXE"

TDSTP32 should look for the file's format, not the extension.  As long as the file has the PE format, it should be able to attempt to strip the debug info from it.
Workarounds
Temporarily rename the file to have an EXE or DLL extension.
Attachment
N
Comments

None

Server Response from: ETNACODE01