c# dynamic functions threading

Discussion in 'MCTS' started by Ahmad, Jul 10, 2008.

  1. Ahmad

    Ahmad Guest

    Hi,

    Hi,

    Is it possible to do something like the following:

    IBaseClass objClass = new LoadClassFromDLL( "Module.DLL");
    ThreadStart objThreadStart= new
    (objClass.GetFunctionFromName("GetString"))

    Thread objThread = new Thread (objThreadStart)
    objThread.Start();

    bearing in mind there's no such function as 'GetFunctionFromName'

    Thanks in Advance.

    Regards,

    Ahmad
     
    Ahmad, Jul 10, 2008
    #1
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.