c# - Using variable number of functions -


ex: in app1 user creates function_1() , function_2(). in app2 user wants call function_2(). searched on google , thing found write code:

    class program {     [dllimport("functions.dll")]     public static extern void function_1();       static void main(string[] args)     {         function_1();     } } 

you'll have use pinvoke code dll loaded (loadlibrary) , function pointer (getprocaddess) , marshal.getdelegateforfunctionpointer obtain delegate can invoke.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -