Author Topic: Saving Your Settings  (Read 419 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8492
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Saving Your Settings
« on: June 30, 2021, 05:41:54 PM »
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8492
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Saving Your Settings
« Reply #1 on: July 01, 2021, 12:06:15 AM »
This is what the settings file looks like in a hex editor. The first 4 8 bytes are the 4 window coordinated, the following is a 260 byte buffer to store the directory and file path.

Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000  5A 02 00 00 00 00 00 00 36 01 00 00 00 00 00 00  Z.......6.......
00000010  0D 03 00 00 00 00 00 00 1B 02 00 00 00 00 00 00  ................
00000020  4D 3A 5C 24 6D 61 73 6D 54 75 74 65 73 5C 4C 69  M:\$masmTutes\Li
00000030  62 72 61 72 69 65 73 5C 49 6E 74 72 6F 2E 6D 70  braries\Intro.mp
00000040  34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  4...............
00000050  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000060  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000070  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000080  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000090  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000000A0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000000B0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000000C0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000000D0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000000E0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000000F0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000100  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000110  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000120  00 00 00 00
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy: