in reply to Perl2exe and non-autoloaded DLLs?

One possibility might be to make sure that use Win32::Api is included in the script somewhere. If your module is making calls to that module then you probably need both in order for it to work, right?

Otherwise, try adding a line like #perl2exe_include somemodule.pm at the start of the script.

Also, try perl2exe with the -tiny option and make sure that the dlls are being created (look for yourmodname.dll), or when running the compiled script check c:\temp for the dlls.

If we could get the actual error message and maybe a log of what p2exe is doing when you compile it that may be helpful.