>I was wondering if anyone has been able to compile these poker-eval
>functions into a DLL. I really want to use them with Visual Basic.
The code has been compiled and tested with Visual C++, and could certainly
be compiled into a DLL. I think the biggest issue would be the calling
interface from VB to the DLL. The code uses C extensions for 64-bit
integers (used to store bit masks.) I don't know if VB can store 64-bit
integers, and even if it can, it may or may not be possible to call DLL
routines which use long integers in their interfaces. Finally, there are a
lot of C macros in the package which VB programmers would not be able to use.
If you are just looking to compare two hands to see which wins, you could
probably just compile the cmp2 example program (which does you want) and
spawn it from VB, and examine its output to see which hand wins.
--
Brian Goetz
Quiotix Corporation
brian@... Tel: 650-843-1300 Fax: 650-324-8032
http://www.quiotix.com