Hey again.

I'm trying to call a dll function now, from a spitted string. I'll explain a little in detail of what I mean.

I have my program load a "Template" from an XML file. The XML lines contain:
"Name", "ID", and "DLLCall". The Name of the XML line is the Class File in the DLL. The DLLCall is the function within that Class.

So for example I have this in my XML file:

Code:
<Template>
    <Section Name="User" DLLCall="User">
        <Item Name="User Name" DLLCall="User_Name">
    </Section>
</Template>
The program will read that and see the section User will use the class file "User" inside the dll. From that the item name to get the User Name will use the function "User_Name" inside the User Class file.

I have my own little parser I wrote for the program to put these together as one string (like the dll call would look like.) So the call becomes:

Code:
MyDLL.User.User_Name
The problem is, is this is stored in a string. And its not actually being used to call the DLL function. Is there anyway I can take the string that holds the DLL function and call the DLL function with that string?

(If you need more details, or a better explination, I can try..)