🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Static v/s Dynamic loading of DLL

#17519
From: Early Ehlinger
Date: Thu, 13 Mar 2003 15:15
18 lines
1934 bytes
"Early Ehlinger" <early@respower.com> wrote:
>   1. This will affect *only* the calling process and any processes spawned
> by it.

I would be remiss not to mention that you can set a spawned process's
environment during the CreateProcess api without modifying the parent
process's environment, by setting the lpEnvironment parameter to a
"null-terminated block of null-terminated strings."  Basically, this is just
a block of memory that has a bunch of null-terminated strings followed by
another null indicating the end of the block.

--
-- Early Ehlinger CEO, ResPower Inc - Toll-Free : 866-737-7697 --
- RenderFarm - Lightwave , 3dSMax , Bryce , Maya , AfterEffects -
--- www.respower.com -- 500+ GHz Starting At USD$0.50/GHz*Hour --
----------------- SuperComputing For the Masses! ----------------
"I'm so busy programming my computer to let me be lazy, I never
get any rest!" - John Kaster
Technical Details
Message-ID: <3e70a0c0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e6ec0dd$1@newsgroups.borland.com> <3e6eeead$1@newsgroups.borland.com> <3e704cb9$1@newsgroups.borland.com> <3e709fd4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d6ed47349806ab70,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-13 07:32:50 PST
From: "Early Ehlinger" <early@respower.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e6ec0dd$1@newsgroups.borland.com> <3e6eeead$1@newsgroups.borland.com> <3e704cb9$1@newsgroups.borland.com> <3e709fd4$1@newsgroups.borland.com>
Subject: Re: Static v/s Dynamic loading of DLL
Date: Thu, 13 Mar 2003 09:15:43 -0600
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 206.166.224.226
Message-ID: <3e70a0c0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1047568576 206.166.224.226 (13 Mar 2003 07:16:16 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail