logo       

Re: Procedure entry point could not be located: msg#00030

Subject: Re: Procedure entry point could not be located
Malcolm Nooning wrote:

>I can confirm the incompatibility with ActiveState Perl 5.8.7.813.  I 
>don't like the idea of having problems with new Active State revisions 
>as they become available, but it is of course going to happen from time 
>to time.  I don't know how to fix it.  I am hoping someone out there in 
>internet space is working on this problem.  Hopefully this email will 
>provide some hints.
>
>In the past 24 hours I installed Perl 5.8.7.813 and the newest free 
>Microsoft Visual C++ Toolkit 2003 compiler.  The Toolkit 2003 worked 
>after I went into Config.pm and did
>     # cc => 'cl',
>     "c:Program FilesMicrosoft Visual C++ Toolkit 2003Binwin64cl.exe"
>In any case, this also worked:
>     perl Makefile.PL
>     nmake
>     nmake test
>     nmake install
>  
>
I'm somewhat surprised to see that the above worked.

The Free Toolkit is the compiler/linker from VC++ 7, whereas ActivePerl 
is built with VC++ 6.  These two versions of the compiler depend on 
different versions of the C RunTime DLL (msvcr71.dll and msvcrt.dll 
respectively) and you will often have big problems trying to mix the two.

If you want to use the Free Toolkit for building XS modules then you 
would be well advised to rebuild Perl with it too rather than using 
ActivePerl.

I'm also somewhat concerned that your compiler path includes "win64" 
which sounds like a 64-bit edition of the compiler, whereas ActivePerl 
is 32-bit.


>[...]
>I used
>    C:\aaa>pp -o pop_up_hello.exe -M Tk pop_up_hello.pl
>and I also tried without the  " -M Tk " with the same results.
>
>The string
>    "The procedure entry point PL_memory_wrap coult not be located in 
>the dynamic link library perl58.dll"
>was popped up in a small window at the same time.
>  
>
Your program builds using the pp command above and runs fine for me, 
having built PAR-0.89 with VC++ 6, and using ActivePerl 813.

Perl 5.8.7's perl58.dll exports a symbol called PL_memory_wrap, but perl 
5.8.6's perl58.dll does not.  Are you getting your perl installations 
mixed up?  Did your rebuild of PAR really work OK?  It sounds like your 
pop_up_hello.exe thinks it should be running with 5.8.7's dll, but 
actually finds itself running with 5.8.6's dll.



------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are 
confidential and intended for the addressee(s) only.  If you have received this 
message in error or there are any problems, please notify the sender 
immediately.  The unauthorized use, disclosure, copying or alteration of this 
message is strictly forbidden.  Note that any views or opinions presented in 
this email are solely those of the author and do not necessarily represent 
those of Radan Computational Ltd.  The recipient(s) of this message should 
check it and any attached files for viruses: Radan Computational will accept no 
liability for any damage caused by any virus transmitted by this email.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe