M
meet
Unregistered / Unconfirmed
GUEST, unregistred user!
type
p_LICENSE = ^TLICENSE;
TLICENSE = record
Encrypt: string;
end;
type
p_EXCEL_NODE = ^TEXCEL_NODE;
TEXCEL_NODE = record
License: p_LICENSE;
end;
--------------------------------------
var
g_EXCEL_NODE: p_EXCEL_NODE;
List_License: TList;
begin
List_License := TList.Create;
New(g_EXCEL_NODE);
g_EXCEL_NODE^.License^.Encrypt := 'test'; //执行到这条语句会有问题,不知是为什么,是不是没分配内存,应该如何做才能正确,,,,谢谢大家了,,,急啊,,,
List_License.Add(g_EXCEL_NODE.License);
end;
p_LICENSE = ^TLICENSE;
TLICENSE = record
Encrypt: string;
end;
type
p_EXCEL_NODE = ^TEXCEL_NODE;
TEXCEL_NODE = record
License: p_LICENSE;
end;
--------------------------------------
var
g_EXCEL_NODE: p_EXCEL_NODE;
List_License: TList;
begin
List_License := TList.Create;
New(g_EXCEL_NODE);
g_EXCEL_NODE^.License^.Encrypt := 'test'; //执行到这条语句会有问题,不知是为什么,是不是没分配内存,应该如何做才能正确,,,,谢谢大家了,,,急啊,,,
List_License.Add(g_EXCEL_NODE.License);
end;