I have a bit of a problem that I need help with. I am a VB.Net developer like many of you. My problem is that there is code that I need in my vb program that has already been created, but happens to be written in C.
The code I need was written as part of an open source project and is freely available. I dont think it is feasible to convert the code to vb.net as I dont understand the C code.
What I was thinking is to create .DLLs with the C code and access them from my vb program. The problem is I dont know how to do it. I have scoured the net looking for help and toutorials but no luck.
If anyone out there knows how to do it and it isn't too much of a task, I ask you to please create the DLLs for me or give me an explaniation on how to do it.
I have included the files as attachemnts. (showdown.c and handeval.c)
That's some pretty bare to the metal coding... the author is shifting bits to represent cards in a deck... reminiscent of the old days when computers had 8k of memory total.
Also, the dll's will be unmanaged code in your project, which means you will have to be sure the author cleaned up his objects cleanly.
Yes, I was a bit floord by his code, its a bit above my coding level. I think it looks old shcool because the code runs large numbers of simulations (up 2 bil) and so it needs to be as efficient as possible. I do appreciate you taking the time to look at it.