Author Topic: Just playing with ObjAsm32 PixelMap: a progressbar  (Read 1369 times)

HSE

  • Member
  • *****
  • Posts: 1104
  • <AMD>< 7-32>
Just playing with ObjAsm32 PixelMap: a progressbar
« on: August 07, 2018, 05:40:23 AM »
Hi all!

Beginning to study how work this kind of ... graphic factory?

The original idea was to make a circle like Fearless' CircleBar but ... no matter.

Beside usual commands, I added 2:
* PBM_RESET, arg      where arg it's where to begin (usually 0)
* PBM_STEPING, arg   where arg is 1 or 0, for drawing bars borders or not

       
« Last Edit: August 07, 2018, 09:07:23 PM by HSE »

caballero

  • Member
  • *****
  • Posts: 1188
    • abre ojos ensamblador
Re: Just playing with ObjAsm32 PixelMap: a progressbar
« Reply #1 on: August 07, 2018, 04:27:26 PM »
If I try to execute a2.exe I get an error that says: The program cannot initiate because has not been found ResGuard.dll in the system.
The logic of the error is hidden among the most unexpected lines of the program

zedd151

  • Member
  • ****
  • Posts: 870
Re: Just playing with ObjAsm32 PixelMap: a progressbar
« Reply #2 on: August 07, 2018, 04:32:48 PM »
If I try to execute a2.exe I get an error that says: The program cannot initiate because has not been found ResGuard.dll in the system.

ResGuard.dll    :biggrin:

I did a quick google, and it came up first...
 
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

LiaoMi

  • Member
  • ****
  • Posts: 574
Re: Just playing with ObjAsm32 PixelMap: a progressbar
« Reply #3 on: August 07, 2018, 06:38:03 PM »
ObjAsm32 has this dll in the supplied package  :t

HSE

  • Member
  • *****
  • Posts: 1104
  • <AMD>< 7-32>
Re: Just playing with ObjAsm32 PixelMap: a progressbar
« Reply #4 on: August 07, 2018, 08:47:52 PM »
I get an error that says: The program cannot initiate because has not been found ResGuard.dll in the system.

Sorry. I forget enabled the debugging system. Corrected in first post.

It's a very interesting system (an evolution of Vkim system) that work  even if your program is plain masm (but you have to install the package). The system can detect leaks, very usual using GDI in new graphic functions.

caballero

  • Member
  • *****
  • Posts: 1188
    • abre ojos ensamblador
Re: Just playing with ObjAsm32 PixelMap: a progressbar
« Reply #5 on: August 07, 2018, 09:02:10 PM »
Now it goes right, but when it reaches the end it gets blurred
The logic of the error is hidden among the most unexpected lines of the program

HSE

  • Member
  • *****
  • Posts: 1104
  • <AMD>< 7-32>
Re: Just playing with ObjAsm32 PixelMap: a progressbar
« Reply #6 on: August 07, 2018, 09:09:35 PM »
Yes  :biggrin:, I was testing something that don't work very well. I uploaded again.

caballero

  • Member
  • *****
  • Posts: 1188
    • abre ojos ensamblador
Re: Just playing with ObjAsm32 PixelMap: a progressbar
« Reply #7 on: August 07, 2018, 11:21:34 PM »
Now everything seem to go right :t
The logic of the error is hidden among the most unexpected lines of the program