ASM Libs Updated
Although the memory is allocated with HeapAlloc it seems that FreeMemory will work to free it. Talked to Fred and he thinks there shouldn't be a problem with using the PB command.
If it makes you feel more comfortable I can add a dedicated command to free the memory.
VBin_Free(hMem) ?? (which would basically be using HeapFree)
If it makes you feel more comfortable I can add a dedicated command to free the memory.
VBin_Free(hMem) ?? (which would basically be using HeapFree)
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
That would be helpful - just in case you do make some changes.
If you would update your demo to show proper usage for freeing memory - i.e. just after the catch image??? it would be very useful...
Thanks,
-Anthony
Great library btw...
If you would update your demo to show proper usage for freeing memory - i.e. just after the catch image??? it would be very useful...
Thanks,
-Anthony
Great library btw...

https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
- NoahPhense
- Addict
- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
Well, I've actually some cases where I only want to store the files with encryption instead of compress the hell out of them
Thus the reason why I use lowest compression for some files with the old vbin library 
Since vBin Creator gives you the option to compress with 9, is there a way to open that option up for the rest of us needing that option?


Since vBin Creator gives you the option to compress with 9, is there a way to open that option up for the rest of us needing that option?
RC4LIB: Meromry allocation ???
Hi Paul,
I'm using RC4LIB in a PB project to encrypt data sended on a network.
I noticed that the amout of memory used by the software (seen in the windows process list) is increased each time the RC4LIB function is used.
My software got a windows memory lack message....
Compile to EXE this code, run it and ckeck the amout of used memory in the process list.
May be memory is allocated without any free action.
Thanks a lot for your excelent job
Marc
I'm using RC4LIB in a PB project to encrypt data sended on a network.
I noticed that the amout of memory used by the software (seen in the windows process list) is increased each time the RC4LIB function is used.
My software got a windows memory lack message....
Compile to EXE this code, run it and ckeck the amout of used memory in the process list.
Code: Select all
OpenConsole()
key$="MySecretKey"
msg$="This is a test Message"
Chaine.s =""
For Boucle.l = 1 To 500
ConsoleLocate(2,1)
Print(Str(Boucle))
Chaine.s = RC4_CryptString(msg$,key$)
ConsoleLocate(2,2)
PrintN(Chaine)
Chaine = RC4_DecryptString(Chaine,key$)
ConsoleLocate(2,4)
PrintN(Chaine)
Delay(1000)
Next
Print("Entrer pour stop")
Chaine = Input()
CloseConsole()
Thanks a lot for your excelent job
Marc
Marc from PARIS - MVCOM Library
Last edited by Paul on Thu Sep 06, 2007 5:20 am, edited 1 time in total.
RC4Lib
Hi Paul,
Did you update the library on pureproject site ?
I had just downloaded it but the date of the lib file is 02/03/05 and looks to be the same File
Thanks
Did you update the library on pureproject site ?
I had just downloaded it but the date of the lib file is 02/03/05 and looks to be the same File
Thanks
Marc from PARIS - MVCOM Library
Re: RC4Lib
Yup. Maybe when you downloaded again it didn't actually download from the site but took it from your browser cache.Marc wrote:Hi Paul,
Did you update the library on pureproject site ?
I had just downloaded it but the date of the lib file is 02/03/05 and looks to be the same File
Thanks
The file date on the new lib is 2005/06/29
You will get the same number if you type: Debug RC4_Version()
Try clearing your cache and downloading again.
RC4Lib
Hi Paul
Many thanks, I tested the updated lib and it works very well
Many thanks, I tested the updated lib and it works very well
Marc from PARIS - MVCOM Library
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Any news of VBin for V4?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Paul: Will you be releasing unicode and threaded versions of your libraries?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
-
- User
- Posts: 64
- Joined: Mon Jun 30, 2003 5:36 pm
- Location: Michigan
- Contact: