473,325 Members | 2,872 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,325 software developers and data experts.

adding CLR support to win32 project

using VS2005 I create a classic WIN32 project. Of course it creates
without error, but when I change the project from "no CLR support" to
"pure MSIL CLR support" I get tons of create errors.

Is there a KB article that explains how to add CLR support to a WIN32 C
++ project?

thanks,

-Steve

Mar 5 '07 #1
2 1922
Steve Richter wrote:
using VS2005 I create a classic WIN32 project. Of course it creates
without error, but when I change the project from "no CLR support" to
"pure MSIL CLR support" I get tons of create errors.

Is there a KB article that explains how to add CLR support to a WIN32
C ++ project?
If you really want to convert the whole thing to managed code, first,
translate it to C++. There's no support for compiling C to MSIL.

Typically though, you don't need to convert the entire project. What are
your goals in the project?

-cd
Mar 5 '07 #2

"Steve Richter" <St************@gmail.comwrote in message
news:11**********************@8g2000cwh.googlegrou ps.com...
using VS2005 I create a classic WIN32 project. Of course it creates
without error, but when I change the project from "no CLR support" to
"pure MSIL CLR support" I get tons of create errors.
Don't use /clr:pure option, it can prevent you from making native calls.
Use plain /clr instead.
>
Is there a KB article that explains how to add CLR support to a WIN32 C
++ project?

thanks,

-Steve

Mar 5 '07 #3

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

Similar topics

4
by: janeaustine50 | last post by:
It doesn't seem like the python 2.4(and the recent 2.4.1) support berkeley db 4.3. (4.3 fixes some deadlock bugs I occasionally encounter using 4.2.) bsddb3(at pybsddb.sf.net) already supports...
1
by: Tony Boloney | last post by:
Hi all, I'm trying to use the method described in the article Adding Console I/O to a Win32 GUI App http://dslweb.nwnexus.com/~ast/dload/guicon.htm to output info to a separate console...
8
by: Tony Johansson | last post by:
Hello! I just wonder what the difference is between a native win32-app and MFC. What I know is that you can use Win32 API in both cases. I think an MFC application is connected with a GUI...
26
by: Simon Jefferies | last post by:
Hello, I am trying to add an item to a checked list box, like: clbList.Items.add("Hello",true) I get an error back: Run-time exception thrown: System.ArgumentOutOfRangeException -...
7
by: Terry Olsen | last post by:
I paste the following code into each project to get XP theme support. 'Add this at the beginning of any program to enable Windows XP Visual Styles <System.STAThread()> Public Shared Sub Main() If...
48
by: Daniele C. | last post by:
As soon as my sourceforge.net project gets approved, I am going to build a ncurses port to win32 bindable to sockets, e.g. allowing VT100/ANSI terminals and the creation of simple terminal servers...
2
by: Beorne | last post by:
I've no experience with C# infoking functions from external unmanaged dll. I have to do an interface driving a set of hw device using their propetary dll. Is there some simple tutorial explaining...
7
by: moondaddy | last post by:
I'm running a wpf windows app and want to add the appSettings element to the config file. when I do, the app wont start up and I get the following error: {"The type initializer for...
1
damonreid
by: damonreid | last post by:
Access 2003 Microsoft Windows XP Pro Hey, I am currently pulling my hair out here. I have a Form for adding new projects to a database, the only problem is that when I close the form it doesn't...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.