Search found 342 matches

by marpon
Apr 02, 2019 7:25
Forum: General
Topic: Need help on converting C code
Replies: 12
Views: 1522

Need help on converting C code

Hi I'm converting a c decompression code to freebasic, whith plenty of macros after preprocessing result, i've got many parts of code i do not understant , as the following if (!((bits=bits&0x7fffffff? (resbits=bits,bits+bits) : (src+=4,resbits=*((Ulong *)(src-4)),(resbits<<1)+1)),resbits>>31)) ...
by marpon
Mar 29, 2019 13:11
Forum: Libraries
Topic: win/linux static libs to compress /decompress as zlib
Replies: 5
Views: 5497

Re: win/linux static libs to compress /decompress as zlib

In my quest of very litle compression tools, a new one : aPLib v1.1.1 from Joergen Ibsen http://www.ibsensoftware.com very complete static libs /dll ... static libs easy to interface with freebasic win or linux in 32/64 bits not as efficient on compression ratio /speed as minz lib but very light lib...
by marpon
Mar 26, 2019 8:36
Forum: Libraries
Topic: win/linux static libs to compress /decompress as zlib
Replies: 5
Views: 5497

Re: win/linux static libs to compress /decompress as zlib

Thank's jj2007 for testing.

What version did you test?
I'am interrested on the one i am not tested at all the linux32.

Because i've created that specific version on gcc64 just using the -m32 flag , is it correct?
by marpon
Mar 25, 2019 17:47
Forum: Libraries
Topic: win/linux static libs to compress /decompress as zlib
Replies: 5
Views: 5497

win/linux static libs to compress /decompress as zlib

miniz is providing a very interresting code in c to compress/decompress with comparable compress ratio/speed as zlib, but with very little size : on windows 25ko compared to zlib static lib 128ko original code here https://github.com/richgel999/miniz I wanted to convert to freebasic but it is too co...
by marpon
Mar 22, 2019 11:58
Forum: Windows
Topic: Print2Pdf , cmd line tool to convert files to pdf
Replies: 3
Views: 2061

Win2Pdf , GUI tool to convert files to pdf

To continue, that subject, i've done some evolution on the lib and now it can support better the different types of source files to convert to pdf. using that evolution of the lib , i've done a GUI interface to work with multiples files to convert to pdf, heve a look here https://github.com/marpon/P...
by marpon
Mar 22, 2019 11:30
Forum: Windows
Topic: Issue with RtlCompressBuffer / RtlDecompressBuffer
Replies: 4
Views: 2620

Re: Issue with RtlCompressBuffer / RtlDecompressBuffer

the RtlDecompressBuffer function does not enable format COMPRESSION_FORMAT_XPRESS_HUFF you have to use the RtlDecompressBufferEx function #Include "file.bi" #include "string.bi" 'change here for tests '================================================== #Define _MY__FORMAT_ COMPRE...
by marpon
Mar 18, 2019 18:08
Forum: General
Topic: Squares
Replies: 8041
Views: 511437

Re: Squares

for people who want the zip static libs 32 or 64 mingw

here https://github.com/marpon/Compression_tools/tree/master/zip
with the example adapted to work with.
by marpon
Mar 18, 2019 9:06
Forum: Windows
Topic: Print2Pdf , cmd line tool to convert files to pdf
Replies: 3
Views: 2061

Re: Print2Pdf , cmd line tool to convert files to pdf

@MrSwiss thank's for your interrest... From my point of view, there is something important missing, if the aim is, to: replace tool(s) like PDFCreator, which is "generation of unique file-name(s)", aka: "file-name" + "save-date" + "save-time" + ".PDF"...
by marpon
Mar 18, 2019 8:16
Forum: Libraries
Topic: Win10 :Print_to_pdf in batch mode, without prompt for file name
Replies: 7
Views: 6139

Re: Win10 :Print_to_pdf in batch mode, without prompt for file name

You are true again, it happens with the raw text file types , my conversion is probably not totally compliant with the last pdf versions, i am using a very rudimentary 1.1/1.2 pdf format to do that quickly. I will see if i can improve that. I know i could use also for that raw text , 'Microsoft Prin...
by marpon
Mar 16, 2019 11:52
Forum: Windows
Topic: Print2Pdf , cmd line tool to convert files to pdf
Replies: 3
Views: 2061

Print2Pdf , cmd line tool to convert files to pdf

Made a simple cmd line tool to convert various files to pdf ( using the static lib to be found in the link under) can work stand alone for raw txt format files and also with the most used picture formats but can also use the win10 'Microsoft Print to Pdf' virtual printer as companion to convert almo...
by marpon
Mar 16, 2019 11:37
Forum: Libraries
Topic: Win10 :Print_to_pdf in batch mode, without prompt for file name
Replies: 7
Views: 6139

Re: Win10 : Print_to_pdf in batch mode, without prompt for file name

last updated version 1.2 in https://github.com/marpon/Print_to_Pdf the main changes are (see in Print2Pdf.bi file) the returned error codes ; the new function to check if 'Microsoft Print to Pdf' in available ( group check if win10 version and if virtual printer installed) a new sample code Print2Pd...
by marpon
Mar 15, 2019 10:54
Forum: Windows
Topic: Different behaviour with console
Replies: 0
Views: 5268

Different behaviour with console

here you have a test to evaluate the different behaviour we can have with console. '' test_console.bas by marpon 14 March 2019 ' to test the 4 possible usages of console ' ' 1 compiled in console mode and launched by console prompt, so using the existing launching console ' 2 compiled in console mod...
by marpon
Mar 09, 2019 12:08
Forum: Libraries
Topic: Win10 :Print_to_pdf in batch mode, without prompt for file name
Replies: 7
Views: 6139

Re: Win10 :Print_to_pdf in batch mode, without pronpt for file name

updated version in Github
the old version removed

the example file corrected in first topic.


Now, still searching a simple way to merge pdf into 1.

Marpon
by marpon
Mar 09, 2019 9:05
Forum: Libraries
Topic: Win10 :Print_to_pdf in batch mode, without prompt for file name
Replies: 7
Views: 6139

Re: Win10 :Print_to_pdf in batch mode, without pronpt for file name

@jj2007 True, sorry , I've put the wrong debug libs. i'll will try to put the right final working libs / .bi file and example of use in next 4 or 5 hours. right now i'm blocked on one subject to continue more features to the lib : How to merge existing pdf into one, did not found any simple code in ...
by marpon
Mar 08, 2019 19:01
Forum: Libraries
Topic: Win10 :Print_to_pdf in batch mode, without prompt for file name
Replies: 7
Views: 6139

Win10 :Print_to_pdf in batch mode, without prompt for file name

static lib in 32 or 64 version to print to pdf. In fact convert files to pdf, with and without need of virtual printer 'Microsoft Print to Pdf' can be found here, libs https://github.com/marpon/Print_to_Pdf an example of use , very simple code corrected version last edited 09 march 2019 13h00 Paris ...

Go to advanced search