Pb how to call c # write a DLL? C # write a simple test with no parameters. The DLL return 1
Private static int (a) { return 1; }
In pb global external function Defines the function int (a) liabrary "test. DLL " Directly in a program called (a) Bad error runtime function! Where is wrong?
CodePudding user response:
Written in c # is not a standard DLL, can't use standard DLL call, two kinds of method calls, one will be released the DLL as a com components, according to the com component calls, another is for pb program. The.net application rather than classic, can be called directly