I'm writing a DLL in VB6 that's supposed to have a global variable that is to be set from the user of the DLL to a Byte() (type 8209) (ie a BLOB from a DB).
this file is to be written to disk later on in the DLL.
the problem is that i can't make a
Public Bin() as Byte
in the DLL since VB doesn't allow that.
so have to make a Variant of it.
ok so far so good.
an later on when I'm writing it to disk. I'm using the Bin-var as a Byte(), but that's when something goes wrong.
so my plain simple quastion is, How do I recieve a Byte() into a public variable in a VB-DLL?