![]() |
|
[.NET] Using functions in a namespace from a DLL? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] Using functions in a namespace from a DLL? (/showthread.php?tid=5933911) |
Using functions in a namespace from a DLL? - Ajumma - Jan 25, 2019 Here is what the class looks like from the DLL when browse it : ![]() This is what the documentation shows from where I got the DLL from: ![]() How do you use this? I tried doing something like : Code Imports Gds.GoogleMap.UltimatePlus.MathThis keeps giving me an error saying that MeService is used before it's been assigned. I don't think its even supposed to be assigned anything? Help a noob out? RE: Using functions in a namespace from a DLL? - NYANxCAT - Jan 25, 2019 "this keeps giving me an error saying that MeService is used before it's been assigned" You need to declare properly. Dim MeService As new MathService RE: Using functions in a namespace from a DLL? - Ajumma - Jan 25, 2019 (Jan 25, 2019 02:51 PM)˗ˏˋ NYAN CAT ˎˊ˗ Wrote: "this keeps giving me an error saying that MeService is used before it's been assigned" I already tried that, the error for that is: Overload resolution failed because no 'New' is accessible. Code Dim MeService As New MathService |