🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #64473

Re: spgp.dll key import function

#64473
From: Cheshire Admin
Date: Sat, 12 Jul 2003 02:13
29 lines
1941 bytes
I fooled around with this some more and finally got it to work, using
the 'guess' method. I had tried it earlier but it froze the computer.
The only difference this time was that I followed Dingo's advice about
specifying size for keyprops and adding the null character.

Since the key properties took about 130 bytes, I made keypropslen 225,
figuring that will take care of any larger variables in the
properties.

Here's the new Sub:

Dim KeyProps As String * 225
Dim KeyPropsLen As Integer
Dim Import As Long
Dim AllProps As Long

KeyPropsLen = 225
KeyProps = KeyProps + Chr(0)


Import = 0
AllProps = 0


 i = spgpKeyImportFile("temp456.txt", _
                   KeyProps, _
                   KeyPropsLen, _
                   Import, _
                   AllProps)
Technical Details
Message-ID: <thrugv8sv565v9is5m762vc1dg1amg9mfj@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.news2me.com!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <ug3ugvchhsl8n2d3eeak0d1galve9gn4o3@4ax.com> <EFIHQP2X37813.9251967593@Gilgamesh-frog.org> <MOWIN8RV37813.9632291667@Gilgamesh-frog.org> <gsgugv80l04p5c5m0mh2vuone1e1ppt077@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <thrugv8sv565v9is5m762vc1dg1amg9mfj@4ax.com>
Subject: Re: spgp.dll key import function
Date: Fri, 11 Jul 2003 22:13:02 -0400
From: Cheshire Admin <admin@cheshire.hopto.org>
References: <ug3ugvchhsl8n2d3eeak0d1galve9gn4o3@4ax.com> <EFIHQP2X37813.9251967593@Gilgamesh-frog.org> <MOWIN8RV37813.9632291667@Gilgamesh-frog.org> <gsgugv80l04p5c5m0mh2vuone1e1ppt077@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.news2me.com!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Posted via Supernews, http://www.supernews.com
X-Newsreader: Forte Agent 1.92/32.572
X-No-Archive: yes
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@supernews.com
Lines: 29