ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
SDK Wrapper (Sdk)
SDK Wrapper // SdkhotheadJun 29, 2006, 7:59pm
Hello,
I'm currently attempting to use [DllImport("Aw.dll")] in a C# class i've made so that I can use the bot sdk within .net, but when i run my VB.net bot application for a few minutes, i get an error concerning aw_wait, and the fact that .net tells me that a delegate that i created is being garbage collected prior to its use. It listed the name of the delegate in my C# class, and it turns out it's the one i use to pass functions to aw_event_set. any ideas on what might be causing this, and what the solution might be? hotheadJun 30, 2006, 12:37am
I think I may have fixed it. I changed the scope of the delegates, so
perhaps now they are not set for garbage collection. Anyone know where I can d/l Byte's wrapper? [View Quote] byteJul 3, 2006, 4:02am
[View Quote]
It's not quite out yet, due to poor decisions in regards to the current
SDK, it has been a little hard for me to get work on it done. I should have something out soon, I hope. I just need to finish out some functions and generate documentation. My wrapper works a little differently, as it removes a lot of the overhead involved in instance management, etc. Seeing as how there is deman for a .NET wrapper, once I get back to my apartment from the holiday, I'll look into getting a beta version of the wrapper out for download. |