Recent Posts

Pages: [1] 2 3 ... 10
1
The Workshop / Re: Looking for a JPEG library
« Last post by jj2007 on Today at 09:06:42 AM »
Let's find out what's wrong with you.

Nothing is wrong with me, mabdelouahab. And I use a much more sophisticated gdi+ error checking.

Fact is that
a) your executable gets refused by my Win32 XP VM, which may simply be a manifest problem
b) I can re-build it, and then it runs on my VM
c) my executable runs fine on various configurations
d) but it crashes without warning and without errors in exactly one configuration.
2
The Soap Box / Re: Just found a useful tool for FREE !
« Last post by K_F on Today at 06:32:55 AM »
See it's for Win10 only... ?
Google it and you'll find it in many places ?
3
The Workshop / Re: Looking for a JPEG library
« Last post by Vortex on Today at 04:54:37 AM »
mabdelouahab's application works fine both on Windows XP 32-bit and Windows PE based on XP 32-bit.
4
The Workshop / Re: Looking for a JPEG library
« Last post by AW on Today at 04:00:00 AM »
In my whole life I don't remember ever finding an undocumented Windows bug, it was always a bug in my own code.  :(
5
The Workshop / Re: Looking for a JPEG library
« Last post by mabdelouahab on Today at 03:57:20 AM »
- but GdipSaveImageToFile fails silently on XP when not run with Olly or DebugHeap.
So
Try this.
Code: [Select]
invoke GdipSaveImageToFile,Img,ADDR _buffer,pencoderClsid,0 ;SaveImageTo
.if eax == 0
printf("success\n",FileName)
.else
printf("GdipSaveImageToFile ERR: %X\n",EAX)
.endif

Let's find out what's wrong with you.

Quote
GpStatusOk                          EQU 0
GpStatusGenericError                EQU 1
GpStatusInvalidParameter            EQU 2
GpStatusOutOfMemory                 EQU 3
GpStatusObjectBusy                  EQU 4
GpStatusInsufficientBuffer          EQU 5
GpStatusNotImplemented              EQU 6
GpStatusWin32Error                  EQU 7
GpStatusWrongState                  EQU 8
GpStatusAborted                     EQU 9
GpStatusFileNotFound                EQU 10
GpStatusValueOverflow               EQU 11
GpStatusAccessDenied                EQU 12
GpStatusUnknownImageFormat          EQU 13
GpStatusFontFamilyNotFound          EQU 14
GpStatusFontStyleNotFound           EQU 15
GpStatusNotTrueTypeFont             EQU 16
GpStatusUnsupportedGdiplusVersion   EQU 17
GpStatusGdiplusNotInitialized       EQU 18
GpStatusPropertyNotFound            EQU 19
GpStatusPropertyNotSupported        EQU 20
6
I've put some effort into designing the way the web-app looks. Do you like it? The layout works in IE6, IE9 and IE11, and all the non-Internet-Explorer browsers I've tested it in except Safari 5, but it breaks in IE7, IE8 and IE10.
7
The Workshop / Re: Looking for a JPEG library
« Last post by jj2007 on Today at 02:36:58 AM »
buggy because you are popping ecx out of nowhere

It works fine:
- on Win7-64
- on XP when debugged with Olly
- on XP when run through DebugHeap.exe
- but GdipSaveImageToFile fails silently on XP when not run with Olly or DebugHeap.

Mysteries of Windows 8)
8
The Workshop / Re: Looking for a JPEG library
« Last post by AW on Today at 01:30:56 AM »
It works in Windows 2000 as well.
I mean the mabdelouahab code, your masm basic looks buggy because you are popping ecx out of nowhere, but I will not delve deeper into such a complex artifact, sorry.
9
The Workshop / Re: Looking for a JPEG library
« Last post by mabdelouahab on Today at 01:23:58 AM »
..., but it doesn't work on XP.
Rebuild it on Xp
10
MASM32 / Re: Using FPU functions to resolve Trigonometry Problems
« Last post by norpeter on November 12, 2018, 02:05:32 PM »
Thanks for the warm welcome!  By the way, Fortran was my first programming language too back in the 70s.  My first computer was an 8-bit model I built from Heath Kit.  We've sure come a long way since then.  Anyway, I've gone through the Fpulib source code on most of its functions and I've also used the included Fpulibtester.exe.  It gave me the results I wanted on FpuArcsin, FpuArccos, and FpuArctan.   I hope to do the same soon.   Thank you for the insight.
Pages: [1] 2 3 ... 10