Recent Posts

Pages: [1] 2 3 ... 10
1
MasmBasic & the RichMasm IDE / Re: GUI programming with events
« Last post by hutch-- on Today at 12:38:01 PM »
JJ,

Worked OK on my win10 64 pro but it showed a message box with an error about fileread$. The resizing works fine, no flicker and seemed to be fast enough without any lag.
2
The Campus / Re: gdi compress bitmap rle?
« Last post by Siekmanski on Today at 12:26:36 PM »
Hi Magnus,

I think the easiest way is to use GDI+ ( as Jochen wrote ) to save the bitmaps, with these 2 functions: "GdipCreateBitmapFromScan0" and "GdipSaveImageToFile"

You can save the raw 32bit ARGB bitmap as BMP,JPG,GIF,TIF or PNG.

Here is some example code how to load and save the bitmap formats with GDI+:

http://masm32.com/board/index.php?action=dlattach;topic=6127.0;attach=6429

The code is in this file: 2D_Image_loader_saver.Asm
3
The Campus / Re: gdi compress bitmap rle?
« Last post by jj2007 on Today at 10:28:21 AM »
RLE is not very efficient, but with Gdi+ you can save it as GIF or PNG.
4
The Campus / gdi compress bitmap rle?
« Last post by daydreamer on Today at 09:45:16 AM »
Let's say I draw a map in paint or a program using lot of gdi app calls to make a map,I want gdi save it rle bitmap compressed,so the map becomes smaller,how do I make gdi code that saves it in rle encoded format?
Or do I need gdi+?
5
The Workshop / Re: File deletion problem Win7 Pro
« Last post by K_F on Today at 09:18:13 AM »
Thanks..I'll look at that ;)
6
The Laboratory / Re: Benchmark (for assemblers and compilers)
« Last post by jj2007 on Today at 08:50:51 AM »
Surprisingly slow, PellesC beats it hands down:
Code: [Select]
DSVRead_Test1msvc.exe
C compiler: Microsoft Visual C/C++ Version: 1916 Toolset: 191627026
DSVRead: 69ms
Rows: 43666 Cols: 196
76ms
234 matches 171 values, average 15.996

DSVRead_Test1msvcX64.exe
C compiler: Microsoft Visual C/C++ Version: 1916 Toolset: 191627026
DSVRead: 66ms
Rows: 43666 Cols: 196
72ms
234 matches 171 values, average 15.996

DSVRead_Test1gcc8X64.exe
C compiler: MingW64 6.0
DSVRead: 76ms
Rows: 43666 Cols: 196
86ms
234 matches 171 values, average 15.996

DSVRead_Test1.exe
C compiler: Pelles, Version 900
DSVRead: 66ms
Rows: 43666 Cols: 196
73ms
234 matches 171 values, average 15.996

DSVRead_Test164.exe
C compiler: Pelles, Version 900
DSVRead: 66ms
Rows: 43666 Cols: 196
73ms
234 matches 171 values, average 15.996

C compiler: Microsoft Visual C/C++ Version: 600
DSVRead: 79ms
Rows: 43666 Cols: 196
87ms
234 matches 171 values, average 15.996
7
The Workshop / Re: File deletion problem Win7 Pro
« Last post by TimoVJL on Today at 08:47:38 AM »
Then it's the Windows search engine problem.
8
The Workshop / Re: File deletion problem Win7 Pro
« Last post by K_F on Today at 08:13:14 AM »
Avast/AWG in use?
No AVs on board.

Quote
delete the .exe by your self using shift+del and after that do the compilation...
Tried that .. same result.

Edt:
This is a real funny one... As long as I don't access the folder containing the exe, there's no problem.
As soon as I open the folder ... the wheels come off , and I need administrator rights (I use a standard user) to delete, but even that doesn't work.
9
The Laboratory / Re: Benchmark (for assemblers and compilers)
« Last post by TimoVJL on Today at 07:25:12 AM »
Now pcc32:
Code: [Select]
DSVRead_Test1pcc32.exe
C compiler: Microsoft Visual C/C++ Version: 600
DSVRead: 129ms
Rows: 43654 Cols: 248
143ms
234 matches 171 values, average 15.996
10
The Laboratory / Re: Benchmark (for assemblers and compilers)
« Last post by jj2007 on Today at 07:21:09 AM »
EDIT: a test package of gcc 8 msvc 19.16 Pellesc 9

Very nice, thanks :t

PellesC is pretty fast in these tests:
Code: [Select]
DSVRead_Test1msvc.exe
C compiler: Microsoft Visual C/C++ Version: 1916 Toolset: 191627026
DSVRead: 68ms
Rows: 43666 Cols: 196
78ms
234 matches 171 values, average 15.996

DSVRead_Test1msvcX64.exe
C compiler: Microsoft Visual C/C++ Version: 1916 Toolset: 191627026
DSVRead: 63ms
Rows: 43666 Cols: 196
73ms
234 matches 171 values, average 15.996

DSVRead_Test1gcc8X64.exe
C compiler: MingW64 6.0
DSVRead: 74ms
Rows: 43666 Cols: 196
86ms
234 matches 171 values, average 15.996

DSVRead_Test1.exe
C compiler: Pelles, Version 900
DSVRead: 66ms
Rows: 43666 Cols: 196
76ms
234 matches 171 values, average 15.996

DSVRead_Test164.exe
C compiler: Pelles, Version 900
DSVRead: 69ms
Rows: 43666 Cols: 196
80ms
234 matches 171 values, average 15.996
Pages: [1] 2 3 ... 10