Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling Code On The Fly?
#1
Hey Guys,
Is there any library or anything where i can take code stored in a file for say, compile said code and run it in side the application doing the compiling? Any Help Would Be appreciated <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin --> !
#2
Well there is definitely a way to do this. I am not too familiar with it and found the code snippet online a while back. I haven't really had the chance to play with it though.

BP Forums link:

<!-- l --><a class="postlink-local" href="http://bpforums.info/viewtopic.php?f=22&t=381">viewtopic.php?f=22&t=381</a><!-- l -->

Here are two other links that have a much better explanation than I could ever hope for on the topic:
<!-- m --><a class="postlink" href="http://vbcity.com/blogs/jatkinson/archive/2010/04/24/dynamically-read-compile-and-run-source-code-from-a-text-file.aspx">http://vbcity.com/blogs/jatkinson/archi ... -file.aspx</a><!-- m -->

<!-- m --><a class="postlink" href="http://www.codeproject.com/Articles/12852/Compile-and-Run-VB-NET-Code-using-the-CodeDom">http://www.codeproject.com/Articles/128 ... he-CodeDom</a><!-- m -->
My Blog | My Setup | My Videos | Have a wonderful day.
#3
Thanks a lot! <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin -->
#4
Hey no problem!
My Blog | My Setup | My Videos | Have a wonderful day.
#5
Hi,
Ive followed several thread about compiling source code.

I have downloaded and installed a copy of the kernel, have installed build essentials and have followed the make instructions, but all to no avail.

Has anyone compiled from source code on a stock xandros eeepc 2g, and if so would they be able to provide a brief outline to follow?

Then I could post any error messages I get, and work through the process that way.


Kindest regards

James


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to code a print Button? Himansh 1 9,861 04-01-2012, 01:16 PM
Last Post: brandonio21
  How to add code to Cross(X) button on a form Himansh 3 14,867 03-27-2012, 11:06 PM
Last Post: brandonio21
  vb.net code to read and convert color michaelfalade 1 9,435 06-30-2011, 10:52 AM
Last Post: brandonio21
  Exit code ? lvlasked 1 8,875 06-30-2011, 10:36 AM
Last Post: lvlasked

Forum Jump:


Users browsing this thread: 1 Guest(s)