A couple of quick questions.

1.) I need to read and write binary data using the Microsoft Binary Format (MBE). I realize that the older version of PowerBasic for DOS had this capability built into the compiler, but the newer PB\DLL 6.0 does not. Would someone here be able to send me code which I could compile in PB\DLL 6.0 which would give me the capability to read and write in this format?

2.) I have written a number of DLL's in PB\DLL 6.0 and they are called from a 3rd party program. The problem I am experiencing is failure to handle multiple instantiations. If the function is called once, it runs fine. If it is called multiple times with different (or same) calling parameters, then the 3rd party program GPF's. What is necessary to add to your DLL for it to be able to handle multiple instantiations? If needed I can send a code example of a working DLL.

3.) What in PowerBasic would be analogous to DataStructures in C/C++?

If you could respond directly to me with answers to any\all of the above, I would be most appreciative. I can be reached at: [email protected]

Thanks in advance for your help. I am looking forward to the responses.

Regards,

Andrew Peskin