I must manage dynamic memory structures like stacks and queues and VB doesn't handle with them...<br>
So I thaught generating a DLL with MS-Visual C++ but I don't know how to tell VB to use it.<br>
<br>
Thanx
You could try and use the same technique as is used in declaring Win32 API calls. I think I read somewhere that this would work - or you could try and use the references option, and see if you can see your C dll that way. <br>
Dan Applemans book on the Win32 API gives clear instructions on what has to be done for the declerations and data types to be used with VB if passing data to a C DLL.
Arlequin,<br>
<br>
Probably easier to fake it <smile><br>
<br>
Bear in mind that you can change the size of an array (an array of anything - a structure even) whilst a program is running and without losing data. (using the ReDim Preserve command)<br>
<br>
DLL's are all very well if you're a clever sort (and maybe you are) but they're a pain in the b*&t to debug and get working properly. If you can do it in ordinary VB - that's the way to go.<br>
<br>
You could, for instance, create a VB class that managed queue like structures.<br>
<br>
Regards<br>
<br>
Mike<br>
<br>
<br>
<br>
<p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href=http://
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.