473,385 Members | 1,848 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,385 software developers and data experts.

Subject: ICodeCompiler for MCppCodeProvider

Hi,

I'm trying to create an ICodeCompiler using the following code:

CodeDomProvider cdp = new Microsoft.MCpp.MCppCodeProvider();
ICodeCompiler icc = cdp.CreateCompiler();

However, CreateCompiler() returns null. Is this not implemented?

Cheers,

\\Marc

ps-I'm using VS.NET 2003.
Nov 22 '05 #1
1 1330
Hi Marc,

CreateCompiler is not implemented in the managed C++ provider. Only the C#,
VB.NET and J# providers implement this interface.

--
Ross Donald
..NET Code Generation - http://www.radsoftware.com.au/codegenerator/

"Marc Eaddy" <me133 [at] columbia [dot] edu REMOVE_IF_NOT_SPAM> wrote in
message news:FC**********************************@microsof t.com...
Hi,

I'm trying to create an ICodeCompiler using the following code:

CodeDomProvider cdp = new Microsoft.MCpp.MCppCodeProvider();
ICodeCompiler icc = cdp.CreateCompiler();

However, CreateCompiler() returns null. Is this not implemented?

Cheers,

\\Marc

ps-I'm using VS.NET 2003.


Nov 22 '05 #2

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

Similar topics

6
by: Susan | last post by:
Is there any way to take one of the fields from the form and use that as your subject line.. right now I have a default subject line entered - but would rather have the subject be the information...
0
by: Tim Wallace | last post by:
OK, I'm resolved to the fact that I need to use ICodeCompiler to implement my client scripting feature for my C# 2.0 application, since VSA is going the way of the dodo bird. My question is this: ...
2
by: Eric | last post by:
Good morning, I am trying to compile a DLL on the fly using ICodeCompiler. While I am able to accomplish the task if I use a seperate code file along with CompileAssemblyFromFile, however, when...
1
by: Matt Gertz | last post by:
Phil, Thanks for the notification on this. I'm going to do some investigation on this today & try debugging through the problem, and I'll get back to you either this afternoon or tomorrow...
0
by: Cayze | last post by:
Hello all, I'm trying to use ICodeCompiler and was wondering if there's a way to pass it a project file (*.csproj, *.sln, *.vbproj, etc) to have it rebuild the project. I don't think there is,...
1
by: kamlai | last post by:
I've written the following codes to include utf-8 wordings in both the subject and the content. $headers = "MIME-Version: 1.0\r\n". "Content-type: text/plain; charset=utf-8\r\n". "From:...
3
by: Laangen_LU | last post by:
Dear Group, my first post to this group, so if I'm on the wrong group, my apologies. I'm trying to send out an email in Chinese lanuage using the mail() function in PHP. Subject and...
4
by: Alec MacLean | last post by:
Is anyone aware of a size limit imposed on the subject text when using the System.Net.Mail library? I'm getting problems of message not being recieved if the subject exceeds 15 chars. Thx
5
by: Alan Isaac | last post by:
I have two questions about the "observer pattern" in Python. This is question #1. (I'll put the other is a separate post.) Here is a standard example of the observer pattern in Python:
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

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.