Completado

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

-> OH-DLL

[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

updateVars();

}

-> 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

Habilidades: Programación en C++

Ver más: 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

Información del empleador:
( 1 comentario ) Haslett, United States

Nº del proyecto: #1112335

Adjudicado a:

richb38

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

$130 USD en 7 días
(2 comentarios)
3.0

10 freelancers están ofertando el promedio de $153 para este trabajo

thandadude

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 Más

$200 USD en 4 días
(2 comentarios)
4.6
codexperia

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

$125 USD en 4 días
(1 comentario)
2.0
leptonX

Can do it.

$200 USD en 5 días
(0 comentarios)
0.0
codecave

please check PM

$125 USD en 5 días
(1 comentario)
0.0
James1986

Hello sir, looking forward to work for you.

$200 USD en 7 días
(1 comentario)
4.1
PrasannaKBhat

Hi, Please see the PMD

$200 USD en 5 días
(0 comentarios)
0.0
arunawasnik

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 Más

$200 USD en 7 días
(0 comentarios)
0.0
adil34

please see pm.

$100 USD en 7 días
(0 comentarios)
0.0
PriyankaKale

Hi Looking for a starting project.

$50 USD en 10 días
(0 comentarios)
0.0