OK, I got the declarations to compile perfectly, but how do I use the function? It's not compatible with string types, so I can't do any assigning or string-testing. Here is how I declare the function:
function getenv(s: __CString__): __CString__; C;
Is there a way to assign the result into a string? -john