Solved

C++Builder Linker Error

Posted on 2001-09-11
3
586 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

735 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