PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

To statically link or dynamically link to GapiDraw...

I was investigating the issue of displaying a "DLL not found" message when GapiDraw wasn't present on a machine (like say a user deleted it) and was about to start writing code to dynamically link to GapiDraw's DLL when I realized there's 91 different Procs in the DLL. That alone was enough to make me cringe, but then I started to wonder how I'd deal with binding the objects dynamically.

At this point I was treading into unknown territory (for me) so I thought I'd pose the question here. Should I bother attempting to dynamically bind to GapiDraw, and how does one dynamically bind to DLL Objects?

Even if it's not worth binding to GapiDraw dynamically, I'd like to know how to bind to DLL based objects so if anyone knows, feel free to share the wealth ;)