Hi! Okay, thats just the question. I did that what you wrote but it doesn't really works. What is, if Py_SetProgramName() gets a NULL Pointer, if argv[0] is empty?
Well, the problem is, in my opinion that os.environ returns some paths in python.exe and in my embedded interpreter if I call os.environ in Py_Main(...) When I call it in my PyRun_SimpleString(...) it returns nothing. Hm.. thats really strange. -- http://mail.python.org/mailman/listinfo/python-list