473,385 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Change Help

I have a project which i did as a internal process in my college. I used VC++
6 . now I have a new computer with no previous installs of VS Family. Also i
have .NET 2003. there are lots of errors arising when i compile them .
Especially in CMemoryException and some String conversions. Are ther any
settings i need to change?
Please forgive me if my english is not that good! ;)
Nov 17 '05 #1
5 2468
It'd help if you could copy/paste a few of the compiler errors here.

--
Regards,
Nish [VC++ MVP]
http://www.voidnish.com
http://blog.voidnish.com
"prasanna" <pr******@discussions.microsoft.com> wrote in message
news:FF**********************************@microsof t.com...
I have a project which i did as a internal process in my college. I used
VC++
6 . now I have a new computer with no previous installs of VS Family. Also
i
have .NET 2003. there are lots of errors arising when i compile them .
Especially in CMemoryException and some String conversions. Are ther any
settings i need to change?
Please forgive me if my english is not that good! ;)

Nov 17 '05 #2
The following error messages occur
1.
MyProject warning LNK4099: PDB 'mfcs70d.pdb' was not found with
'C:\WINDOWS\system32\mfcs70d.lib' or at 'e:\..\Debug\mfcs70d.pdb'; linking
object as if no debug info
2.
e:\..\Option\Entry.cpp fatal error C1853: 'Debug/Option.pch' precompiled
header file is from a previous version of the compiler, or the precompiled
header is C++ and you are using it from C (or vice versa)

3
EnPro error result returned from 'cl.exe'.

Note: EnPro was the solution's name.

"Nishant Sivakumar" wrote:
It'd help if you could copy/paste a few of the compiler errors here.

--
Regards,
Nish [VC++ MVP]
http://www.voidnish.com
http://blog.voidnish.com
"prasanna" <pr******@discussions.microsoft.com> wrote in message
news:FF**********************************@microsof t.com...
I have a project which i did as a internal process in my college. I used
VC++
6 . now I have a new computer with no previous installs of VS Family. Also
i
have .NET 2003. there are lots of errors arising when i compile them .
Especially in CMemoryException and some String conversions. Are ther any
settings i need to change?
Please forgive me if my english is not that good! ;)


Nov 17 '05 #3
Clean your debug/release folders and rebuild all files to fix these issues.
[or take Rebuild solution from the Build menu]

--
Regards,
Nish [VC++ MVP]
http://www.voidnish.com
http://blog.voidnish.com
"prasanna" <pr******@discussions.microsoft.com> wrote in message
news:F0**********************************@microsof t.com...
The following error messages occur
1.
MyProject warning LNK4099: PDB 'mfcs70d.pdb' was not found with
'C:\WINDOWS\system32\mfcs70d.lib' or at 'e:\..\Debug\mfcs70d.pdb'; linking
object as if no debug info
2.
e:\..\Option\Entry.cpp fatal error C1853: 'Debug/Option.pch' precompiled
header file is from a previous version of the compiler, or the precompiled
header is C++ and you are using it from C (or vice versa)

3
EnPro error result returned from 'cl.exe'.

Note: EnPro was the solution's name.

"Nishant Sivakumar" wrote:
It'd help if you could copy/paste a few of the compiler errors here.

--
Regards,
Nish [VC++ MVP]
http://www.voidnish.com
http://blog.voidnish.com
"prasanna" <pr******@discussions.microsoft.com> wrote in message
news:FF**********************************@microsof t.com...
>I have a project which i did as a internal process in my college. I used
>VC++
> 6 . now I have a new computer with no previous installs of VS Family.
> Also
> i
> have .NET 2003. there are lots of errors arising when i compile them .
> Especially in CMemoryException and some String conversions. Are ther
> any
> settings i need to change?
> Please forgive me if my english is not that good! ;)


Nov 17 '05 #4
There are more errors:

More which refers to inconsistent dll linkage??

and
for IMPLEMENT_DYNCREATE(CdxTimeEdit, CWnd)
it says
e:\..\dxtimeedit.cpp(18): error C2491: 'CdxTimeEdit::classCdxTimeEdit' :
definition of dllimport static data member not allowed

Nov 17 '05 #5
If you're using a C++ project that mixes .cpp files with .c files, you
can disable pre-compiled headers on the .c files to allow Visual Studio
to compile the source.

1. In the solution explorer, right click on the .c file and click
properties
2. Click Precompiled Headers under Cofiguration Properties > C/C++
3. Under "Create/Use Precompiled Headers", select "Not Using
Precompiled Headers"
Good luck ;)
www.gabosgab.com

Nov 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: J.C. Flores | last post by:
Hello all, First of all, I must state that I'm new to SQL Server, but have been a long-time software guy for quite some time. Please excuse the potential simplicity of the solution to my...
2
by: Pete Kipe | last post by:
I'm not a JavaScript programmer...but I'm trying to put together a simple menu system for a new website and need a little help. I have the following script: <SCRIPT language=javascript> <!--...
4
by: N. Graves | last post by:
Hello... thank you for your time. I have a form that has a List box of equipotent records and a sub form that will show the data of the equipment select from the list box. Is it possible to...
1
by: Anthony Boudouvas | last post by:
Hi to all, i have a treeview that i put some nodes in it with their repsective images. If i try to change the image and set it to some other ImageList index, nothing happens. The code i use...
6
by: ruca | last post by:
Hi gurus, I have a imagebutton in my WebForm, and I want that when I click (mouse down) on her the imagebutton change image and when I "unclick" (mouse up) change to the original image. Basically...
0
by: sastwhc | last post by:
sastwhc wrote: > *Hi all > I try change language client side programatically.In my case farsi a > Right to Left Language,the curser direction changed by dir=rtl TAG > changed to correct direction...
11
by: Bryan | last post by:
Hi, I work for a company that is heading towards an FDA approved development process. We have always used C++ in a windows environment, and we have more than 6 years of code, applications and...
4
by: Orchid | last post by:
How can I change a Date datatype to a Number datatype? For example, I want a date 10/31/2006 to show 1031 as Number datatype. But I don't want it becomes 39021. What formula should I use? ...
3
by: Simon | last post by:
Dear reader, The syntax for the VBA code to change the RecordSource of a Master Report is: Me.RecordSource = "TableOrQueryName"
18
by: wizdom | last post by:
Help - change text on click - text has another onclick inside with php variables ---------- I think what I'm trying to do is simple. I have a 2 buttons on a page. 1 button allows a thread of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.