also I noticed connection spelled wrong ;-)
Thanks, it worked@Mr_Gee: I have PM'ed you...
I hope there will be an option so it can be turned off..I intend to also make this app a background-running app, wich will check for updates at a given time,
and This will not work with an USB stick based B4ppc, unless you make sure the USB stick is present or have a desktop based Dll folder...
If I understand post #1 right I ran program and it took information and quit. Then I ran it again and it authenticated everything. I am running on a Dell Latitude d600 laptop with Xp Pro sp3. Everything seemed to work fine.
Denny :sign0188:
Now that the Authentication method seems to work for everybody, It's time to start withe the real job of keeping our dlls up to date....
We will need to implement some guidelines to both releases and creations of the Dlls...
I was thinking of using a xml file to keep track of the current installed dlls, but I need to setup a standart so that retrieving info would be easy...
1st - All Dlls should have a "Version" Propertie, and most do, but there are still some that don't...
2nd - All releases must contain only 3 files :
-The .dll
-The .cs
-The .chm
These are the files that trully are important for this to work properly...
Demo files should be posted in an seperate zip file...
Please tell me what you think about these guidelines
I think we need a unique identifier, version, author, a description, a chm, a desktop dll, a desktop cs/vb (if available), a device dll, and device cs/vb (if available)
Sorry, but I am not going to change my archive backup system (here on my network) which uses the single zip, as posted for a library, as the backup entity for a library release version, including any demos as they may change between versions. Anyway you should be able to manage with an arbitrary number of files in an archive and just look for the extensions you are interested in.All releases must contain only 3 files ... Demo files should be posted in an seperate zip file...
<dll>
<dllname>ImageLib</dllname>
<dllauthor>Erel</dllauthor>
<version>1.00</version>
<dlldescription>Allows you to minipulate images</dlldescription>
<dllhelp>http://www.b4x.com/help/imagelib/index.html</dllhelp>
<item>ImageLib.chm</item>
<item>ImageLib.dll</item>
<item>ImageLib.cs</item>
<item>ImageLib.sbp</item>
</dll>
@Mr_Gee
1 xml file per dll is not a good solution in my opinion...
Using your xml as a template, all dll coul be listed there, in a single xml file...
I'm at work now, later today I'll post my "solution" xml...
@Agraham
Your .zip files are the most complete zip file I've seen in this Forum, and offer very important information, but, thinking a bit on the user side of the dll2date, this generates a great amount of internet traffic (a few hundreds Kb), just to retieve a smal amount of relevant data (a few tens of Kb).
My question is how to map the local version (use the dll version method, which not everyone has implemented) to the remote file name, which doesn't always contain the version number in the zip file name? How do you know when the remote file is more current than the local one?
Just my observations...
By mantaining a xml file with that info in the dll listings...
<Client Side xml file>
<Total Dlls>2</Total Dlls>
<Dll 1>
<Name>Here we put the dll name</name>
<Version>1.0</Version>
<Description>Here we make a simple description of the Dll</Description>
<Download URL>www.b4x.com\Forum........</Download URL>
<Dll File>xpto.dll</Dll File>
<CS File>xpto.cs</CS File>
<Help File>xpto.chm</Help File>
</Dll 1>
<Dll 2>
<Name>Here we put the dll name</name>
<Version>1.0</Version>
<Description>Here we make a simple description of the Dll</Description>
<Download URL>www.b4x.com\Forum........</Download URL>
<Dll File>R2D2.dll</Dll File>
<CS File>R2D2.cs</CS File>
<Help File>R2D2.chm</Help File>
</Dll 2>
.
.
.
.
.
.
</Client Side xml file>
I see your point, and I think I can work around that ADDING the Extra items, but I would rather keep the rest of the strutcture...to be honest, I think you are going to regret it in the long run...
If I were you I would not name the different items :
<Dll File>R2D2.dll</Dll File>
<CS File>R2D2.cs</CS File>
<Help File>R2D2.chm</Help File>
I'd just use <item> and run through each of them..
using your way, you limit yourself to 1dll and 1 cs file ,if there are several libs with extra files, the FMOD lib has a extra fmodce.dll, also the flash lib has several dll's, dzt's minimize lib (cant remember the name atm) has an icon which needs to be in the B4P folder during testing.
Still I think that demo's image files and others, should NOT be copied to the libraries folder, so that the folder is kept clean...