Change Help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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! ;)
 
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 said:
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 said:
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! ;)
 
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 said:
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 said:
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 said:
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! ;)
 
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
 
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
 
Back
Top