-
Vb <--> C++ Dll
Not sure whether to put this in the VB forum or the C++ one, so it's in both. :)
Hi all, i've made a program that using AI can play any tic-tac-toe style game.
This works fine, but is extreamly slow. I decided to use C++ to speed up a lot of the code, using VB for the UI.
My base data structure, is a game-position. To learn the game, i'm using a binary-tree, that's emulating a k-ary tree by using nodes named 'sibling' and 'child' (instead of 'left' and 'right').
I want my C++ DLL to be able to construct the tree as the user makes their moves. So i need some way of 'remembering' the tree in the dll (and being able to add to it in the dll).
Is this possible??
Thanks in advance.