Subject: ICodeCompiler for MCppCodeProvider

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Hi Marc,

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

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

Back
Top