Whoa is me...
I am a Perl coder...
I use Perl for a great many things...
I have always relied heavily on Perl's regex functions...
And I was thinking regex could be useful inside DBP...
I own the PerlDevKit, using it to make Perl EXEs...
After a recent upgrade of the Kit,
I am happy to discover I can now compile scripts to DLLs...
So I made a very simple DLL with Perl using the example script,
provided with the DLL compiler.
And to my complete and utter astonishment it doesn't work with DBP...
Ok, ok, so I wasn't remotely surprised...
So I read the help file regarding "Thrid Party",
and it answered a few questions, but failed to help significantly...
It would appear that I cannot add a STRING TABLE...
Does anybody have any help to offer?
Am I being silly?
I have attached the Perl code and the DLL ( as a zip )...
It has one function "Hello"
that returns the string "Hello World"
And the snippet trying to use the DLL is below...
load dll "HelloCtrl.dll", 1
hw$ = call dll( 1, "Hello" )
print hw$
wait key
I can't tell you how much I want to use Perl as the
logic engine under my game... So any help would be
greeatly appreciated...
Thanks in Advance,
================
-Dejunai
================