Require a simple Win32 library/DLL (i.e. no GUI) for use in a Win32 C/C++ (VC6) app. Library must interface with Betfair site to obtain list of markets and for selected market get live back/lay prices and place bets. Non-API solution preferrable. To simplify the library, I am only really interested in UK horse racing, specifically all the races in the "Horse Racing - Todays Card" menu. My app decides on which race and selection to back/lay i.e. the library does not need to do it. Expected functions for the library are listed below ??"more for explanation of required functionality, coders are free to suggest other more appropriate interfaces as required:- int SetLoginDetails (char* Username, char* Password) Initialises library with username and password for use when placing bets. int GetListOfMarkets (char* pszBuffer, int nBufferSize) Parses BF site and fill buffer with list of races in comma separated form e.g. "13:45 Newmkt,13:45 Newmkt (Place),14:00," etc. Returns the length of the buffer or negative value(s) to indicate an error int GetPrices (const char* pszMarket, char* pszBuffer, int nBufferSize) For the specified market (text as per description returned from GetListOfMarkets e.g. "13:45 Newmkt"), fills buffer with list of runners and best back and lay price in comma seperated form e.g. "Signatory,5.7,5.9,Kalamkar,5.9,6,Clueless,5.2,6",etc. Returns the length of the buffer or negative value(s) to indicate an error float PlaceBackBet (const char* pszMarket, const char* pszSelection, float rStake, float rPrice) float PlaceLayBet (const char* pszMarket, const char* pszSelection, float rStake, float rPrice) For the specified market and selection (text as per description returned from GetListOfMarkets and GetPrices e.g. "13:45 Newmkt" and "Signatory"), places a back/lay bet of stake rStake at price same or better than rPrice. Returns value representing matched amount or negative value(s) to indicate an error
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):
a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Windows 32 Bit (XP/2000/NT) Visual C++ 6 (Visual Studio 6) Win32 Static/Dll Library Internet Explorer 5.5 and above