News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Image meta data viewer

Started by jj2007, November 29, 2016, 01:32:03 PM

Previous topic - Next topic

jj2007

Quote from: caballero on December 09, 2016, 06:31:40 PM
Several compiler solutions

Your Masm exe shows the gif, and it builds fine with a small change in line 60:  gtkn PULONG <>? (how did you build that one...?)

PellesC\GdiPlusWC01\GdiPlusWC01.exe shows the gif but misbehaves when closing: it stays in memory with 100% cpu usage :(

PellesC\GdiPlusWC01\GdiPlusWC01.64.exe shows the gif but causes an exception when closing. It builds fine, though, and the exception can be "healed" like this:
//DestroyWindow (hWnd);
Let Windows decide how to destroy windows... ;)

The movingwizard.gif image shows fine with MasmBasic:
GuiParas equ "Hello Gdiplus", x600, y20, w250, h200
include \masm32\MasmBasic\Res\MbGui.asm
Event Paint
  GuiImage 123, fit ; resource ID, fit to window size
GuiEnd

avcaballero

> gtkn PULONG <>? (how did you build that one...?)
He he, I don't know masm32 beats everythig :biggrin:

> ... shows the gif but misbehaves when closing...
Didn't you read the readme file, eh?

> Let Windows decide how to destroy windows...
Good advice. It seems that this is the point

> The movingwizard.gif image shows fine with MasmBasic
Congrats, JJ

Thank you, JJ

jj2007

Quote from: caballero on December 09, 2016, 10:23:38 PMDidn't you read the readme file, eh?

The WOT???  :dazzled: RRRRRRRRRRRRRRR????
;)

TWell

#48
Quote from: caballero on December 09, 2016, 06:31:40 PM
Several compiler solutions for and animated and simple gif viewer, 32 and 64 bits. Win32 and 64 of TinyC don't work, the api function GdipLoadImageFromFile gives an error, its two parameters seems to be ok. If anyone find a solution, please, let me know.
For start:
GdiplusStartupInput  gsi = {1};
or
gsi.GdiplusVersion = 1;

avcaballero

#49
Even so, doesn't work
Wow, now this works fine, you're fast, Tim. Thank you :t