Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Programming help - part 2

0 views
Skip to first unread message

MobiPocketGrrl

unread,
Aug 22, 2008, 9:21:46 PM8/22/08
to
Thanks for posting that PidToPkgRef() method call - that was what I
was
missing to see the .parts array. I can now dump out the parts array
but
I am still not seeing anything like the data stored in the package
file.
For instance:
foreach curPkg in GetPackages() do
begin
if (EndsWith(curPkg.title, ".prc:PCKTFCTN")) then
begin
print(curPkg.title);

print(GetPkgRefInfo(PidToPkgRef(curPkg.id)).parts[0]);
end;
end;

Dumps out the following:

"maskedalibi.prc:PCKTFCTN"
{app: |maskedalibi.prc:PCKTFCTN|,
text: "maskedalibi.prc",
icon: {bits: <bits, length 144>,
mask: <mask, length 144>,
bounds: {#60D22C4D}},
iconPro: {unhilited: {#60D22D45},
hilited: {#60D22F45}},
theForm: {viewBounds: {#60D231F1},
viewFlags: 0,
viewFormat: 0,
ViewSetupDoneScript: <function, 0 arg(s) #60D2322D>,
viewClass: 74,
appSymbol: |maskedalibi.prc:PCKTFCTN|},
installScript: <function, 1 arg(s) #60D39BF9>,
removeScript: <function, 1 arg(s) #60D39F21>}
"maskedalib2.prc:PCKTFCTN"
{app: |maskedalib2.prc:PCKTFCTN|,
text: "maskedalib2.prc",
icon: {bits: <bits, length 144>,
mask: <mask, length 144>,
bounds: {#60D0904D}},
iconPro: {unhilited: {#60D09145},
hilited: {#60D09345}},
theForm: {viewBounds: {#60D095F1},
viewFlags: 0,
viewFormat: 0,
ViewSetupDoneScript: <function, 0 arg(s) #60D0962D>,
viewClass: 74,
appSymbol: |maskedalib2.prc:PCKTFCTN|},
installScript: <function, 1 arg(s) #60D22089>,
removeScript: <function, 1 arg(s) #60D223B1>}
#2 NIL

Any ideas where the actual package data is stored?

Marisa

0 new messages