perlembed for perl-5.8.6 : I'm trying to do something like this: int useargs(int argc, char **argv, char **env) { PERL_SYS_INIT3(&argc,&argv,&env); ... }
The trouble is I don't think I'm supposed to retrieve the env pointer in the wxWidgets SDK I'm using. Basically I can't seem to get ahold of env and it crashes. This is a windows gui app and perl is a part that should be able to be disabled, in case it's dll is unavailable etc. Any tips on how i should get env, reconstruct it since i can find individual enviromental vars, or bypass sys init? --t