PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Another pack of questions

1) *this one has been left unanswered* PPL doesn't work with AMD processors? See details here: http://www.pocketmatrix.com/forums/view ... 5&start=79

2) Is there any way to detect ActiveSync connection?

3) How secure is package encryption?

4) Is there any function that can return file size?
1. Did you try the latest release? Does your PPL directory (on the PC) contains multiple files or just PPL.EXE?

2. No. I never looked into this, maybe later.

3. As secure as your password. It's a very simple algorythm but without the password it is very hard to decode and the longer the password the harder it is. Don't forget that the password itself needs to be done with a calculation inside your PPL code if you want better protection.

4. GetFileSize() should do it. This code should work:

Code:
hFile$ = CreateFile("\\My Documents\\testfile.txt", GENERIC_READ, 0, NULL, 0, FILE_ATTRIBUTE_NORMAL, NULL);
filesize$ = GetFileSize(hFile$, NULL);
CloseHandle(hFile$);