Converting a C style dll to object oriented style

Explanation of what I need

-> The final project needs to compile in Microsoft Visual C++ 10

-> OH-DLL is an example project which shows how to setup the interface between dll

-> The code in OH-DLL is written in a C Style, global variables etc


[url removed, login to view]:_Creating_a_template_for_a_NL_poker_AI

Page that have the OH-DLL C Style programming we would like to have changed to work with the GameState class

[url removed, login to view]:_A_basic_preflop_for_deep_stack_NL

[url removed, login to view]:[url removed, login to view]

-> There is some example code for a gamestate class

Included files related to this are the GameState forum post, GameState.h, [url removed, login to view]

-> I am having problems compiling the projects when I try to make the OH-DLL example work with the GameState example code

-> Need it so that I can use an instance of the gamestate and be able to pass the correct parameters to the member function GameState::updateState so that it updates the current gamestate

//the function that gets passed the updated state as taken from [url removed, login to view]

GameState::updateState(holdem_state* pstate)


holdem_state oldstate = _state;

_state = *pstate;

//if(memcmp(&_state, &oldstate, sizeof(holdem_state)) // DONT! or we have to take care about the padfield initialization

//if(_state != oldstate) // state has changed

// TODO: I thought I could spare those gws calls if I compare the states first



-> The gamestate code needs to be tested

I can setup a test machine that coder can use to remote into, upload his dll to, and test to see if it worked

Likely do this on my test computer as it is a lot of work to get xp / openholdem / poker academy installed and configured correctly

It will have MSVC10 installed and available as well

We will have to discuss access to the test machine and find a solution that works for everyone

-> explain how to test if the plugin loads correctly

run [url removed, login to view]

file > open > ([url removed, login to view] - a file i will make that can test the dll)

menu option DLL > Load Specific File > Load Specific File > (load the dll that you have created using the combined source)

load specific dlluse dll$test + attaching to a table to test

(will write up further instructions in this section later

Skills: C++ Programming

See more: style dll, object oriented dll, www cpp programming com, www computer programming com, www academy com, work style, what is object oriented programming, what is computer programming, what is an object in programming, what is an interface in programming, what is a function in programming, what is a function in computer programming, what is a class in programming, visual programming c++, variables in programming, to find a solution, programming with cpp, programming wiki, programming what is a class, programming variables, programming style, programming projects c++, programming object, programming instructions, programming a remote

About the Employer:
( 1 review ) Haslett, United States

Project ID: #1112335

Awarded to:


Hi, I'm a poker player and a programmer. Reduced bid for smaller project scope. See PM.

$130 USD in 7 days
(2 Reviews)

10 freelancers are bidding on average $153 for this job


Hi, I'm an experienced Network Systems Programmer proficient in C++ in both windows and Linux. I have also coded for poker client in hangame. i can provide this project to you in an efficient manner with proper d More

$200 USD in 4 days
(2 Reviews)

50% after it works on test machine 50% when it works on main machine.

$125 USD in 4 days
(1 Review)

Hello Please let me work for you. thanks.

$150 USD in 3 days
(1 Review)

Can do it.

$200 USD in 5 days
(0 Reviews)

please check PM

$125 USD in 5 days
(1 Review)

Hello sir, looking forward to work for you.

$200 USD in 7 days
(1 Review)

Hi, Please see the PMD

$200 USD in 5 days
(0 Reviews)

have 8 years experience in VC++, worked with topnotch companies like IBM, OTIS, NationalGrid, Vodafone. Please see my Project details below Professional Profile has 8 years experience in the Engineering & Telecom d More

$200 USD in 7 days
(0 Reviews)

please see pm.

$100 USD in 7 days
(0 Reviews)

Hi Looking for a starting project.

$50 USD in 10 days
(0 Reviews)