View Full Version : 2 days
kornalius
09-12-2006, 04:20 AM
Yes 2 days to go before release. <img src="/e107_images/emotes/default/amazed.png" style="border: 0px" alt="amazed.png" />*It's coming real fast. It will be available starting 10 AM EST on the 14th.</p>
What a crazy time it is for us. Brad is finishing up on the PocketPC's IDE (he's put so much work into these tools, it's unreal), I am cranking procedures for the SWAPI library at a inhuman pace, Eric has just sent me his latest revision of the help file, I am adding new contents to it, polishing the PIDE and PPL, last minute bug fixes, implementing a new protection system (it'll as I mentionned before, 1 license per machine), trying to get press releases out by a pro. company, send demo versions to download sites (for Thursday)*and the list goes on...</p>
Version 1.0*is so much better than the last beta, we've put so much*effot into it in the last few months you will all be amazed.</p>
We are*palnning a lot of activity around PPL. A contest in October, a newsletter starting in October with lots of content, more tech notes to come and so much more...</p>
We are already having some plans for 1.1. The future is bright my friends!</p>
Solonn
09-12-2006, 08:28 AM
A couple of questions: is there a way to install ppl on 2 desktop machines? I remember something about this, but I'm not sure.
How is the tcp/ip support coming forth? I had some problems with winsock library in the past and I'd like to know if there is a fix avaiable!
Nonetheless: keep up the good work! It's just amazing the amount of progress made by PPL.!
P.S. : Can't wait! Already bought some boozes for the launch party! ;)
kornalius
09-12-2006, 05:21 PM
You will need either version Pro (which comes with 2 licenses) or buy an extra license for $9.95.
Hehe, the launch party will be held in a couple weeks. I couldn't prepare the release of PPL and the party at the same time. But it doesn't mean I won't be having a little party and some beers on release date! ;)
kornalius
09-12-2006, 05:22 PM
Concerning the WinSock, I am still working on it, hopefully I can fix it for release, if not give a couple more days to release a patch.
kornalius
09-12-2006, 06:03 PM
WinSock API is fully fonctionnal now.</p>
Here is the new WinSockDemo.ppl program, it's simpler than before:
</p>
</p><pre><span style="color: #0066ff">#include "Winsock.ppl"
#include "console.ppl"</span></pre><pre></pre><pre><span style="color: #0066ff">* InitConsole;
* ShowConsole;</span></pre><pre><span style="color: #0066ff">* writeln("Opening internet connection...");
* // Open an internet connection.
* hINet$ = InternetOpen("InetURL/1.0", INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, INTERNET_FLAG_DONT_CACHE);
* if (hINet$)</span></pre><pre><span style="color: #0066ff">...");
*** // Open an internet connection.
*** hUrl$ = InternetOpenUrl(hINet$, "</span>[url=""http://www.google.com/index.html"> (""http://www.google.com/">[/url)<span style="color: #0066ff">", NULL, 0, INTERNET_FLAG_RELOAD, 0);
*** if (hUrl$)</span></pre><pre>[url=""http://www.google.com/">[/url]<span style="color: #0066ff">...");
*****
***** new(dwSize$, tint);
***** dwSize$ = sizeof(dwSize$);
***** new(dwStatus$, tint);
***** HttpQueryInfo(hURL$, HTTP_QUERY_STATUS_CODE | HTTP_QUERY_FLAG_NUMBER, &dwStatus$, &dwSize$, NULL);</span></pre><pre><span style="color: #0066ff">***** if (dwStatus$ != HTTP_STATUS_OK)
******* Showmessage(dwStatus$);
***** end;</span></pre><pre><span style="color: #0066ff">***** dwSize$ = 0;
***** HttpQueryInfo(hUrl$, HTTP_QUERY_CONTENT_TYPE, NULL, &dwSize$, NULL);
***** new(pContentType$, dwSize$);
***** HttpQueryInfo(hUrl$, HTTP_QUERY_CONTENT_TYPE, &pContentType$, &dwSize$, NULL);</span></pre><pre></pre><pre><span style="color: #0066ff">***** // Create a buffer to receive data from html file.
***** New(buffer$, 2048);
***** // Create a variable to receive number of bytes read from file.
***** New(dwRead$, tint);</span></pre><pre><span style="color: #0066ff">***** writeln("Reading /index.html document...");
***** d$ = "";
***** // Read file from request.
***** while (InternetReadFile(hUrl$, buffer$, 1024, &dwRead$))
******* if (dwRead$ == 0)
********* break;
******* end;</span></pre><pre><span style="color: #0066ff">******* // Make sure buffer is the same length as dwread.result$
******* buffer$[dwRead$] = 0;</span></pre><pre><span style="color: #0066ff">******* // Concatenate buffer data to the d variable.
******* d$ = d$ + buffer$;
***** end;</span></pre><pre><span style="color: #0066ff">***** Writeln("");
***** Writeln("Document content");
***** Writeln("");
***** Writeln(d$);
***** Writeln("");</span></pre><pre><span style="color: #0066ff">***** Writeln("Closing connection...");
***** // Close connection.
***** InternetCloseHandle(hUrl$);
*** end;</span></pre><pre><span style="color: #0066ff">*** Writeln("Closing internet connection...");
*** // Close internet connection.
*** InternetCloseHandle(hINet$);
* end;</span></pre><pre><span style="color: #0066ff">* Return (true);
end;</span></pre>
A lot of the WinSock declares were not implemented correctly. I didn't use the right name.</p>
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.