Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

C++Builder Linker Error

Posted on 2001-09-11
3
Medium Priority
?
596 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

879 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