|
If there are multiple projects in a single solution, then how to access a function from one project in another project?
aasstt
|
|
|
|
|
aasstt wrote: If there are multiple projects in a single solution, then how to access a function from one project in another project?
You can't. They are still separate projects and so you cannot 'magically' call a function from one project into another one.
Now, it depends also the type of projects you are working with: if it is a DLL or library, then you can use the standard techniques to "export" functions.
In brief, having all projects in a single solution doesn't change anything to the accessiblity of classes or functions. It is just a convenient manner to group projects that are related.
|
|
|
|
|
aasstt wrote: there are multiple projects in a single solution, then how to access a function from one project in another projec
for that you have to include that file or class in your project
|
|
|
|
|
|
I think the message is quite clear: the resource file is read-only. Remove that property (using explorer for instance) and that should solve the problem.
|
|
|
|
|
I don't see this property, can you give me the full instructions how to remove it please?
SnaidiS(Semion)
|
|
|
|
|
Semion_N wrote: I don't see this property, can you give me the full instructions how to remove it please?
Err... This has nothing to do with Visual Studio but with read/write properties of files under windows. Your resource file is read-only, so open the explorer for example, find your .rc file and right-click on it to change its properties.
|
|
|
|
|
The read only property isn't chacked.
What else could it be?
SnaidiS(Semion)
|
|
|
|
|
Semion_N wrote: http://img525.imageshack.us/img525/117/errorji2.jpg[^]
Is the .rc file read only?
|
|
|
|
|
Hmm yes I think so.
When I try to add timer event I get this error.
SnaidiS(Semion)
|
|
|
|
|
Semion_N wrote: When I try to add timer event I get this error.
delete your .aps and .ncb file and then try again
|
|
|
|
|
I tried but it didn't help.
SnaidiS(Semion)
|
|
|
|
|
ThatsAlok wrote: delete your .aps and .ncb file and then try again
<joke> and .dsp, .dsw too! </joke>
You love others not for what they are, but for what you are when you are with them. Others too love you not for what you are, but for what they can be when they are with you. People need not always do the right – they can and will go wrong too. But there has to be this trust that the wrong may be only in the action and not in the intention. Without the faith that the intentions of my loved one will be right, love will not survive. Starvation of love does not cease by receiving love, but ceases only by giving love. Above all, remember, you can never do or give enough for someone you love. - Frozen Thoughts
|
|
|
|
|
brahmma wrote: delete your .aps and .ncb file and then try again
<joke> and .dsp, .dsw too!
do you why .aps and .ncb file is created?
|
|
|
|
|
ThatsAlok wrote: do you why .aps and .ncb file is created?
From MSDN:
.aps -- The binary version of the current resource script file. This file is used for quick loading. The resource editor generates and uses a .APS file. This file contains a binary format of the resources.
.ncb -- The .ncb file contains ClassView browser information. If it is read-only at the time Visual C++ opens the project, ClassView is unavailable.
|
|
|
|
|
Nibu babu thomas wrote: From MSDN:
h he he
|
|
|
|
|
ThatsAlok wrote: Nibu babu thomas wrote:
From MSDN:
h he he
They made it, hence they know better.
|
|
|
|
|
brahmma wrote: delete your .aps and .ncb file and then try again
<joke> and .dsp, .dsw too!
Any Way! it will of much help too.. kill the tension before it kill you
|
|
|
|
|
I think, your issue is similar to reported here[^], and claimed fixed now(SP1).
Similarly, refer this[^] discussion.
|
|
|
|
|
OK,Ill try the SP1.
SnaidiS(Semion)
|
|
|
|
|
I downloaded and installed vs 2005 sp1 but it didn't solve the problem...
SnaidiS(Semion)
|
|
|
|
|
Can you try things, given in my second link ?
|
|
|
|
|
|
Semion_N wrote: http://www.uploading.com/files/HE1IXIZV/CDialogSK_demo.rar.html[^]
It requires some kind of login.
|
|
|
|
|
Good news for you ! Got the culprit.
Go to SkinDialog_DemoDlg.cpp . There is first line in the file as,
#using <system.dll> , remove that line. This line was causing problem, it is unnecessarily there.
Removing this line should solve your problem.
|
|
|
|