Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
b24e1a4
added VS16 project nd solution files
May 3, 2025
0c2d3cd
Revert "added VS16 project nd solution files"
May 3, 2025
e409e16
tool_test plugin: added VS16 project nd solution files
May 3, 2025
e01986f
plugin tool_text: added files from https://nakka.com/soft/clcl/plugin…
May 4, 2025
76830aa
converted to VS16 solution/project
May 4, 2025
185ea3f
plugin tool_text: merge english and japanese rc-files, add string res…
May 4, 2025
1ebbe82
tool_text: added and included convert_date, use string resources
May 4, 2025
a72df30
locate tool_text.ini beside clcl.ini in %LOCALAPPDATA%\CLCL (installe…
May 4, 2025
92aa250
tool_text.txt deleted
May 4, 2025
49f4281
tool_text(japanese).txt from https://nakka.com/soft/clcl/plugin/tltxt…
May 4, 2025
1570c2a
tool_text(english).txt by google translation
May 4, 2025
93e8461
tool_util added from https://nakka.com/soft/clcl/plugin/tlutl002_eng.zip
May 4, 2025
3024bc2
tool_util project converted to VS16
May 4, 2025
7ff0c31
tool_util: merged english and japanese rc file
May 4, 2025
5cf1e58
added tool_utl(japanese).txt, tool_utl(english).txt, string resources
May 4, 2025
46d18a5
remove odbc32.lib, odbccp32.lib from linker
May 5, 2025
9485f35
replace hardcoded strings by strings from rc file; locate tool_utl.in…
May 5, 2025
fca7726
added tool_test.rc; moved menu titles into string resources
May 19, 2025
1ea38cf
included plugin projects in solution
May 19, 2025
533a39c
removed odbc32.lib;odbccp32.lib; from project
May 20, 2025
83d15f3
added version info
wilfz Jun 11, 2025
25b7abf
spelling
wilfz Jun 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CLCL.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CLCLHook", "CLCLHook\CLCLHo
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CLCLSet", "CLCLSet\CLCLSet.vcxproj", "{F701700D-6556-4BB3-BA90-5709B614FD40}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tool_text", "CLCLPlugin\tool_text\tool_text.vcxproj", "{D439BB63-3D81-4791-BD68-22B11AE43A16}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tool_test", "CLCLPlugin\tool_test\tool_test.vcxproj", "{D4837AC4-2903-4344-A248-4EC2321875A3}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tool_utl", "CLCLPlugin\tool_utl\tool_utl.vcxproj", "{E624A3AA-D8A8-4137-9A09-D53035A83B11}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Expand All @@ -34,6 +40,24 @@ Global
{F701700D-6556-4BB3-BA90-5709B614FD40}.Release|x86.Build.0 = Release|Win32
{F701700D-6556-4BB3-BA90-5709B614FD40}.Template|x86.ActiveCfg = Release|Win32
{F701700D-6556-4BB3-BA90-5709B614FD40}.Template|x86.Build.0 = Release|Win32
{D439BB63-3D81-4791-BD68-22B11AE43A16}.Debug|x86.ActiveCfg = Debug|Win32
{D439BB63-3D81-4791-BD68-22B11AE43A16}.Debug|x86.Build.0 = Debug|Win32
{D439BB63-3D81-4791-BD68-22B11AE43A16}.Release|x86.ActiveCfg = Release|Win32
{D439BB63-3D81-4791-BD68-22B11AE43A16}.Release|x86.Build.0 = Release|Win32
{D439BB63-3D81-4791-BD68-22B11AE43A16}.Template|x86.ActiveCfg = Debug|Win32
{D439BB63-3D81-4791-BD68-22B11AE43A16}.Template|x86.Build.0 = Debug|Win32
{D4837AC4-2903-4344-A248-4EC2321875A3}.Debug|x86.ActiveCfg = Debug|Win32
{D4837AC4-2903-4344-A248-4EC2321875A3}.Debug|x86.Build.0 = Debug|Win32
{D4837AC4-2903-4344-A248-4EC2321875A3}.Release|x86.ActiveCfg = Release|Win32
{D4837AC4-2903-4344-A248-4EC2321875A3}.Release|x86.Build.0 = Release|Win32
{D4837AC4-2903-4344-A248-4EC2321875A3}.Template|x86.ActiveCfg = Release|Win32
{D4837AC4-2903-4344-A248-4EC2321875A3}.Template|x86.Build.0 = Release|Win32
{E624A3AA-D8A8-4137-9A09-D53035A83B11}.Debug|x86.ActiveCfg = Debug|Win32
{E624A3AA-D8A8-4137-9A09-D53035A83B11}.Debug|x86.Build.0 = Debug|Win32
{E624A3AA-D8A8-4137-9A09-D53035A83B11}.Release|x86.ActiveCfg = Release|Win32
{E624A3AA-D8A8-4137-9A09-D53035A83B11}.Release|x86.Build.0 = Release|Win32
{E624A3AA-D8A8-4137-9A09-D53035A83B11}.Template|x86.ActiveCfg = Debug|Win32
{E624A3AA-D8A8-4137-9A09-D53035A83B11}.Template|x86.Build.0 = Debug|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
22 changes: 22 additions & 0 deletions CLCLPlugin/tool_test/resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by tool_test.rc
//
#define IDS_TEST1 101
#define IDS_TEST2 102
#define IDS_TEST3 103
#define IDS_TEST4 104
#define IDS_TEST5 105
#define IDS_TEST6 106
#define IDS_TEST7 107

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 108
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
41 changes: 33 additions & 8 deletions CLCLPlugin/tool_test/tool_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#undef _INC_OLE

#include "..\CLCLPlugin.h"
#include "resource.h"

/* Define */

Expand Down Expand Up @@ -42,55 +43,71 @@ int WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, PVOID pvReserved)

