NO

Author Topic: Image Viewer Ended  (Read 5622 times)

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1747
Re: Image Viewer Ended
« Reply #15 on: April 15, 2016, 10:10:50 am »
Grincheux thank you for appreciation.
the operator sizeof gives a constant result. So the behavior is the same as for the #define.
The workaround to remove the annoyance are 2 (choose only one):
  • Mask the warning using the pragma
  • Or don't inline safe functions defining the symbol STRSAFE_LIB.

If you choose the first case use:
Code: [Select]
#pragma warn(disable:2154)
For the second:
Code: [Select]
#define STRSAFE_LIB 1
#include <Strsafe.h>
« Last Edit: April 15, 2016, 11:40:59 am by frankie »

Grincheux

  • Guest
Re: Image Viewer Ended
« Reply #16 on: April 15, 2016, 02:06:42 pm »
There is a third solution, DO NOT USE STRSAFE.

I choose this one. I don't want to disable that warning, it can helps while writing bad code.

Quote
Je tiens à vous remercier pour cette aide précieuse, sans vous je n'y serais jamais arrivé :).
Quote
Thank you for this valuable help, without you I would never have happened. :)

Grincheux

  • Guest
Re: Image Viewer Ended
« Reply #17 on: April 15, 2016, 07:55:35 pm »

Now there is no warnngs.
You can download the full program (MSVC + PELLE) here
For details see here and here.

If you find errors or mistakes tell it to me in this forum.

Thank you for your help. :) :) :)

Philippe RIO
France, Jura
« Last Edit: April 15, 2016, 07:57:09 pm by Grincheux »

Grincheux

  • Guest
Re: Image Viewer Ended
« Reply #18 on: April 27, 2016, 06:41:00 pm »
Source code Psw = jardin39600

I tested a program (I answer to the post), in this program it loaded 19201 images, when treated by my program, it only kept 4 !

4/19204 = 2.08 !

Grincheux

  • Guest
Re: Image Viewer Ended
« Reply #19 on: April 29, 2016, 02:18:30 am »
Quote
2016/04/28 - Created P-Euphory.ini for PEuphory.exe.
2016/04/28 - Possibility or not to make the backup of DB_Effects. Backup is a long operation. Database can be used during backup.
2016/04/28 - Added backup at startup of DB_Effects in Temp directory. The file is named DB_Effects.db.Bak.
2016/04/28 - The DB_EFFECTS database is loaded in memory rather than making disk accesses.
2016/04/28 - When convolve operation is ended, the files are re-loaded automaticaly.
2016/04/28 - Added an option to display or not the end of convolve operations.
2016/04/27 - Added a flash and a beep when a long operation is finished.
2016/04/27 - Added a thread priority when generating filters. They are generated in background, when finished the program comes back to normal priority.
2016/04/27 - Replaced MD5 with CRC32
2016/04/27 - Added some masks and removed many others.
2016/04/27 - Modified "Neighbors" algorythm to delete more images when colors are very near. It is based on the Red, Green and Blue median.
2016/04/27 - Added auto delete duplicate image bits. It was too long making that with a listbox. I let the last way.

Profile : Euphory.ini
Quote
; Thumbs Width must be equal to Thumbs Canvas Width - 8
;
[Euphory]
Last Folder=E:\Euphory\Images de Tests\7x7\Work\01
Display End of Convole Operation=0
Backup DB_Effects=0
Thumbs Width=256
Thumbs Height=256
Thumbs Width Gap=8
Thumbs Height Gap=8
Thumbs Canvas Width=264
Thumbs Canvas Height=264
Icons Background=0
Images Background=0
Text Color=255
OutLine Color=0

Need users to make test, please.

Download
« Last Edit: April 29, 2016, 02:20:09 am by Grincheux »

JohnF

  • Guest
Re: Image Viewer Ended
« Reply #20 on: April 29, 2016, 12:15:01 pm »
Can't run it because of all those strange looking DLLs.

API-MS-WIN-SERVICE-CORE-L1-1-0.DLL
""
""
""

John

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1886
Re: Image Viewer Ended
« Reply #21 on: April 29, 2016, 12:39:05 pm »
« Last Edit: April 29, 2016, 12:45:58 pm by TimoVJL »
May the source be with you

JohnF

  • Guest
Re: Image Viewer Ended
« Reply #22 on: April 29, 2016, 01:29:29 pm »
Well, that's not a good idea. None of the apps on my PC need those.

John
« Last Edit: April 29, 2016, 02:07:08 pm by JohnF »

Grincheux

  • Guest
Re: Image Viewer Ended
« Reply #23 on: April 29, 2016, 07:06:02 pm »

JohnF

  • Guest
Re: Image Viewer Ended
« Reply #24 on: April 29, 2016, 07:15:30 pm »
I put all those DLL's in your folder, here is the error message.

EDIT: I'll not be trying again.

John

Grincheux

  • Guest
Re: Image Viewer Ended
« Reply #25 on: April 29, 2016, 08:42:34 pm »
Into the folder where ImageViewer is installed, you will find the Pelle's Version PEuphory.exe