Hi, I try with perl2exe and i don't have any problem (no problem with perl.com image). But, when i try with PAR i have same problem.
Problem is in GetOLE method, i try to locate Win32::OLE associate dll using a LoadLibray("OLE"). I need this dll for use an exported function for create Win32::OLE object. But, PAR rename OLE.dll with a tempory name. So, LoadLibray("OLE") don't find OLE.dll and GetOLE return undef. I think perlapp probably do something like that. For correct this problem, i need to enumerate all dll attached to current process and try to found renamed OLE.dll. I found some source code for do this but it's not easy ;o) because don't exist a standard API for all Windows system. http://www.alexfedotov.com/articles/enumproc.asp I try to add this in next release. Laurent > When I build an executable using perlapp on the following code, I get this > error message: > > Can't call method "Navigate" on an undefined value at Axsample.pl line 29. > > What's happening? And what can I do to make it work. Thanks. >