Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: embedding Perl into C for Windows

by bulk88 (Priest)
on Feb 12, 2014 at 01:38 UTC ( [id://1074570]=note: print w/replies, xml ) Need Help??


in reply to Re: embedding Perl into C for Windows
in thread embedding Perl into C for Windows

Ditto on PERL_SYS_INIT3(&argc,&argv,&env);. It does nothing on no-threads Unix, but it mandatory on windows to setup process global (not interp/ithread global) data. Im not sure if it does something on ithreads unix.
  • Comment on Re^2: embedding Perl into C for Windows

Replies are listed 'Best First'.
Re^3: embedding Perl into C for Windows
by ccad (Novice) on Feb 12, 2014 at 07:25 UTC
    Hello bulk88, this was the missing link:
    PERL_SYS_INIT3(&argc,&argv,&env); PL_exit_flags |= PERL_EXIT_DESTRUCT_END; PERL_SYS_TERM();
    I added these three commands - now it works! Many, many thanks - great! Greeting from Germany Frank

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1074570]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found