Solved

C++Builder Linker Error

Posted on 2001-09-11
3
582 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Implementing a ResolveEventHandler in C++ 13 133
C++ get user from AD  (VS6) 7 73
how to convert c++ code to Android App 3 95
Issues with C++ Class 19 92
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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 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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

776 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