Archived
This forum has been archived. Please start a new discussion on GitHub.
Error report when I use Ice in .net Application!
I creat a new project of windows form applition(.net) in visual .net 2003 ,
And I add "#include <Ice/Ice.h>"
and then,I follow the config advice in
http://www.zeroc.com/vbulletin/showthread.php?s=&postid=1180#post1180
----development platform
vc 7.1
win2000 professional simplified chinese
ice 1.20
and then I complie my appilcation.The follow error report:
error D2016 : 'RTC1'and '/clr' command-line options are incompatible
error PRJ0002 : error result returned from 'cl.exe'
why?
And how can I make my application of windows form(.net) work with just "#include <Ice/Ice.h>"?
And I add "#include <Ice/Ice.h>"
and then,I follow the config advice in
http://www.zeroc.com/vbulletin/showthread.php?s=&postid=1180#post1180
----development platform
vc 7.1
win2000 professional simplified chinese
ice 1.20
and then I complie my appilcation.The follow error report:
error D2016 : 'RTC1'and '/clr' command-line options are incompatible
error PRJ0002 : error result returned from 'cl.exe'
why?
And how can I make my application of windows form(.net) work with just "#include <Ice/Ice.h>"?
0
Comments
-
Hello,
As diagnosed by the compiler, you can't compile with /clr and /RTC. See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcrefEECOMCompilation.asp
It may be possible to use Ice from managed code (i.e. built /clr), but this is not supported at present. I'd recommend you start with a simpler non-managed application!
Cheers,
Bernard0