473,783 Members | 2,577 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Win32:Exe Perlapp Conflict ?

Hi, I have a script that runs perfectly natively. However, when
compiled (using perlapp from ActiveState's Dev Kit) it fails to run
from a DOS command window, and fails with …

Can't locate object method "load" via package "Win32::Exe::PE " at
/PerlApp/Parse/Binary.pm line 453.

I assuming, perhaps naively, that this is something that can be fixed
in my script, rather than being an issue with perlapp.

I'm using Perl v5.0.8 with Parse::Binary and Win32::Exe both at v0.06

Any ideas very much appreciated.

Regards
Nigel
use strict;
use File::Copy;
use Win32::EventLog ;
use POSIX;
use Pod::Text;
use Pod::Html;
use Pod::Pdf;
use Parse::Binary;
use Win32::Exe;
..
..
..
if ( -f "$EXE" ) {
$EXEV = Win32::Exe->new($EXE);
@ORIG_VERS = split ( /,/, $ORIG_VERS, 4 );
$ORIG_MAJ = $ORIG_VERS[0];
$ORIG_MIN = $ORIG_VERS[1];

}
..
..
..
Jul 19 '05 #1
0 1551

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2209
by: blah blah blah | last post by:
Does anyone know of a tool, freeware prefered, that will build a win32 exe from a perl script? I know one exists for the mac. Thanks much.
3
1355
by: Max | last post by:
Hi, I am new to .NET. I want to implement an application which can be run independantly. I also want it can be used as a dll library. I cannot reference a exe file in Visual Studio .NET. Can I do it? Thanks a lot, Max
1
2149
by: steph | last post by:
Hi, I have a VC++ 6 project I migrated to vc 7++ DOTNET. * in a first step , I don't use Managed extension -> memory used is 16 Mo. * then I check "use managed extensions" in project properties -> memory used is 58 Mo. 16 Mo for a win32 exe and 58 Mo if I just add /clr option. Is it normal ? thanks
1
567
by: CharlesHenri | last post by:
Hello, i plan to use a managed dll containing WinForm classes in an unmanaged win32 exe. Starting from NOTHING, how do i have to proceed ? I have found the following tutorial on microsoft.com : "Converting Managed Extensions for C++ Projects from Pure Intermediate
10
4311
by: Fredrik Melin | last post by:
I need suggestions on tools to compress dot net EXE's (its ridiculos how large they are..) I have a licenced copy of thinstall, but its old and have some bugs in it, unfortunally they seems to have discontinued the support for it, and there new system starts from $10.000. Ouch. There is a opensource tool called NETZ, which sort of works, but my application crashes later when using it (directly linked to if I compress it or not)
3
1516
by: Gil | last post by:
I need to create a web page in which its content should be controlled by some win32 application. this application may add or remove some gif images from the page and it should be smooth as possible as can. Can someone here direct me how to start that. Thanks in advance Gil
2
2489
by: AA | last post by:
Hi, I would like to use the type library import exe tlbimp.exe without actually having the .NET framework setup on the machine. Is there any way, like installing some minimal dlls, so that I can use tlbimp? Currently, when I run the tlbimp.exe, I get an error saying " To run this application, you must install one of the following versions on the ..NET Framework: v2.0.50727". Can anyone suggest something?
2
2063
by: Jens Kallup | last post by:
Hello Newsgroup, I had program a little tool, thats output some assembler output: --- .section .rdata, "dr" LC1: .ascii "eins: %g\0" ..text ..globl _dbase_main
3
2105
ThatThatGuy
by: ThatThatGuy | last post by:
hello.... having coded in java for a sometime i was wondering how would we create a executable for a java application... i know you can create a jar executable for a java application.... and also there are tools which convert jar to exe.... but that requires JRE on the client machine.... and i think eclipse runs entirely on JVM and not on JRE.... something like that
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.