Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

SizeOf equiv in IS 5.5.3


1 reply to this topic

johnnyz

johnnyz
  • Members
  • 1 posts

Posted 22 August 2001 - 20:22

Hello,

I have a TYPEDEF Struct used when calling a windows DLL.  One of the fields in the struct is a legnth field that needs to be init'd prior to the DLL call.  The length is the total length of the struct and I need a SizeOf type directive in my script.  StrLength doesn't work.. Any ideas..?

TIA..!


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 August 2001 - 07:13

Count the bytes in the struct and use a constant. There's nothing similar to sizeof() in InstallScript.