Actually, building upon what Harold said,
You would have to do several things before you can use System.Reflection properly;
Build a project with:
Splash Screen, No Forms.
and also, Read through the \src of PDN, finding all the functions you want.
Then, using the Splash screen as a Proxy, Call System.Reflection on the dll's containing the functions you want, e.g.
Public effectloader ()
'Add a function to check registry key for default installation location
If File.Exist(.dll file location as string) = "true" then 'See :*:
Dim Effectsapi as New System.Reflection(.dll file location as string)
Else
End If
From that point onwards, you can just call the following code to use functions:
Effectsapi.linedraw(Parameters 'Usually a .X, .Y, Color, Width)
'Or Assign a function to an individual variable, to save code space
Dim linedraw As New Effectsapi.linedraw(Parameters 'Usually a .X, .Y, Color, Width)
'Then you can simply call:
linedraw("50","50","Blue","2")
Unfortunately i have had no luck with that, so yea, thats just a possible way of handling it.
/=====/
another idea you could look at is using a C++ .dll as a Proxy, by using code from the web, let the .dll handle all the heavy codes ( probably like 10kb of code, but it saves space in the program ) and just call the .dll in namespace.
Well, thats my idea anyhow!