🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do I translate this Delphi code to BCB5?

#978
From: Mark Jacobs
Date: Fri, 23 Nov 2007 09:31
12 lines
1635 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:4745e86c$1@newsgroups.borland.com...
> RegisterServiceProcess() is not declared in any header file, and is not
> linked to by kernel32.lib, so you have to use dynamic loading via
> GetProcAddress() to use it, ie:

Thanks, the code compiles and runs. However, it certainly does not hide the 
process from Task Manager's Running Processes List.
-- 
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk
Technical Details
Message-ID: <47469df8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <474598cd@newsgroups.borland.com> <4745e86c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d35c7f2f5f6b99bd
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mark Jacobs" <http://www.jacobsm.com/mjmsg.htm?BorlandNG>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <474598cd@newsgroups.borland.com> <4745e86c$1@newsgroups.borland.com>
Subject: Re: How do I translate this Delphi code to BCB5?
Date: Fri, 23 Nov 2007 09:31:35 -0000
Lines: 13
Organization: DK Computing
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="Windows-1252";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 81.144.157.8
Message-ID: <47469df8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1195810296 81.144.157.8 (23 Nov 2007 01:31:36 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail