When I run your example I get the following curl error: "OpenAI curl_easy_perform() failed: Unsupported protocol"
I downloaded curl source and built it using cmake. I placed the DLL and LIB files in the same directory as the test executable.
Are there certain options I should enable when building curl?