develooper Front page | perl.perl5.porters | Postings from June 2013

RE: Include the Win32 extension in the ALL_STATIC build on Win32

Thread Previous | Thread Next
From:
vadim.konovalov
Date:
June 9, 2013 08:57
Subject:
RE: Include the Win32 extension in the ALL_STATIC build on Win32
Message ID:
DC0095F744C45F45BDD43368AB46582C02A20E@FR712WXCHMBA09.zeu.alcatel-lucent.com
> From: Steve Hay 
> On 8 June 2013 20:54, Konovalov, Vadim wrote:
> >
> > what a point of exporting functions from an .exe?
> 
> Yes, but we have to export init_Win32CORE for the GetProcAddress()
> call in Perl_init_os_extras() to succeed.

of course... correct...
any XS module must use API functions normally obtained from DLL, in case of 
static linked executable - from EXE.

Cool if this is indeed possible, and kudos for solving these problems :)

Vadim.
Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About