Getfileversioninfosize windows ce




















Text, 0, nDataLen, buffer 0 ' Get a pointer to a structure that holds a bunch of data. Print "Version Number: "; dispstr ' Display the type of file it is i. Select Case vffi. Print "File Type: "; dispstr ' Before reading any strings out of the resource, we must first determine the code page ' and language. The code to get this information follows.

CopyMemory cpl 0 , ByVal pData, 4 ' It is necessary to swap the first two bytes, as well as the last two bytes. SwapByte cpl 0 , cpl 1 SwapByte cpl 2 , cpl 3 ' Convert those four bytes into a 8-digit hexadecimal string. Print "Copyright Info: "; dispstr ' Similarly, read a description of the file and display it.

Print "File Description: "; dispstr End Sub. Back to the Function list. Back to the Reference section. E-mail: vbapi vbapi. The winver. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes. Version Information. Skip to main content. This browser is no longer supported.

Download Microsoft Edge More info. Contents Exit focus mode. Please rate your experience Yes No. Any additional feedback? Note The winver.



0コメント

  • 1000 / 1000