By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,720 Members | 2,096 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,720 IT Pros & Developers. It's quick & easy.

compiling C code at runtime

P: n/a
I am generating a C code in my application and I need to compile,
execute, display errors at runtime. How can I do it in VIsual
Studio.Net? I found some clue in CodeCompiler Class but did not get the
solution for C code.

Mar 21 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Billy Hollis talked about doing something like this, although he used VB
code. Go to www.dotnetrocks.com and look for show #91. During the show he
talks about storing VB code in a database table and compliling on the fly an
in memory assembly that he then used as an "add-in" for his application. I'm
pretty sure he used CodeDOM to accomplish this.

Good Luck,

Robert

"Riya" <ri**********@yahoo.com> wrote in message
news:11**********************@g10g2000cwb.googlegr oups.com...
I am generating a C code in my application and I need to compile,
execute, display errors at runtime. How can I do it in VIsual
Studio.Net? I found some clue in CodeCompiler Class but did not get the
solution for C code.


----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Mar 23 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.