VC7.1: cl.exe error?

A

alecyy

I am developing a MFC dll, which will be invoked by a C# winform app.
But the cl.exe don't work if i use "/clr" option,
then i uncheck the "/clr" option, it work well.
Is there anything conflict within my settings?
And how to set it correctly?


my compiler settings£º
/Od /AI "..\Debug" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D
"_WINDLL" /D "_MBCS" /FD /EHsc /MTd /GS /Yu"stdafx.h"
/Fp"..\Debug/Standard2.pch" /Fo"..\Debug/"
/Fd"..\Debug/vc70.pdb" /FR"..\Debug/" /W4 /nologo /c /Zi /clr /TP

my linker settings£º
/OUT:"../Debug/Standard2.dll" /INCREMENTAL:NO /NOLOGO /DLL
/DEF:".\Truck_Dll.def"
/DELAYLOAD:"OleAcc.dll" /DEBUG /ASSEMBLYDEBUG /PDB:"..\Debug/OujiCont.pdb"
/SUBSYSTEM:WINDOWS /MACHINE:X86 /FIXED:No DelayImp.lib DelayImp.lib

my resource settings£º
/d "_DEBUG" /l 0x411 /fo"..\Debug/OujiCont.res"



thanks for your reply
Alex
 
A

adebaene

alecyy a écrit :
I am developing a MFC dll, which will be invoked by a C# winform app.
But the cl.exe don't work if i use "/clr" option,
then i uncheck the "/clr" option, it work well.
Is there anything conflict within my settings?
And how to set it correctly?

Define "don't work". There is no way we can help^with so few
information!

Arnaud
MVP - VC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top