I answered the first question in my other reply. For the secon question, I'm using the "system hook" library as well as a couple of others, and the error is about the "...\AppData\Local\Temp\systemhook+1516139465.dll" file.
On Saturday, December 21, 2019 at 12:55:58 PM UTC-5, Charles wrote: > > Many NetLogo extensions use third-party jar files, but I've never seen > this error. Two questions: > > 1. How are you reloading the extension? From within NetLogo on the > command line with the __reload primitive, or from within the NetLogo code > itself? > 2. The message you get refers to a dll file. Does one of the jar > files call into a dll file? If so, that can be a bit tricky. > > Charles > > On Saturday, December 21, 2019 at 1:36:10 AM UTC-5, TechnoRazor wrote: >> >> I'm trying to make a NetLogo extension that loads in jar files. As of >> right now, I don't have much experience with this stuff, so I just added >> the jar files to the classpath along with the Netlogo jar. This seems to >> work until you try to reload the extension, which results in the "...dll >> already loaded in another classloader" error. I assume that's because the >> library is already loaded from the first time, but how would I avoid that? >> And if the answer is to not include them in the classpath, then how would I >> compile my code in the first place? >> Again, I don't have much experience with this stuff, so please excuse and >> correct me if I use any incorrect terminology. I have no idea what to do >> from here, so any help is appreciated. >> > -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/f48a42cd-6765-4eac-ac7c-d8995b871ec3%40googlegroups.com.
