Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2005

Tip: Looking for answers? Try searching our database.

VC7.1: cl.exe error?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
alecyy - 09 Jun 2005 07:42 GMT
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
adebaene@club-internet.fr - 09 Jun 2005 10:53 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.