Luciano Lucas - MI wrote: > Hello everybody, > > I need help, i have this problem > > char *c -> bytes image > long k -> total of bytes > > i wanna convert this variables in other variable, other type ... i wanna > convert in VARIANT *C > > in my program i reference other dll (image processing) and this dll only > accept VARIANT type. > > After i can convert Variant to array (char *) or Blob type. > > thaks
The VARIANT type implies you are using COM, which is kind of strange for an image processing DLL. Your best bet for transferring raw binary data via a COM VARIANT is to use VT_BSTR (a BSTR object). -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* VerifyMyPC 2.5 Change tracking and management tool. Reduce tech. support times from 2 hours to 5 minutes. http://www.CubicleSoft.com/VerifyMyPC/
