Anyway, I'm replying to both.
In GLPRO, the http getvar command does not use the WININET DLL in
Windows, instead it directly connects to a web server using WINSOCK.
I assume the GLPRO code is not compliant enough (doesn't emulate a
browser well enough) to handle some modern web pages.
You can watch what is going wrong by using SET DEBUGNET ON.
One possible work around is to use VBSCRIPT to grab the web page.
You'd write the VBScript file (using GLPRO) to get the page into a
file, execute the VBScript, and load the page from disk. I know it
works because I did it quite a few years ago, but I don't remember the
specifics. Perhaps someone else can chime in with an example?
On 6/20/07, Kelly Shipp <ksh...@kellysoftware.com> wrote:
>
>
> Sorry, but I too have a GLPro question/issue as well and had to resort to
> desperation to this list. :)
>
> I've noticed that the http getvar doesn't work much anymore. For example,
> try to getvar any of the pages here and they result in either blank results,
> or some odd number like "216571", or a timeout. Any suggestions? The
> helpfile doesn't go into any detail about with the getvar "really" does, but
> it's not working anymore for quite a few websites.
> http://quote.yahoo.com
>
> I have a application that accesses various sites and it no longer is able to
> get any data at all.....and I'd rather not have to rewrite the entire
> application due to this GLPro issue...The http OPEN works fine, but can't
> get any good results past that.
> Thanks for any help.
>
> Thanks,
> Kelly Shipp
>
>
> -----Original Message-----
> From: after...@googlegroups.com [mailto:after...@googlegroups.com] On
> Behalf Of Er...@Eliveld.nl
> Sent: Friday, February 10, 2006 2:22 AM
> To: after...@googlegroups.com
> Subject: GLPro SMTP question
>
>
> Hello,
>
> I know somewhat of topic..;-)
>
> I have a question about sending email from a Glpro app I'm building: I need
> to send a email to an mail account on a Exchange server. However this is not
> open for relaying and my app need to authenticate against this server as a
> user account. I need to send a username and password.
>
> As a quick fix I have been using a neat little SMTP sender 'Blat' and I want
> to use this method also in my app. Blat can be used as a quick and dirty
> SMTP sender from a machine not having any valid email-account/client
> installed.
>
> Thanks in advance for any comment
>
> Kind Regards,
>
> Erwin Eliveld
>
>
>
> >
>
This is a reposted script that was kindly posted in here awhile ago:
Some other kind comments as well. I hope I am forgiven for my plagiarism:)
and leather winged demons of the night do not descend upon me and drag my
entrails down to copyright hell for my other transgressions here: <g>
drawclear white
glopen gltools.exe
memnew buf 1024
fileseek @glhandle -428 2
set fs filecreate(glpro8.key)
beginloop
set cnt fileread(@glhandle,@buf,1024)
filewrite @fs @buf @cnt
if @cnt!=1024 break
endloop
fileclose @fs
If you download and install any version of GLPRO 8.xxx
Then run this script, it will extract an inhouse key.
That key will get rid of the timeout, and other checks in GLPRO 8.xxx
making it fully functional.
You cannot easily do this in an outside program because the "glopen
gltools.exe" isn't just a file open, it sets up decryption code so
that reading the key will decrypt it.
The encryption is jokingly simple, it's just a 256 byte lookup table
that is generated based on a id stored at the start of the GL.
You can find most of the GLPRO stuff here:
http://everready.org/downloads/
As to your first question; most of why I am interested shall probably remain
a mystery even to me. I seem to be interested in many areas of computing
history. This all goes back to a phenomena that many of us share that I used
to like to call a "programmer's high". I remember times in the '80's when I
thought I had conquered the world after writing code all night. The '90's
led to a more complex form of the same thing with the new building on the
old, and this has continued into to the new millenia for me, adding to the
usual menu of self gratuituous indulgences<g>.
As a Software Developer I became interested in decoding the Pictor PIC File
format several months ago, and as I worked through the different versions of
the Pictor PIC format and became interested in the GRASP GL library format
and the transition that it has made, I also began to work with the creator
of both to document some of this which due to a larger effort on his part
than mine is now partially complete.
This is REAL history Man! as most here well know much better than I, and I
believe your interesting use of the phrase "got wasted" really sums-up what
happened to GLPRO but is also endemic of the experiences that many of us in
this business have had albeit usually on a smaller scale.
My use of GLPRO and also AfterGRASP is for no real purpose other than to
understand John's work in order to present my accounts of any of it in a
properly respectful manner, just as I would want to have any of my work
represented. You might call it professional courtesy, but I can't pretend to
be at his level although I have written my fair share of Graphics and other
code.
Bill
This IS history. I got into diskette brochures around 1987.
Grasp and then GLPro were used almost exclusively for these little
Gems that would fit on 3.5" floppys. The IBM PS-2 was getting a hold of
the market and folks like Don Magnuson were creating wonderful animation
and corporate marketing. The Grasp/GLPro help department was always
friendly and helpful. I can remember the feeling I got when THE
John Bridges would answer the help line. He stands among the greats
in programming history.
I would also like that "all-mighty" key please.
Regards,
Tom Novotny
New News Productions