I don't understand, but I like the track that you're on. Exactly, I want it to use the embedded dll before any other.
What is yourapp.cmd and where do you mean for the example code that you've written to be placed? Note that I have been building the exe using the PerlApp gui, if that makes any difference.