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

x
?
Solved

Resource import problem

Posted on 2002-05-23
3
Medium Priority
?
195 Views
Last Modified: 2013-11-20
Hi
I have imported resources from one application to another and corresponding dialog files too. but those files(classes) are not coming in class whizards. i tried to delte the files from the project and again added. when i open the class wiz when resource is open it says it has found new resource create a new class or select existing class if i select the existing class. that is empty. how to do that

thanx
0
Comment
Question by:AmitAgarwal
3 Comments
 
LVL 1

Expert Comment

by:gurly
ID: 7029941
Try deleting your clw file.
(It is the class wizard file.)
You can generate it again - the time you will open the class wizard you will be asked if you want to build a new clw file from the source file. press Yes and then go over all your source directories and mark the relevant files.
0
 
LVL 3

Accepted Solution

by:
Crius earned 200 total points
ID: 7029943
Well, first off, to move classes and dialogs from one application to another, you should use the gallery:

Go to the class view of the first application, right click on the class you want to use in the second app, and select "Add to gallery".

Go to your second application, choose from Project menu->Add to Project->Components and controls. Go to your first application directory name, and choose the .ogx file representing your class. It will import the whole class, including resources to your second application.


If it's too late to do this, try going into your second application directory, and deleting the .clw file. That is the class wizard file. When you try to go into the class wizard file, it will ask you if you want to build the class wizard file from your files. Say yes/ok. It will already have all your project files added.
0
 
LVL 4

Author Comment

by:AmitAgarwal
ID: 7031629
Thanx a lot guys
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Integration Management Part 2

824 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