I searched the libraries that came with BCB6 and could find nothing related
to an object file named comthread.obj
The only examples of the (case insensitive) letters in the word 'comthread '
that I can find are these two items from the Windows import library,
import32.lib. They should not cause a need to find comthread.obj
_CLSID_ComThreadEvents
_IID_IComThreadEvents
Some things to try:
Start by doing this:
Open a command window (some call it a DOS window)
Change to the project directory
Give this command
for %a in (*.obj) do echo tdump %a @%a.dmp >DoIt.bat
Open temp.bat in an editor (the IDE editor is ok for this) and
do a global search and replace to change the @ to >
Save the file.
Run the batch file with this command
DoIt
Run this command
grep -i "comthread" *.dmp
If grep finds any occurance of the word then the object file it found it in
is the offending file. Fix the source file that corresponds to that object
file.
If that does not find anything, try this:
- Select Project|Remove_from_project and removing anything
with the base file name of 'comthread'
- Close the IDE and with it closed, looking at the project file
(the *.bpr) file for the word 'comthread'. If you find it, delete
the whole file name.
- Delete all the *.obj, *.tds and *.il? files in the project (keep any
*.obj ones for which you do not have the source code)
Now start the IDE and see if it builds correctly.
If none of the above finds it then