Although the C# has my name on it somewhere, the author really
is Johan Euphrosine <[EMAIL PROTECTED]> Unfortunately Johan's mail is
down at the moment (server) crash. I'll make sure to mention your
contribution to him.
Thanks for your feedback,
"Alexander Hanhikoski" <[EMAIL PROTECTED]> writes:
> Dear Loic,
> As the author of the c# binding of poker-eval, I've decided to contact
> you. I think there are some issues with the current implementation.
> I'm using windows xp with VS.net 2005 and the poker-eval-134.0
> package.
> Made a new c# project, added all the files from /csharp and compiled.
> Resulted in two errors:
> First is because of the LL-macro used in Test.cs (ie.
> 0x0001000000000000LL). The compiler didn't recognize it.
> Replaced them with single L-macro and it went through.
> Second is because of the fixed pointers used in EnumResult.cs. Fixed
> is only allowed in unsafe context and there
> is no such context defined in the program. I changed the
> EnumResult-struct to be unsafe public struct and it compiled.
> Not sure if the changes I made for succesful compilation did result in
> correct behavior. Now I needed poker-eval.dll
> to test the c# binding. Went through a lot of trouble trying to get it
> compile. Was succesful atlast with nmake. This
> resulted in libpoker.lib and libpoker.dll files, which isn't what I
> need (poker-eval.dll defined in c# dll-import)? Checked
> dll export functions in libpoker.dll with dllexp (
> http://www.nirsoft.net/utils/dll_export_viewer.html ) and found 0
> functions.
> Next, I tried the ide version with the conversion of the project files
> to recent VS.net and excluded all but the poker-eval project.
> Imported to /lib the computed table source files from the nmake
> version. Used the "profile" solution configuration for the build and
> it was succesful.
> Resulted in just poker-eval.lib, no dll. Did some digging, found the
> preprocessor definition of POKEREVAL_LIBRARY and changed to
> POKERVAL_DLL, no affects. Changed back to POKEREVAL_LIBRARY and
> changed the configuration type from Static library to Dynamic library.
> Resulted in poker-eval.dll. Opened with dllexp, 0 functions.
> I'm lost and clueless here. Maybe I'm doing something fundamentally
> wrong. I see that the c# binding is using the wrap functions, which
> are defined
> in poker_wrapper.h and .c, but they aren't included in the poker-eval.
> Any help would be appreciated! Thank you for your time.
> Best regards,
> Alexander Hanhikoski
--
+33 1 76 60 72 81 Loic Dachary mailto:[EMAIL PROTECTED]
http://dachary.org/loic/gpg.txt sip:[EMAIL PROTECTED]
Latitude: 48.86962325498033 Longitude: 2.3623046278953552
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users