*Tampon=AllocateMemory(1024*1024) ;/ Each Packet is 1Mb
CreateFile(0,"c:\100Mo.txt")
For n=1 To 100
FileSeek(0,Lof(0))
WriteData(0,*Tampon,1024*1024)
Next
CloseFile(0)
FreeMemory(*Tampon)
The limit in this case, I think, is an artificial limit in the linker - the EXE file can't be larger than 64MB (I my opinion not that much of a limitation...)
Can't you compile the EXE normally, and then after its compiled append the ZIP file to the EXE, this should bypass the limitation with polink. I know you can easily append stuff to an exe with AL90s packer lib, but I am sure there are some better suited routines/libs at purearea.
need to include a 105MB ZIP File into the EXE and launch it from PB as an installer + Registry tweak Wink
Sorry i really dont like this way... why should an installer need 105+ MB of RAM for installing any stuff? I totaly disagree... Write an exe (installer) and save the stuff you wish to install as Resource or inside a datafile to extract each file.... If you make a prod with installer and the prod may be 800 MB... would you really like to see 800 MB of your RAM is used to install an app? i dont think so..
Droopy, I have to ask, what is a "Tampon" in French? In English it means something that makes me laugh very much every time I read it in a French post and I cannot get a translation from BabelFish
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Fangbeast wrote:Droopy, I have to ask, what is a "Tampon" in French? In English it means something that makes me laugh very much every time I read it in a French post and I cannot get a translation from BabelFish
hehe same, but i dont think this translation is quite right (coz thats wat it is in english) .....
(off topic i know)
Demonio Ardente
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Did you try to add the ZIP file to the Installer.exe, like copy /B InstallerSFX.exe+MyZIP.zip Installer.exe ?
Then in your code you can open Installer.exe as a ZIP archive and extract your files. This is what I do with my library installer (using PureZIP), although I did not tested it with big files.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal wrote:Did you try to add the ZIP file to the Installer.exe, like copy /B InstallerSFX.exe+MyZIP.zip Installer.exe ?
Then in your code you can open Installer.exe as a ZIP archive and extract your files. This is what I do with my library installer (using PureZIP), although I did not tested it with big files.