Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi 3D Dynamic Array (https://www.delphipraxis.net/145920-3d-dynamic-array.html)

nanix 11. Jan 2010 10:34

Re: 3D Dynamic Array
 
Ok i will tell and i also feel that this aproach is wrong..But i tried anyway..
Like 15 Classes each with how many instance it has and how many property has and each property must have value. :oops:

For example:
Delphi-Quellcode:
    0 Win32_Processor
         Instance
            SomeProperty
                  SomeValue
    1 Win32_OperatingSystem
         Instance
            SomeProperty
                  SomeValue
    2 Win32_SystemSetting
         Instance
            SomeProperty
                  SomeValue

Thanks for the support/help/explanation so far

Klaus01 11. Jan 2010 10:51

Re: 3D Dynamic Array
 
.. what about a record in 1 Dimension Array?
Regards
Klaus

nanix 11. Jan 2010 10:54

Re: 3D Dynamic Array
 
what you mean like this?it has to have that structure that i wrote above. :P


Maybe?

Delphi-Quellcode:
  type
  propertys=record
    index:integer;
    name:string;
    Value:String;
  end;

  type
  instance=record
    Index:Integer;
    name:string;
    Propertys:array of Propertys;

  end;

 type
 WMIClass=record
  index:integer;
  name:string;
  Instances:array of instance;
 end;



var
 
   _WMIClass:array of WMIClass;

nanix 11. Jan 2010 11:49

Re: 3D Dynamic Array
 
I have figured it out so this thread may be closed.


Thanks,
nanix


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:54 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz