how to set PYTHONHOME TO Py_SetPythonHome with examples

Hi
I am having a c++ wxWidgets application with embedded wxpython , how can i set PYTHONHOME TO Py_SetPythonHome?

Srinivas J a wrote:

   I am having a c++ wxWidgets application with embedded wxpython ,
how can i set PYTHONHOME TO Py_SetPythonHome?

I don't understand the question. PYTHONHOME is an environment
variable. Py_SetPythonHome is an API used to override that environment
variable, or to set the home path if the variable is not present.

ยทยทยท

--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.