CFNetwork compiled for Win32
CFNetwork compiled for Win32
- Subject: CFNetwork compiled for Win32
- From: "Steve Graesser" <email@hidden>
- Date: Fri, 15 Sep 2006 10:26:25 -0600
- Organization: White Lab Consulting
Hi All,
I am trying to port my apps networking code to run on Windows. The
networking code is written using the CFHTTPMessage and CFReadStream
functions. I was hoping to create a Win32 version of the CFNetwork library.
I started with the CoreFoundation on Win32 projects provided by Jose
Cruanyes and posed to this list. See <http://lists.apple.com/archives/
Darwin-development/2004/Jan/msg00072.html>. I was able to successfully
compile the CF-368.27 code and run some sample apps using CW Pro 9.
I then tried to compile the CFNetwork-129.16 source code. I noticed in
the CFNetwork Makefile has a set of compile options for the Cygwin
platform. However, the CFNETWORK_BUILDING_DLL is defined but never
referenced in the source code. I also found the CFNetwork_EXPORT define
in the CFNetworkDefs.h header file. But, the CFNetwork_EXPORT define is
only used twice in the _CFURLAccess.c source file and the
CFNetwork_EXPORT is not set correctly for Win32 builds.
Even after modifying the source to use a corrrectly define
CFNetwork_EXPORT and ignoring calls to the SSL framework, I can't
compile and link the CFNetwork library due to dependency on the Security
and SystemConfiguration frameworks.
Has anyone been able to successfully compile and link the CFNetwork
library for Win32?
Steve Graesser White Lab Consulting LLC
PGP Fingerprint: 8AA4 6514 A87C FD26 A135 DBA0 F8AF 3E1B 41C5 4B5C
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden