Link to home
Start Free TrialLog in
Avatar of reggler
reggler

asked on

C++Builder Linker Error

Hi
i just updated from c++builder 4 std. to c++builder 5 pro.
i opend my actual project and saw that "TrayIcon" sample ind the Components-Bar "Samples"
i dragged it on my form, double clicked and deleted it after that.... (didn't compile yet) and then i wanted to compile....now following linker error occurs:

[Linker Fatal Error] Fatal: Unable to open file 'TRAYPKG.LIB'

i searched for the file on my HD but didn't foiund anything...i searched my project files for some entries with "tray" and didn't found anything....how can i solve my problem?
thx for help
Avatar of DrDelphi
DrDelphi

Try viewing the form on which you dropped the TrayIcon component(right click on the form and select "View as text").If you saved it(or ran the application from the IDE with "autosave" option enabled), the TrayIcon was written into the DFM file. You can simply delete the reference from the DFM and save it. that should fix the problem as far as this project is concerned,assuming that you do not have any references to TrayIcon.h in the header or CPP files.

Good luck!!
reggler and RideOn are duplicate accounts and have been closed.

Do you believe your comment answers this question?

modder
Community Support
ASKER CERTIFIED SOLUTION
Avatar of Netminder
Netminder

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial