Search the web
Sign In
New User? Sign Up
pokersource · Poker Source
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
DLL / VB   Message List  
Reply | Forward Message #34 of 355 |
Re: [pokersource] DLL / VB


>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




Tue May 30, 2000 2:58 am

brian@...
Send Email Send Email

Forward
Message #34 of 355 |
Expand Messages Author Sort by Date

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. I tried compiling the...
joaustin@...
Send Email
May 27, 2000
9:34 pm

... 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 ...
Brian Goetz
brian@...
Send Email
May 30, 2000
3:00 am

... 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 ...
Darse Billings
darse@...
Send Email
May 30, 2000
3:32 am

... poker-eval ... Basic. ... certainly ... calling ... 64-bit ... 64-bit ... call DLL ... there are a ... able to use. ... porting ... with ... Darse. Well of...
joaustin@...
Send Email
May 30, 2000
3:44 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help