Question: I'm trying to build the Poco C++ libraries manually on Android, iOS, and windows. After much effort I got them to build on Android, but I'm struggling a bit on Windows.

I've had to manually edit several files already to resolve undefined symbols -- specifically File & Path weren't #included properly by \*\_WIN32U.cpp versions.

I'm down to what APPEARS to be my last compiler issue for "Foundation". It's this line in Process\_WIN32U.cpp:

```
    envChars = getEnvironmentVariablesBuffer(env);

```

The compiler error generated is:
 "getEnvironmentVariablesBuffer identifier not found"

The declaration of "getEnvironmentVariablesBuffer" is in Process.cpp but it's not a member of the root class, there are no EXTERN references anywhere, and no header file contains the function declaration.

So how the heck is "Process\_WIN32U.cpp" supposed to be able to see that function?

Thanks!

Answer: 
> 
> So how the heck is "Process\_WIN32U.cpp" supposed to be able to see that function?
> 
> 
> 

ProcessWIN32U.cpp (i.e. ProcessImpl class) is able to see that function because ProcessWIN32U.cpp is [included from Process.cpp](https://github.com/pocoproject/poco/blob/9d259ac02f880a486ebef30acc4e5e83d3e87b5f/Foundation/src/Process.cpp#L64) and it was not designed or meant to be used standalone - it is [excluded from build](https://github.com/pocoproject/poco/blob/develop/Foundation/Foundation_x64_vs120.vcxproj#L905-L912) in POCO Visual Studio solutions.
In order to get ProcessWIN32U.cpp to be included by Process.cpp, one must manually /D\_WIN32 which is not defined by Visual Studio (it defines WIN32).