Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ilyaw
  • Order by date
  1. ilyaw

    SafeArray

    actually integer in VB is 2 Byte from -32768 to 32767, and what you put in it is long in VB (at least for VB 6.0) it is true. But just believe me it is not the problem, the problem is I do not know how to use SafeArrayPutElement fnc at least it do not work for me. thanks Ilya
  2. ilyaw

    SafeArray

    in VB and C++ types have different sizes. in C++ short is the same as VB integer
  3. ilyaw

    SafeArray

    I didn't modified the safearray that in the VARIANT structure, I modified the array which points to it using SafeArrayAccessData(pv->parray,(void**)&arr); This is a question how to modify the array within safearray and r=return it.
  4. ilyaw

    SafeArray

    Hi, I need help with SafeArray structure, in short I need to import Variant from Excel VBA using dll and change array by reference, I succeeded in bringing array in and working with it, but I do not know how to get back here is my code: c++ side: short __stdcall Single_SafeArray(VARIANT *pv){...

Part and Inventory Search

Back
Top