/*
* get_tool_info_w - �c�[�����擾
* Get tool information
* Get tool information
*
* ���� / argument:
* hWnd - �Ăяo�����E�B���h�E / the calling window
* index - �擾�̃C���f�b�N�X (0�`) / the index of the acquisition (from 0)
* tgi - �c�[���擾��� / tool retrieval information
*
* �߂�l / Return value:
* TRUE - ���Ɏ擾����c�[������ / has tools to get next
* FALSE - �擾�̏I�� / end of acquisition
*/
__declspec(dllexport) BOOL CALLBACK get_tool_info_w(const HWND hWnd, const int index, TOOL_GET_INFO *tgi)
{
switch (index) {
case 0:
lstrcpy(tgi->title, TEXT("�e�X�g1"));
// Remove specific format in item
LoadString(hInst, IDS_TEST1, tgi->title, BUF_SIZE - 1);
lstrcpy(tgi->func_name, TEXT("test1"));
lstrcpy(tgi->cmd_line, TEXT(""));
tgi->call_type = CALLTYPE_MENU | CALLTYPE_VIEWER;
return TRUE;

case 1:
lstrcpy(tgi->title, TEXT("�e�X�g2"));
// Delete item
LoadString(hInst, IDS_TEST2, tgi->title, BUF_SIZE - 1);
lstrcpy(tgi->func_name, TEXT("test2"));
lstrcpy(tgi->cmd_line, TEXT(""));
tgi->call_type = CALLTYPE_MENU | CALLTYPE_VIEWER;
return TRUE;

case 2:
lstrcpy(tgi->title, TEXT("�e�X�g3"));
// Save item
LoadString(hInst, IDS_TEST3, tgi->title, BUF_SIZE - 1);
lstrcpy(tgi->func_name, TEXT("test3"));
lstrcpy(tgi->cmd_line, TEXT(""));
tgi->call_type = CALLTYPE_MENU | CALLTYPE_VIEWER;
return TRUE;

case 3:
lstrcpy(tgi->title, TEXT("�e�X�g4"));
// Create a text item from a file
LoadString(hInst, IDS_TEST4, tgi->title, BUF_SIZE - 1);
lstrcpy(tgi->func_name, TEXT("test4"));
lstrcpy(tgi->cmd_line, TEXT(""));
tgi->call_type = CALLTYPE_MENU | CALLTYPE_VIEWER;
return TRUE;

case 4:
lstrcpy(tgi->title, TEXT("�e�X�g5"));
// Show item title
LoadString(hInst, IDS_TEST5, tgi->title, BUF_SIZE - 1);
lstrcpy(tgi->func_name, TEXT("test5"));
lstrcpy(tgi->cmd_line, TEXT(""));
tgi->call_type = CALLTYPE_MENU | CALLTYPE_VIEWER;
return TRUE;

case 5:
lstrcpy(tgi->title, TEXT("�e�X�g6"));
// Save the data in a separate file
LoadString(hInst, IDS_TEST6, tgi->title, BUF_SIZE - 1);
lstrcpy(tgi->func_name, TEXT("test6"));
lstrcpy(tgi->cmd_line, TEXT(""));
tgi->call_type = CALLTYPE_START | CALLTYPE_END;
return TRUE;

case 6:
lstrcpy(tgi->title, TEXT("�e�X�g7"));
// Test7
LoadString(hInst, IDS_TEST7, tgi->title, BUF_SIZE - 1);
lstrcpy(tgi->func_name, TEXT("test7"));
lstrcpy(tgi->cmd_line, TEXT(""));
tgi->call_type = CALLTYPE_MENU | CALLTYPE_VIEWER;
Expand All @@ -102,6 +119,14 @@ __declspec(dllexport) BOOL CALLBACK get_tool_info_w(const HWND hWnd, const int i
/*
* test1 - �A�C�e�����̓���`�����폜
* test1 - Remove specific format in item
*
* ���� / argument:
* hWnd - �Ăяo�����E�B���h�E / the calling window
* tei - �c�[�����s��� / tool execution information
* tdi - �c�[���p�A�C�e����� / item information for tools
*
* �߂�l / Return value:
* TOOL_
*/
__declspec(dllexport) int CALLBACK test1(const HWND hWnd, TOOL_EXEC_INFO *tei, TOOL_DATA_INFO *tdi)
{
Expand Down
113 changes: 0 additions & 113 deletions CLCLPlugin/tool_test/tool_test.dsp

This file was deleted.

29 changes: 0 additions & 29 deletions CLCLPlugin/tool_test/tool_test.dsw

This file was deleted.

Loading