XSudoku lister plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

XSudoku lister plugin

Post by *tbeu »

XSudoku plugin 1.2.0.2 launched!

The main features of the XSudoku plugin are:
- display most Sudoku file formats
- fast Sudoku solution
- unlimited number of undo/redo actions
- show/hide pencil marks
- show/hide hint for a single cell or show solution for entire puzzle
- highlight all cells of a particular value, hint or pencil mark
- print bitmap of puzzle
- copy bitmap of puzzle to clipboard

Image: http://tbeu.totalcmd.net/xsudoku/1.0.2.1/wlx_xsudoku_1.0.2.1.png

The XSudoku plugin is based on the XSudokuWnd classes by Hans Dietrich.

Have a lot of fun...
tbeu
Last edited by tbeu on 2011-11-04, 18:50 UTC, edited 3 times in total.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

What's happened? At your page and at totalcmd.net is 1.0.2.0 version again. Is there any error in 1.0.2.1?
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

djk wrote:Is there any error in 1.0.2.1?
Unfortunately, it was late yesterday night and I introduced a typo in the detection string. Shame on me...
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Nice plugin, thank you !

Never heard of Sudoku before, seems I missed something ...

Version 1.0.2.1 : Removing the plugin.inf can not be the final solution ...
Other plugins have their own DLLs as well, but work fine.
You may have a look at your code to find the reason.
#5767 Personal license
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

I did some testing with the "misssing DLL" message (blackbox only, sorry)

I put the archive on Drive E:\, while the plugin folder is on drive C:\TC\plugins\wlx\.

Just opening the archive on right panel E:\ while left panel shows C:\ will raise the error.
Bad, but at least it creates the XSudoku folder ...

Meanwhile I open and close another archive to reenable the auto-install ...

Now I set the current dir on left panel to "C:\TC\plugins\wlx\XSudoku\" and open the XSudoku archive on right panel ("E:\") again.
This time installation works fine !

It looks like that it works, if the current dir on the "plugin drive" points to the XSudoku dir.

Hope it helps ...
#5767 Personal license
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Hi sqa_wizard,

thanks for your testing. I was already in correspondence with Mr. Ghisler and pointed him to the same observations you have just figured out. The "missing" DLL (XsudokuWndR.dll) will be found if it is
* in TC directory,
* in Windows directory,
* in system directory,
* located on the path or
* in the opposite TC panel (w.r.t your Sudoku file).
As neither of this 5 conditions must hold at installation time I have decided to remove the pluginst.inf from the archive and extended the Readme file by steps for manual installation.

tbeu
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Well, the only thing, I stumbled about is :

I do have some Lister-Plugins (e.g. VisualDirSize) that need at least one additional DLL in their installation folder. No problem there ...
#5767 Personal license
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

That's the difference between static and dynamic linkage. Check the DLL dependencies of the plugin using http://www.totalcmd.net/plugring/fileinfo.html or http://www.dependencywalker.com.

The XSudoku plugin is statically linked to XSudokuWndR.dll. The VisualDirSize plugin is dynamicall linked to dirsizec.dll.

tbeu
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

The XSudoku plugin is statically linked to XSudokuWndR.dll.
:roll: 2 LOC to add/change ...
#5767 Personal license
TW
Senior Member
Senior Member
Posts: 383
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

looks nice, will give it a try. :)

thank you.
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Currently the Sudoku numbers can only be entered by mouse actions. But I want to lift this limitation. Who can help me in development to make the keys in lister window working? Your support is very welcome as I already tried to catch the keyboard messages but did not succeed.
Thanks from Thomas
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2tbeu
I just want to warn you a little :)
If you intercept 0-9 keys in Lister, this may work in Lister, but may not work in Universal Viewer because Viewer handles shortcuts in a little different way...

(This can be solved in Viewer but reassigning shortcuts.)
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

2Alextp
That was an adverticement, right? :mrgreen:
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

:shock: Advertisement of what??
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

2Alextp
Of universal viewer of course =)
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
Post Reply