Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Moral: Don't spend time on code that isn't needed! Although as noted it was probably time those classes made their way into DCL. 

Loading up a test DLL

One line of code lets the user look up a DLL with FileDialog:

FILEDIALOG('Chose a test dll',TestDll,'Test DLLs|*.dll')

And two calls at the appropriate places save and restore the last test DLL:

settings.Fetch(ProcedureName,'TestDLL',TestDll)
settings.Update(ProcedureName,'TestDLL',TestDll)

This is all pretty standard stuff in ABC apps, so even if you're writing procedural code, Clarion is constantly writing OO code for you. 

Now, how about loading up the test DLL?