🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.sdk
Article #511

Resource files

#511
From: Rajani_Sohoni
Date: Wed, 14 Jan 2009 11:16
15 lines
973 bytes
Hi All,

I am working on Indesign CS3 - PC.
I have included a text file in the resource files of my Plug-in.
I want to be able to read this file.

I am trying to use the CreateResourceStreamRead to read this file as follows.
InterfacePtr<IPMStream> txtStream(StreamUtil::CreateResourceStreamRead(RsrcSpec(X,Y), kTrue));
But I do not know what is to be specified in X - Resource type, Y - Resource ID.

Can somebody please help me?

Thanks

Rajani
Technical Details
Message-ID: <59b782bc.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f63e9,bfc864e6aa885a82,start
X-Google-Attributes: gidf63e9,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Rajani_Sohoni@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.indesign.sdk
Subject: Resource files
Message-ID: <59b782bc.-1@webcrossing.la2eafNXanI>
Date: Wed, 14 Jan 2009 03:16:43 -0800
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit