Solved

C++Builder Linker Error

Posted on 2001-09-11
3
578 Views
Last Modified: 2011-09-20
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
0
Comment
Question by:reggler
3 Comments
 
LVL 6

Expert Comment

by:DrDelphi
ID: 6477445
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!!
0
 
LVL 3

Expert Comment

by:modder
ID: 6535761
reggler and RideOn are duplicate accounts and have been closed.

Do you believe your comment answers this question?

modder
Community Support
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 6874926
Per recommendation points refunded and question closed.

Netminder
Community Support Moderator
Experts Exchange
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now