| Author |
Message |
Topic: libcurl example |
olfen
Replies: 10
Views: 1846
|
Forum: Scripts & Functions Posted: Sat Jan 19, 2008 2:54 pm Subject: libcurl example |
where have you got the hex-values from (on top of the program)?
Example (code from curl.h):#define CURLOPTTYPE_FUNCTIONPOINT 20000
CINIT(WRITEFUNCTION, FUNCTIONPOINT, 11)
CINIT(NOPR ... |
Topic: libcurl example |
olfen
Replies: 10
Views: 1846
|
Forum: Scripts & Functions Posted: Sat Jan 19, 2008 1:13 pm Subject: libcurl example |
olfen, this script is great. Is there any chance you could elaborate on some of the other libcurl functions such as say... upload via FTP with progress bar??? I've been very busy the last few mo ... |
Topic: DllCall: Basic FTP Functions |
olfen
Replies: 33
Views: 5935
|
Forum: Scripts & Functions Posted: Sat Nov 10, 2007 4:04 pm Subject: DllCall: Basic FTP Functions |
There's one thing that doesn't work: getting creation, last access and last write times. The FILETIME structure must be converted to a SYSTEMTIME structure. I have done that using "FileTimeTo ... |
Topic: DllCall: Basic FTP Functions |
olfen
Replies: 33
Views: 5935
|
Forum: Scripts & Functions Posted: Sat Nov 10, 2007 2:31 pm Subject: DllCall: Basic FTP Functions |
| That was me. |
Topic: Machine code functions: Bit Wizardry |
olfen
Replies: 181
Views: 13091
|
Forum: Scripts & Functions Posted: Sat Nov 03, 2007 1:14 pm Subject: Machine code functions: Bit Wizardry |
The C function would have to be extended to accept a start value as an additional parameter, so it could be passed on between calls that operate on chunks of data.
But I'm not sure, if it can easily ... |
Topic: DllCall: Basic FTP Functions |
olfen
Replies: 33
Views: 5935
|
Forum: Scripts & Functions Posted: Wed Oct 31, 2007 6:04 pm Subject: DllCall: Basic FTP Functions |
Thanks Andreone. FtpFindFirstFile and FtpCommand would be nice to have, too.  |
Topic: DllCall: Basic FTP Functions |
olfen
Replies: 33
Views: 5935
|
Forum: Scripts & Functions Posted: Sat Oct 20, 2007 2:30 pm Subject: DllCall: Basic FTP Functions |
| I haven't used it yet, but I feel it can be useful. I spotted a little issue: hModule must be declared global in two functions to be shared among them.Thanks. I've fixed FtpOpen and FtpClose. |
Topic: DllCall to GetCommState |
olfen
Replies: 5
Views: 1789
|
Forum: Scripts & Functions Posted: Sun Oct 14, 2007 9:35 am Subject: DllCall to GetCommState |
Sorry, I had forgotten about it. I cannot remember, if this snippet works ok. Please test.#NoEnv
; http://msdn2.microsoft.com/en-us/library/aa363214.aspx
VarSetCapacity(DCB, 28)
; h ... |
Topic: Accessibility Standard Library |
olfen
Replies: 12
Views: 1448
|
Forum: Scripts & Functions Posted: Thu Oct 04, 2007 7:01 pm Subject: Accessibility Standard Library |
| Although not (yet) familiar with Active Accessibility, I'm grateful for you to share another great StdLib set of functions. Thanks. |
Topic: AES Encrypt/Decrypt of A File in WXP or Higher |
olfen
Replies: 14
Views: 1268
|
Forum: Scripts & Functions Posted: Sun Sep 30, 2007 3:49 pm Subject: AES Encrypt/Decrypt of A File in WXP or Higher |
Sorry, I think I was wrong on CryptGenKey: It generates a session key\password and no IV.
CryptSetKeyParam can be passed a pointer to an IV, which we can choose\create ourselfes. IV and key are two s ... |
Topic: AES Encrypt/Decrypt of A File in WXP or Higher |
olfen
Replies: 14
Views: 1268
|
Forum: Scripts & Functions Posted: Sun Sep 30, 2007 3:07 pm Subject: AES Encrypt/Decrypt of A File in WXP or Higher |
| BTW, CryptSetKeyParam has parameter values KP_SALT, KP_SALT_EX, and KP_IV which can be used with this block cipher session key, so may control these if necessary, probably in conjunction with CryptGen ... |
Topic: AES Encrypt/Decrypt of A File in WXP or Higher |
olfen
Replies: 14
Views: 1268
|
Forum: Scripts & Functions Posted: Sun Sep 30, 2007 12:54 pm Subject: AES Encrypt/Decrypt of A File in WXP or Higher |
Thanks for the valueable info.
Is it CryptDeriveKey generating the initialization vector? I remember Laszlo saying that there should be no correlation between IV and the first plaintext block, this i ... |
Topic: AES Encrypt/Decrypt of A File in WXP or Higher |
olfen
Replies: 14
Views: 1268
|
Forum: Scripts & Functions Posted: Sun Sep 30, 2007 7:39 am Subject: AES Encrypt/Decrypt of A File in WXP or Higher |
| Nice! Does the API also provide funtions to use the cipher in different modes of operation? What padding scheme is involved? |
Topic: Debugging |
olfen
Replies: 25
Views: 1217
|
Forum: Scripts & Functions Posted: Fri Sep 28, 2007 7:50 pm Subject: Re: Debugging |
| Not sure how OutputDebug is suppose to work. My first guess is there would be a debug screen like the variable and their content screen and the last script lines executed screen etc. (Maybe I am missi ... |
Topic: AHKompile v1.01 - Automated secure compiling |
olfen
Replies: 8
Views: 1263
|
Forum: Scripts & Functions Posted: Fri Sep 28, 2007 7:22 pm Subject: AHKompile v1.01 - Automated secure compiling |
| come on. use a bit of imagination. you dont need to prevent the dumping of ram. you just need to make it so none of these programs will be able to run whilst your program is running (finding these pro ... |
| |