--- In pokersource@egroups.com, Darse Billings <darse@c...> wrote:
> >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.
>
> I'm not sure if this is relevant, but we had a lot of trouble
porting
> the library routines to a Windoze platform last year, and I think it
> was because everything was 32-bit. I believe we eventually went
with
> a slower evaluation method, because it wasn't worth the headache...
>
> -
Darse.
Well of course i'm no C++ expert. Have had trouble getting any of the
poker source to compile in C++. Most likely because I'm not too
versed in good ole power language C++. If anyone comes across any
Visual Basic code, I'd be extremly happy to see it.
Thanks for your responses,
Jonathan