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

Hello Rob, 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