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


[login to view URL]:_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

[login to view URL]:_A_basic_preflop_for_deep_stack_NL

[login to view URL]:[login to view URL]

-> There is some example code for a gamestate class

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

-> 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 [login to view URL]

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 [login to view URL]

file > open > ([login to view URL] - 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

Квалификация: Программирование на C++

Показать больше 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

О работодателе:
( 1 отзыв ) Haslett, United States

ID проекта: #1112335



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

$130 USD за 7 дней(-я)
(2 отзывов(-а))

10 фрилансеров(-а) в среднем готовы выполнить эту работу за $153


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 Больше

$200 USD за 4 дней(-я)
(2 отзывов(-а))

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

$125 USD за 4 дней(-я)
(1 отзыв)

Can do it.

$200 USD за 5 дней(-я)
(0 отзывов(-а))

please check PM

$125 USD за 5 дней(-я)
(1 отзыв)

Hello sir, looking forward to work for you.

$200 USD за 7 дней(-я)
(1 отзыв)

Hi, Please see the PMD

$200 USD за 5 дней(-я)
(0 отзывов(-а))

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 Больше

$200 USD за 7 дней(-я)
(0 отзывов(-а))

please see pm.

$100 USD за 7 дней(-я)
(0 отзывов(-а))

Hi Looking for a starting project.

$50 USD за 10 дней(-я)
(0 отзывов(-а))