🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15972

Embedded Resource Files

#15972
From: Rob Van Zant
Date: Thu, 05 Jun 2003 17:49
10 lines
1348 bytes
I embedded a .chm file and an .htm file in my executable.  I am able to use
ShellExecute to launch the default html viewer and show the .htm file
embedded in the executable using "res://" + Application->ExeName + "/1013"
as the pointer to the .htm file.  I cannot do the same with the .chm file.

Is it possible to view the .chm file from within the executable or do I need
to save a copy of it to a temporary location first?

Thanks!
Rob
Technical Details
Message-ID: <3edf82b0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,99a608f915b5054b,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-05 10:56:24 PST
From: "Rob Van Zant" <robslists@NOSPAMrumbayly.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Embedded Resource Files
Date: Thu, 5 Jun 2003 13:49:35 -0400
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 64.45.143.248
Message-ID: <3edf82b0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054835376 64.45.143.248 (5 Jun 2003 10:49:36 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail