Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. MASM structures problem

MASM structures problem

Scheduled Pinned Locked Moved IT & Infrastructure
helpdata-structuresquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • _ Offline
    _ Offline
    _crs_
    wrote on last edited by
    #1

    Hello, I want to create a nested array of structures in masm 7 and I can't do that ... my code is : ProcList struc processtype BYTE ? exefile BYTE 30 dup (?) titlebar BYTE 70 dup (?) ora DWORD ? minute DWORD ? procent DWORD ? handle DWORD ? ProcList ends Image struc bufferImg DWORD ? bufferImgSize DWORD ? Image ends ClientsList struc processes ProcList 50 dup () ImageList Image nume BYTE 32 dup (?) ip BYTE 16 dup (?) socket DWORD ? bufferDate DWORD ? sizeofBuffer DWORD ? state DWORD ? ClientsList ends and now I try to create an array of "ClientsList" objects .... eyeConClients ClientsList 10 dup ({}) the problem is at the item "processes" in ClientsList structure ... if I declare it without "dup" (not an array!) like : processes ProcList it works fine ... when I put there "dup" it gets an error <<< A2177 nested structures improperly initialized >>> .... ! please give me any ideas if you know ... please ..... thank you !!!!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups