|
In recent times, the network location where MSDN was installed has been changed.
I know the new location but the hassle is - everytime I want to refer to some search topic, I have to manually change the MSDN search path to the new MSDN one.
I wanted to know how can we change the default location where VS.NET 2003 looks for MSDN ?
Thanks
Cagespear
|
|
|
|
|
|
Hey, I'm working with VC++ 6.0 on an old project at work and if I export the makefile and do the nmake /f libbase.mak I can get the code to compile and link (with the MS V6.0 cl.exe and link.exe) . If I go into studio and hit build I get a linker error with a garbage file name that I can't search.
LINK : fatal error LNK1104: cannot open file "øì.obj"
Is this related to the .dsp file? Where can I hunt this thing down? How can I get a list of all the files it is trying to link? Basically, how can I find where this renegade object is being created or why is the linker looking for this object that may not exist?
Any help will be greatly appreciated,
Thanks,
Dave
modified on Tuesday, January 29, 2008 4:29:15 PM
|
|
|
|
|
Dave the coder wrote: Where can I hunt this thing down?
It's part of the project. Open it, and the .dsw file, to see if they contain any junk.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
So i've tracked it down to by reading the .plg file it's apparently putting some garbage in the .tmp file (note right after the first [ the first thing in the temp file is garbage).
I don't suppose anyone knows where to edit the creation of these temp files?
Creating command line "cl.exe @C:\DOCUME~1\xxxx\LOCALS~1\Temp\RSP14F.tmp" <br />
Creating temporary file "C:\DOCUME~1\xxxx\LOCALS~1\Temp\RSP150.tmp" with contents<br />
[<br />
ï D:\devel57\lib\libtoold.lib wsock32.lib /nologo /dll /incremental:yes /pdb:"..\..\..\..\lib/libserverbased.pdb" /debug /machine:I386 /nodefaultlib:"msvcrt" /out:"..\..\..\..\bin/libserverbased.dll" /implib:"..\..\..\..\lib/libserverbased.lib" <br />
.\dbg\viacmffnc.obj<br />
.\dbg\viainfofile.obj<br />
.\dbg\viainfofolder.obj<br />
.\dbg\viaprocess.obj<br />
.\dbg\viaroutefnc.obj<br />
.\dbg\viaserver.obj<br />
.\dbg\viaserverqueue.obj<br />
.\dbg\viaserverstop.obj<br />
.\dbg\viashipfnc.obj<br />
.\dbg\viaswitchpanel.obj<br />
.\dbg\viaworkunit.obj<br />
]<br />
Creating command line "link.exe @C:\DOCUME~1\xxxx\LOCALS~1\Temp\RSP150.tmp"<br />
Thank you for all the help thus far!
Thanks,
Dave
|
|
|
|
|
SOLVED
If you get something funny like that I was using an environment variable $(LIBNAME) to link the libs; but the paths were so long that the variable overflowed and gave me messed up names.
If anyone else has this problem, I've been there lol. It's rough.
Thanks codeproject readers for all the help
Thanks,
Dave
|
|
|
|
|
well i have a simple query if one can help me, i have a code dat does some automation and dispplays image i need to make it presentable so how can i display a sort of bitmap or image as soon as one starts the software displaying an image and name of author of code and software just as it would happen if you start MS Word or Adobe Photoshop etc. ,it displays its software name with some animation and stuff any help will be greatly appreciated.
Thank you
dipen
|
|
|
|
|
You mean a splash screen ? If yes, there are several articles on CP about it. Look here[^]
|
|
|
|
|
|
Hello to all,
in my project i have created one file "header.e01" through "CFile" class object and i wrote some data in it.Now i again created another file "header.e02" through "CFile" class only and i want to copy entire data from "header.e01" to "header.e02" rather i want to write total data in "header.e01" to "header.e02" through object of file "header.e01" means can i write object of file "header.e01" into "header.e02" file.can any body plz tell me how this can be done? it is urgent so plz can anybody help me?
Thanks and Regards,
Anay
|
|
|
|
|
I do not understand what you are writing!!!
you want to copy the WHOLE content of header.e01 to header.e02 ?
or
you want to copy PART of the content of header.e01 to header.e02 ?
IMO, if you can write the file, you can read it back and save it back again to another file.
|
|
|
|
|
AnayKulkarni wrote: ...i want to copy entire data from "header.e01" to "header.e02"...
So have you considered using CopyFile() ?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
|
AnayKulkarni wrote: rather i want to write total data in "header.e01" to "header.e02" through object of file "header.e01" means can i write object of file "header.e01" into "header.e02"
What do you mean by object of header.e01?
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
AnayKulkarni wrote: means can i write object of file "header.e01" into "header.e02" file.
I quess your are talking with respect to object persistance (Serialization), You want to store the Object (CFile) State to the file 2 (header.e02) rather than copying the entire data.
I cannot trace the functions for this, I would suggest a solution.
overload the operators for Serialization,
CArchive& AFXAPI operator<<(CArchive& ar, CFile& fileObj)
{
ar << fileObj.GetFileName();
ar << fileObj.GetPosition();
return ar;
}
CArchive& AFXAPI operator>>(CArchive& ar, CFile& fileObj)
{
CString FileName;
ULONGLONG pos;
ar >> FileName;
fileObj.Open(FileName, 0);
ar >> pos;
fileObj.Seek(pos, 0);
return ar;
}
now you are able to store Cfile Object State through CArchive.
Eg:
CArchive archive(&File1, CArchive::store);
archive << File2;
please use the logic of above, there may be compile / runtime error, that depends on your implementation
|
|
|
|
|
i made CTreeCtrl backgruond color gradient
now i wanna know how to make the labes trasnperent so that white color background will not appear
please let me know
thanx in advance
|
|
|
|
|
Is this[^] article of any help to you?
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
I am not able to understand in that
i dont wanna do OnPaint
I am getting image as trasparent but the text next to image is not trasperent it shows white background how to remove the white background and put trasperent color
please help me out
|
|
|
|
|
hi all,
i have a problem working with a program in vista, this program made by myself is creating a file in the application path and writing some data in to the file, but when i try to run it in the vista its showing a exceptional error. I think its not allowing my application to write a file in to the installed path.
Can Anybody help me to sort out my problem?
||SnAkeBed||
|
|
|
|
|
Try this:
Right-click at the executable file, and choose [Run as Administrator] ...
Maxwell Chen
|
|
|
|
|
hi ,
it worked................... thanks a lot ................................
||SnAkeBed||
|
|
|
|
|
SnaKeBeD wrote: showing a exceptional error
I'm amazed!
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
It's [C0000005] access violation.
Maxwell Chen
|
|
|
|
|
SnaKeBeD wrote: this program made by myself is creating a file in the application path
You do know this is bad practice, right?
If you intend your app to be used by standard users, they
will have to enter a password every time.
There is proper places to create app data files, both common and per-user.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi friends..
i have one doubt with my project regarding with CFile ..how to write serial number in a file regarding with file size.
the file contains data like this ..
abs
der
con
foj
etc..
this is the file structure the output file like this only..
1.abs
2.der
3.con
4.foj
etc..
how its possible.?
Thanks
raju.k
|
|
|
|