thomasl Posted September 12, 2006 Share Posted September 12, 2006 (I recently posted this bit over in the Scripts and Scraps forum but it seems that here would be a more appropriate place as it's not really a script.)I have stitched together an interface library (basically a DLL) to embed live Perl code into AU3 scripts. More details and a fully working package, including all source code, an example and the Perl DLL itself (which means there's no need to install Perl), are here: http://thomaslauer.com/comp/Calling_PerlSee also this thread in Scripts and Scraps. Link to comment Share on other sites More sharing options...
nfwu Posted September 12, 2006 Share Posted September 12, 2006 The Scripts and Scraps was the more appropriate place. Here is for Support. #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
Valery_6 Posted September 12, 2006 Share Posted September 12, 2006 (I recently posted this bit over in the Scripts and Scraps forum but it seems that here would be a more appropriate place as it's not really a script.)I have stitched together an interface library (basically a DLL) to embed live Perl code into AU3 scripts. More details and a fully working package, including all source code, an example and the Perl DLL itself (which means there's no need to install Perl), are here: http://thomaslauer.com/comp/Calling_PerlSee also this thread in Scripts and Scraps.Hello, Tomasl!Thank you for your Perl's DLL. Would you like to be member of AutoItList group on Yahoo?http://tech.groups.yahoo.com/group/autoitlist/It will be great to read about your zillion ideas. This group has above 4000 members - AutoIt lovers from day of it's creation - more than 30,000 messages.Sincerely,Valery IvanovPS I registered here specially for this message, only. Link to comment Share on other sites More sharing options...
thomasl Posted September 12, 2006 Author Share Posted September 12, 2006 The Scripts and Scraps was the more appropriate place. Here is for Support.Yeah, that's Murphy #3245: wherever you post, it's wrong Link to comment Share on other sites More sharing options...
jpm Posted September 12, 2006 Share Posted September 12, 2006 Yeah, that's Murphy #3245: wherever you post, it's wrong but Murphy #-3245 put you back in the suitable forum Link to comment Share on other sites More sharing options...
piccaso Posted September 12, 2006 Share Posted September 12, 2006 cant perlxx.dll be called directly? CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
thomasl Posted September 13, 2006 Author Share Posted September 13, 2006 cant perlxx.dll be called directly?Of course it can. In theory, what the C code does could be done with some well-crafted AU3 code as well.In practice, it's not that easy. There are a number of reasons why I decided against direct calls to PERLxx.DLL from AU3:it would not be as portable as using the macros #define'd in PERL.H for exactly that purposeit's more complicated and pretty error-proneit has no intrinsic advantages as the ultimate calls are routed to a DLL anyway; whether you install one or two DLLs doesn't make much of a difference (well, not to me anyway: I did this mainly for my own purposes)However, my C code is in the public domain for a reason; you're more than welcome to translate it into AU3. The obvious starting point would be the mess the C preprocessor produces (not what I'd call a pretty sight, but there you are).If you or anyone else wants to travel down that stony road, PM me and I can give you some more pointers. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now