diff --git a/README.win32 b/README.win32 index 2c7930f08..840b479da 100644 --- a/README.win32 +++ b/README.win32 @@ -91,4 +91,7 @@ MSVC 2022 ========= MSVC C/C++ projects must use the NuGet pthread package in order to compile as of Sep 2022 An example C++ project is in bindings/MSVC +If you want to do a dotnet build you will need this done from an administrative PowerShell +npm install -g --production windows-build-tools + diff --git a/scripts/MSVC/2022/x64/hamlibTest/Resource.h b/scripts/MSVC/2022/x64/hamlibTest/Resource.h new file mode 100644 index 000000000..47c4c6cea --- /dev/null +++ b/scripts/MSVC/2022/x64/hamlibTest/Resource.h @@ -0,0 +1,30 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by hamlibTest.rc + +#define IDS_APP_TITLE 103 + +#define IDR_MAINFRAME 128 +#define IDD_HAMLIBTEST_DIALOG 102 +#define IDD_ABOUTBOX 103 +#define IDM_ABOUT 104 +#define IDM_EXIT 105 +#define IDI_HAMLIBTEST 107 +#define IDI_SMALL 108 +#define IDC_HAMLIBTEST 109 +#define IDC_MYICON 2 +#ifndef IDC_STATIC +#define IDC_STATIC -1 +#endif +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS + +#define _APS_NO_MFC 130 +#define _APS_NEXT_RESOURCE_VALUE 129 +#define _APS_NEXT_COMMAND_VALUE 32771 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 110 +#endif +#endif diff --git a/scripts/MSVC/2022/x64/hamlibTest/framework.h b/scripts/MSVC/2022/x64/hamlibTest/framework.h new file mode 100644 index 000000000..7d94bc44f --- /dev/null +++ b/scripts/MSVC/2022/x64/hamlibTest/framework.h @@ -0,0 +1,15 @@ +// header.h : include file for standard system include files, +// or project specific include files +// + +#pragma once + +#include "targetver.h" +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers +// Windows Header Files +#include +// C RunTime Header Files +#include +#include +#include +#include diff --git a/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.cpp b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.cpp new file mode 100644 index 000000000..05040b58f --- /dev/null +++ b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.cpp @@ -0,0 +1,187 @@ +// hamlibTest.cpp : Defines the entry point for the application. +// Note that the MSVC build requires the pthread package as of Sep 2022 + +#include "framework.h" +#include "hamlibTest.h" + +#include "hamlib\rig.h" +#include "hamlib\rotator.h" + + +#define MAX_LOADSTRING 100 + +// Global Variables: +HINSTANCE hInst; // current instance +WCHAR szTitle[MAX_LOADSTRING]; // The title bar text +WCHAR szWindowClass[MAX_LOADSTRING]; // the main window class name + +// Forward declarations of functions included in this code module: +ATOM MyRegisterClass(HINSTANCE hInstance); +BOOL InitInstance(HINSTANCE, int); +LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); +INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM); + +int APIENTRY wWinMain(_In_ HINSTANCE hInstance, + _In_opt_ HINSTANCE hPrevInstance, + _In_ LPWSTR lpCmdLine, + _In_ int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // TODO: Place code here. + + // Initialize global strings + LoadStringW(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); + LoadStringW(hInstance, IDC_HAMLIBTEST, szWindowClass, MAX_LOADSTRING); + MyRegisterClass(hInstance); + + // Perform application initialization: + if (!InitInstance (hInstance, nCmdShow)) + { + return FALSE; + } + + RIG* myRig = rig_init(RIG_MODEL_DUMMY); + ROT* myRot = rot_init(ROT_MODEL_DUMMY); + + HACCEL hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_HAMLIBTEST)); + + MSG msg; + + // Main message loop: + while (GetMessage(&msg, nullptr, 0, 0)) + { + if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) + { + TranslateMessage(&msg); + DispatchMessage(&msg); + } + } + + return (int) msg.wParam; +} + + + +// +// FUNCTION: MyRegisterClass() +// +// PURPOSE: Registers the window class. +// +ATOM MyRegisterClass(HINSTANCE hInstance) +{ + WNDCLASSEXW wcex; + + wcex.cbSize = sizeof(WNDCLASSEX); + + wcex.style = CS_HREDRAW | CS_VREDRAW; + wcex.lpfnWndProc = WndProc; + wcex.cbClsExtra = 0; + wcex.cbWndExtra = 0; + wcex.hInstance = hInstance; + wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_HAMLIBTEST)); + wcex.hCursor = LoadCursor(nullptr, IDC_ARROW); + wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); + wcex.lpszMenuName = MAKEINTRESOURCEW(IDC_HAMLIBTEST); + wcex.lpszClassName = szWindowClass; + wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL)); + + return RegisterClassExW(&wcex); +} + +// +// FUNCTION: InitInstance(HINSTANCE, int) +// +// PURPOSE: Saves instance handle and creates main window +// +// COMMENTS: +// +// In this function, we save the instance handle in a global variable and +// create and display the main program window. +// +BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) +{ + hInst = hInstance; // Store instance handle in our global variable + + HWND hWnd = CreateWindowW(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, + CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, nullptr, nullptr, hInstance, nullptr); + + if (!hWnd) + { + return FALSE; + } + + ShowWindow(hWnd, nCmdShow); + UpdateWindow(hWnd); + + return TRUE; +} + +// +// FUNCTION: WndProc(HWND, UINT, WPARAM, LPARAM) +// +// PURPOSE: Processes messages for the main window. +// +// WM_COMMAND - process the application menu +// WM_PAINT - Paint the main window +// WM_DESTROY - post a quit message and return +// +// +LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) +{ + switch (message) + { + case WM_COMMAND: + { + int wmId = LOWORD(wParam); + // Parse the menu selections: + switch (wmId) + { + case IDM_ABOUT: + DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About); + break; + case IDM_EXIT: + DestroyWindow(hWnd); + break; + default: + return DefWindowProc(hWnd, message, wParam, lParam); + } + } + break; + case WM_PAINT: + { + PAINTSTRUCT ps; + HDC hdc = BeginPaint(hWnd, &ps); + // TODO: Add any drawing code that uses hdc here... + EndPaint(hWnd, &ps); + } + break; + case WM_DESTROY: + PostQuitMessage(0); + break; + default: + return DefWindowProc(hWnd, message, wParam, lParam); + } + return 0; +} + +// Message handler for about box. +INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) +{ + UNREFERENCED_PARAMETER(lParam); + switch (message) + { + case WM_INITDIALOG: + return (INT_PTR)TRUE; + + case WM_COMMAND: + if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) + { + EndDialog(hDlg, LOWORD(wParam)); + return (INT_PTR)TRUE; + } + break; + } + return (INT_PTR)FALSE; +} diff --git a/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.h b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.h new file mode 100644 index 000000000..e60f2eb7e --- /dev/null +++ b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.h @@ -0,0 +1,3 @@ +#pragma once + +#include "resource.h" diff --git a/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.ico b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.ico new file mode 100644 index 000000000..b3ec03bd6 Binary files /dev/null and b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.ico differ diff --git a/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.rc b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.rc new file mode 100644 index 000000000..60aee1985 Binary files /dev/null and b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.rc differ diff --git a/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.sln b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.sln new file mode 100644 index 000000000..f28d117e3 --- /dev/null +++ b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.sln @@ -0,0 +1,36 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32825.248 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hamlibTest", "hamlibTest.vcxproj", "{D6A9E0F7-CE30-4255-860C-BABEC8360F24}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8A537F0A-CF7B-463F-A3E1-F4C321A3978F}" + ProjectSection(SolutionItems) = preProject + .github\workflows\build-bba40.yaml = .github\workflows\build-bba40.yaml + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Debug|x64.ActiveCfg = Debug|x64 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Debug|x64.Build.0 = Debug|x64 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Debug|x86.ActiveCfg = Debug|Win32 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Debug|x86.Build.0 = Debug|Win32 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Release|x64.ActiveCfg = Release|x64 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Release|x64.Build.0 = Release|x64 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Release|x86.ActiveCfg = Release|Win32 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2846179C-7E5E-44DC-829D-C74586FD113C} + EndGlobalSection +EndGlobal diff --git a/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.vcxproj b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.vcxproj new file mode 100644 index 000000000..017190265 --- /dev/null +++ b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.vcxproj @@ -0,0 +1,180 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {d6a9e0f7-ce30-4255-860c-babec8360f24} + hamlibTest + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + false + + + true + + + false + + + + Level3 + true + WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + C:\projects\hamlib-w32-4.5\include + + + Windows + true + C:\Projects\hamlib-w32-4.5\lib\msvc + libhamlib-4.lib;%(AdditionalDependencies) + + + + + Level3 + true + true + true + WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + + + Windows + true + true + true + + + + + Level3 + true + _DEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + C:\Projects\hamlib-w64-4.5\include;%(AdditionalIncludeDirectories) + + + Windows + true + + + + + Level3 + true + true + true + NDEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + + + Windows + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.vcxproj.user b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.vcxproj.user new file mode 100644 index 000000000..0f14913f3 --- /dev/null +++ b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/scripts/MSVC/2022/x64/hamlibTest/hamlibTest2.cpp b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest2.cpp new file mode 100644 index 000000000..fa1733c1c --- /dev/null +++ b/scripts/MSVC/2022/x64/hamlibTest/hamlibTest2.cpp @@ -0,0 +1,7 @@ +// Test including rig.h in a 2nd file +#include + +int testinclude() +{ + return 0; +} \ No newline at end of file diff --git a/scripts/MSVC/2022/x64/hamlibTest/libhamlib-4.def b/scripts/MSVC/2022/x64/hamlibTest/libhamlib-4.def new file mode 100644 index 000000000..8d0ed5082 --- /dev/null +++ b/scripts/MSVC/2022/x64/hamlibTest/libhamlib-4.def @@ -0,0 +1,408 @@ +EXPORTS + CRC32_function @1 + amp_check_backend @2 + amp_cleanup @3 + amp_close @4 + amp_confparam_lookup @5 + amp_ext_lookup @6 + amp_get_caps @7 + amp_get_conf @8 + amp_get_ext_level @9 + amp_get_freq @10 + amp_get_info @11 + amp_get_level @12 + amp_get_powerstat @13 + amp_has_get_level @14 + amp_init @15 + amp_list_foreach @16 + amp_load_all_backends @17 + amp_load_backend @18 + amp_open @19 + amp_parse_level @20 + amp_probe_all @21 + amp_register @22 + amp_reset @23 + amp_set_conf @24 + amp_set_freq @25 + amp_set_powerstat @26 + amp_sprintf_level @27 + amp_strlevel @28 + amp_token_lookup @29 + amp_unregister @30 + azimuth_long_path @31 + cookie_use @32 DATA + debugmsgsave @33 DATA + debugmsgsave2 @34 DATA + debugmsgsave3 @35 DATA + dec2dmmm @36 + dec2dms @37 + distance_long_path @38 + dmmm2dec @39 + dms2dec @40 + dot10ths_to_millis @41 + dump_hex @42 + elapsed_ms @43 + from_bcd @44 + from_bcd_be @45 + get_rig_conf_type @46 + hamlib_copyright @47 DATA + hamlib_copyright2 @48 DATA + hamlib_version @49 DATA + hamlib_version2 @50 DATA + hl_usleep @51 + initamps4_dummy @52 + initamps4_kpa1500 @53 + initrigs4_adat @54 + initrigs4_alinco @55 + initrigs4_aor @56 + initrigs4_barrett @57 + initrigs4_dorji @58 + initrigs4_drake @59 + initrigs4_dummy @60 + initrigs4_elad @61 + initrigs4_flexradio @62 + initrigs4_icm710 @63 + initrigs4_icmarine @64 + initrigs4_icom @65 + initrigs4_jrc @66 + initrigs4_kachina @67 + initrigs4_kenwood @68 + initrigs4_kit @69 + initrigs4_lowe @70 + initrigs4_pcr @71 + initrigs4_prm80 @72 + initrigs4_racal @73 + initrigs4_rft @74 + initrigs4_rs @75 + initrigs4_skanti @76 + initrigs4_tapr @77 + initrigs4_tentec @78 + initrigs4_tuner @79 + initrigs4_uniden @80 + initrigs4_winradio @81 + initrigs4_wj @82 + initrigs4_yaesu @83 + initrots4_amsat @84 + initrots4_ars @85 + initrots4_celestron @86 + initrots4_cnctrk @87 + initrots4_dummy @88 + initrots4_easycomm @89 + initrots4_ether6 @90 + initrots4_fodtrack @91 + initrots4_gs232a @92 + initrots4_heathkit @93 + initrots4_ioptron @94 + initrots4_kit @95 + initrots4_m2 @96 + initrots4_meade @97 + initrots4_prosistel @98 + initrots4_radant @99 + initrots4_rotorez @100 + initrots4_sartek @101 + initrots4_satel @102 + initrots4_spid @103 + initrots4_ts7400 @104 + locator2longlat @105 + longlat2locator @106 + millis_to_dot10ths @107 + morse_code_dot_to_millis @108 + netrigctl_get_vfo_mode @109 + network_multicast_server @110 + par_lock @111 + par_read_control @112 + par_read_data @113 + par_read_status @114 + par_unlock @115 + par_write_control @116 + par_write_data @117 + parse_hoststr @118 + port_close @119 + port_open @120 + print_ext_param @121 + probeallrigs4_adat @122 + probeallrigs4_drake @123 + probeallrigs4_elad @124 + probeallrigs4_icom @125 + probeallrigs4_kenwood @126 + probeallrigs4_lowe @127 + probeallrigs4_uniden @128 + probeallrigs4_yaesu @129 + qrb @130 + read_block @131 + read_string @132 + rig_check_backend @133 + rig_check_cache_timeout @134 + rig_cleanup @135 + rig_close @136 + rig_confparam_lookup @137 + rig_cookie @138 + rig_copyright @139 + rig_debug @140 + rig_ext_func_foreach @141 + rig_ext_level_foreach @142 + rig_ext_lookup @143 + rig_ext_lookup_tok @144 + rig_ext_parm_foreach @145 + rig_ext_token_lookup @146 + rig_flush @147 + rig_force_cache_timeout @148 + rig_get_ant @149 + rig_get_cache @150 + rig_get_cache_timeout_ms @151 + rig_get_caps @152 + rig_get_caps_cptr @153 + rig_get_caps_int @154 + rig_get_chan_all @155 + rig_get_chan_all_cb @156 + rig_get_channel @157 + rig_get_clock @158 + rig_get_conf @159 + rig_get_ctcss_sql @160 + rig_get_ctcss_tone @161 + rig_get_dcd @162 + rig_get_dcs_code @163 + rig_get_dcs_sql @164 + rig_get_ext_func @165 + rig_get_ext_level @166 + rig_get_ext_parm @167 + rig_get_freq @168 + rig_get_func @169 + rig_get_function_ptr @170 + rig_get_info @171 + rig_get_level @172 + rig_get_mem @173 + rig_get_mem_all @174 + rig_get_mem_all_cb @175 + rig_get_mode @176 + rig_get_parm @177 + rig_get_powerstat @178 + rig_get_ptt @179 + rig_get_range @180 + rig_get_resolution @181 + rig_get_rig_info @182 + rig_get_rit @183 + rig_get_rptr_offs @184 + rig_get_rptr_shift @185 + rig_get_split_freq @186 + rig_get_split_freq_mode @187 + rig_get_split_mode @188 + rig_get_split_vfo @189 + rig_get_trn @190 + rig_get_ts @191 + rig_get_twiddle @192 + rig_get_vfo @193 + rig_get_vfo_info @194 + rig_get_vfo_list @195 + rig_get_xit @196 + rig_has_get_func @197 + rig_has_get_level @198 + rig_has_get_parm @199 + rig_has_scan @200 + rig_has_set_func @201 + rig_has_set_level @202 + rig_has_set_parm @203 + rig_has_vfo_op @204 + rig_idx2setting @205 + rig_init @206 + rig_license @207 + rig_list_foreach @208 + rig_list_foreach_model @209 + rig_load_all_backends @210 + rig_load_backend @211 + rig_lookup_mem_caps @212 + rig_mW2power @213 + rig_mem_count @214 + rig_need_debug @215 + rig_no_restore_ai @216 + rig_open @217 + rig_parse_func @218 + rig_parse_level @219 + rig_parse_mode @220 + rig_parse_mtype @221 + rig_parse_parm @222 + rig_parse_rptr_shift @223 + rig_parse_scan @224 + rig_parse_vfo @225 + rig_parse_vfo_op @226 + rig_passband_narrow @227 + rig_passband_normal @228 + rig_passband_wide @229 + rig_power2mW @230 + rig_probe @231 + rig_probe_all @232 + rig_raw2val @233 + rig_raw2val_float @234 + rig_recv_dtmf @235 + rig_register @236 + rig_reset @237 + rig_scan @238 + rig_send_dtmf @239 + rig_send_morse @240 + rig_send_voice_mem @241 + rig_set_ant @242 + rig_set_bank @243 + rig_set_cache_timeout_ms @244 + rig_set_chan_all @245 + rig_set_chan_all_cb @246 + rig_set_channel @247 + rig_set_clock @248 + rig_set_conf @249 + rig_set_ctcss_sql @250 + rig_set_ctcss_tone @251 + rig_set_dcd_callback @252 + rig_set_dcs_code @253 + rig_set_dcs_sql @254 + rig_set_debug @255 + rig_set_debug_callback @256 + rig_set_debug_file @257 + rig_set_debug_time_stamp @258 + rig_set_ext_func @259 + rig_set_ext_level @260 + rig_set_ext_parm @261 + rig_set_freq @262 + rig_set_freq_callback @263 + rig_set_func @264 + rig_set_level @265 + rig_set_mem @266 + rig_set_mem_all @267 + rig_set_mem_all_cb @268 + rig_set_mode @269 + rig_set_mode_callback @270 + rig_set_parm @271 + rig_set_pltune_callback @272 + rig_set_powerstat @273 + rig_set_ptt @274 + rig_set_ptt_callback @275 + rig_set_rit @276 + rig_set_rptr_offs @277 + rig_set_rptr_shift @278 + rig_set_spectrum_callback @279 + rig_set_split_freq @280 + rig_set_split_freq_mode @281 + rig_set_split_mode @282 + rig_set_split_vfo @283 + rig_set_trn @284 + rig_set_ts @285 + rig_set_twiddle @286 + rig_set_uplink @287 + rig_set_vfo @288 + rig_set_vfo_callback @289 + rig_set_vfo_opt @290 + rig_set_xit @291 + rig_setting2idx @292 + rig_sprintf_ant @293 + rig_sprintf_func @294 + rig_sprintf_level @295 + rig_sprintf_level_gran @296 + rig_sprintf_mode @297 + rig_sprintf_parm @298 + rig_sprintf_parm_gran @299 + rig_sprintf_scan @300 + rig_sprintf_spectrum_avg_modes @301 + rig_sprintf_spectrum_modes @302 + rig_sprintf_spectrum_spans @303 + rig_sprintf_vfo @304 + rig_sprintf_vfop @305 + rig_stop_morse @306 + rig_stragclevel @307 + rig_strfunc @308 + rig_strlevel @309 + rig_strmtype @310 + rig_strparm @311 + rig_strptrshift @312 + rig_strrmode @313 + rig_strrmodes @314 + rig_strscan @315 + rig_strspectrummode @316 + rig_strstatus @317 + rig_strvfo @318 + rig_strvfop @319 + rig_token_foreach @320 + rig_token_lookup @321 + rig_unregister @322 + rig_version @323 + rig_vfo_op @324 + rig_wait_morse @325 + rigerror @326 + rot_check_backend @327 + rot_cleanup @328 + rot_close @329 + rot_confparam_lookup @330 + rot_ext_func_foreach @331 + rot_ext_level_foreach @332 + rot_ext_lookup @333 + rot_ext_lookup_tok @334 + rot_ext_parm_foreach @335 + rot_ext_token_lookup @336 + rot_get_caps @337 + rot_get_conf @338 + rot_get_ext_func @339 + rot_get_ext_level @340 + rot_get_ext_parm @341 + rot_get_func @342 + rot_get_info @343 + rot_get_level @344 + rot_get_parm @345 + rot_get_position @346 + rot_get_status @347 + rot_has_get_func @348 + rot_has_get_level @349 + rot_has_get_parm @350 + rot_has_set_func @351 + rot_has_set_level @352 + rot_has_set_parm @353 + rot_init @354 + rot_list_foreach @355 + rot_load_all_backends @356 + rot_load_backend @357 + rot_move @358 + rot_open @359 + rot_park @360 + rot_parse_func @361 + rot_parse_level @362 + rot_parse_parm @363 + rot_probe_all @364 + rot_register @365 + rot_reset @366 + rot_set_conf @367 + rot_set_ext_func @368 + rot_set_ext_level @369 + rot_set_ext_parm @370 + rot_set_func @371 + rot_set_level @372 + rot_set_parm @373 + rot_set_position @374 + rot_sprintf_func @375 + rot_sprintf_level @376 + rot_sprintf_level_gran @377 + rot_sprintf_parm @378 + rot_sprintf_parm_gran @379 + rot_sprintf_status @380 + rot_stop @381 + rot_strfunc @382 + rot_strlevel @383 + rot_strparm @384 + rot_strstatus @385 + rot_token_foreach @386 + rot_token_lookup @387 + rot_unregister @388 + ser_get_car @389 + ser_get_cts @390 + ser_get_dsr @391 + ser_get_dtr @392 + ser_get_rts @393 + ser_set_brk @394 + ser_set_dtr @395 + ser_set_rts @396 + serial_flush @397 + serial_open @398 + serial_setup @399 + sprintf_freq @400 + sprintf_level_ext @401 + sync_callback @402 + to_bcd @403 + to_bcd_be @404 + vfo_fixup @405 + vfo_fixup2a @406 + write_block @407 diff --git a/scripts/MSVC/2022/x64/hamlibTest/libhamlib-4.exp b/scripts/MSVC/2022/x64/hamlibTest/libhamlib-4.exp new file mode 100644 index 000000000..9dd27852e Binary files /dev/null and b/scripts/MSVC/2022/x64/hamlibTest/libhamlib-4.exp differ diff --git a/scripts/MSVC/2022/x64/hamlibTest/libhamlib-4.lib b/scripts/MSVC/2022/x64/hamlibTest/libhamlib-4.lib new file mode 100644 index 000000000..af07702ab Binary files /dev/null and b/scripts/MSVC/2022/x64/hamlibTest/libhamlib-4.lib differ diff --git a/scripts/MSVC/2022/x64/hamlibTest/libhamlib.def b/scripts/MSVC/2022/x64/hamlibTest/libhamlib.def new file mode 100644 index 000000000..21aaf1cee --- /dev/null +++ b/scripts/MSVC/2022/x64/hamlibTest/libhamlib.def @@ -0,0 +1,660 @@ +EXPORTS + CRC32_function @1 + add2debugmsgsave @2 + amp_check_backend @3 + amp_cleanup @4 + amp_close @5 + amp_confparam_lookup @6 + amp_ext_lookup @7 + amp_get_caps @8 + amp_get_conf @9 + amp_get_ext_level @10 + amp_get_freq @11 + amp_get_info @12 + amp_get_level @13 + amp_get_powerstat @14 + amp_has_get_level @15 + amp_has_set_level @16 + amp_init @17 + amp_list_foreach @18 + amp_load_all_backends @19 + amp_load_backend @20 + amp_open @21 + amp_parse_level @22 + amp_probe_all @23 + amp_register @24 + amp_reset @25 + amp_set_conf @26 + amp_set_ext_level @27 + amp_set_freq @28 + amp_set_level @29 + amp_set_powerstat @30 + amp_sprintf_level @31 + amp_strlevel @32 + amp_token_lookup @33 + amp_unregister @34 + azimuth_long_path @35 + cJSON_AddArrayToObject @36 + cJSON_AddBoolToObject @37 + cJSON_AddFalseToObject @38 + cJSON_AddItemReferenceToArray @39 + cJSON_AddItemReferenceToObject @40 + cJSON_AddItemToArray @41 + cJSON_AddItemToObject @42 + cJSON_AddItemToObjectCS @43 + cJSON_AddNullToObject @44 + cJSON_AddNumberToObject @45 + cJSON_AddObjectToObject @46 + cJSON_AddRawToObject @47 + cJSON_AddStringToObject @48 + cJSON_AddTrueToObject @49 + cJSON_Compare @50 + cJSON_CreateArray @51 + cJSON_CreateArrayReference @52 + cJSON_CreateBool @53 + cJSON_CreateDoubleArray @54 + cJSON_CreateFalse @55 + cJSON_CreateFloatArray @56 + cJSON_CreateIntArray @57 + cJSON_CreateNull @58 + cJSON_CreateNumber @59 + cJSON_CreateObject @60 + cJSON_CreateObjectReference @61 + cJSON_CreateRaw @62 + cJSON_CreateString @63 + cJSON_CreateStringArray @64 + cJSON_CreateStringReference @65 + cJSON_CreateTrue @66 + cJSON_Delete @67 + cJSON_DeleteItemFromArray @68 + cJSON_DeleteItemFromObject @69 + cJSON_DeleteItemFromObjectCaseSensitive @70 + cJSON_DetachItemFromArray @71 + cJSON_DetachItemFromObject @72 + cJSON_DetachItemFromObjectCaseSensitive @73 + cJSON_DetachItemViaPointer @74 + cJSON_Duplicate @75 + cJSON_GetArrayItem @76 + cJSON_GetArraySize @77 + cJSON_GetErrorPtr @78 + cJSON_GetNumberValue @79 + cJSON_GetObjectItem @80 + cJSON_GetObjectItemCaseSensitive @81 + cJSON_GetStringValue @82 + cJSON_HasObjectItem @83 + cJSON_InitHooks @84 + cJSON_InsertItemInArray @85 + cJSON_IsArray @86 + cJSON_IsBool @87 + cJSON_IsFalse @88 + cJSON_IsInvalid @89 + cJSON_IsNull @90 + cJSON_IsNumber @91 + cJSON_IsObject @92 + cJSON_IsRaw @93 + cJSON_IsString @94 + cJSON_IsTrue @95 + cJSON_Minify @96 + cJSON_Parse @97 + cJSON_ParseWithLength @98 + cJSON_ParseWithLengthOpts @99 + cJSON_ParseWithOpts @100 + cJSON_Print @101 + cJSON_PrintBuffered @102 + cJSON_PrintPreallocated @103 + cJSON_PrintUnformatted @104 + cJSON_ReplaceItemInArray @105 + cJSON_ReplaceItemInObject @106 + cJSON_ReplaceItemInObjectCaseSensitive @107 + cJSON_ReplaceItemViaPointer @108 + cJSON_SetNumberHelper @109 + cJSON_SetValuestring @110 + cJSON_Version @111 + cJSON_free @112 + cJSON_malloc @113 + cookie_use @114 DATA + date_strget @115 + debugmsgsave @116 DATA + debugmsgsave2 @117 DATA + debugmsgsave3 @118 DATA + dec2dmmm @119 + dec2dms @120 + distance_long_path @121 + dmmm2dec @122 + dms2dec @123 + dot10ths_to_millis @124 + dump_hex @125 + elapsed_ms @126 + flrig_cat_string @127 + from_bcd @128 + from_bcd_be @129 + get_rig_conf_type @130 + hamlib_copyright @131 DATA + hamlib_copyright2 @132 DATA + hamlib_version @133 DATA + hamlib_version2 @134 DATA + hl_usleep @135 + initamps4_dummy @136 + initamps4_gemini @137 + initamps4_kpa1500 @138 + initrigs4_adat @139 + initrigs4_alinco @140 + initrigs4_aor @141 + initrigs4_barrett @142 + initrigs4_codan @143 + initrigs4_dorji @144 + initrigs4_drake @145 + initrigs4_dummy @146 + initrigs4_elad @147 + initrigs4_flexradio @148 + initrigs4_gomspace @149 + initrigs4_icm710 @150 + initrigs4_icmarine @151 + initrigs4_icom @152 + initrigs4_jrc @153 + initrigs4_kachina @154 + initrigs4_kenwood @155 + initrigs4_kit @156 + initrigs4_lowe @157 + initrigs4_pcr @158 + initrigs4_prm80 @159 + initrigs4_racal @160 + initrigs4_rft @161 + initrigs4_rs @162 + initrigs4_skanti @163 + initrigs4_tapr @164 + initrigs4_tentec @165 + initrigs4_tuner @166 + initrigs4_uniden @167 + initrigs4_winradio @168 + initrigs4_wj @169 + initrigs4_yaesu @170 + initrots4_amsat @171 + initrots4_ars @172 + initrots4_celestron @173 + initrots4_cnctrk @174 + initrots4_dummy @175 + initrots4_easycomm @176 + initrots4_ether6 @177 + initrots4_fodtrack @178 + initrots4_grbltrk @179 + initrots4_gs232a @180 + initrots4_heathkit @181 + initrots4_ioptron @182 + initrots4_kit @183 + initrots4_m2 @184 + initrots4_meade @185 + initrots4_prosistel @186 + initrots4_radant @187 + initrots4_rotorez @188 + initrots4_sartek @189 + initrots4_satel @190 + initrots4_spid @191 + initrots4_ts7400 @192 + locator2longlat @193 + lock_mode @194 DATA + longlat2locator @195 + millis_to_dot10ths @196 + morse_code_dot_to_millis @197 + netrigctl_get_vfo_mode @198 + network_multicast_publisher_start @199 + network_multicast_publisher_stop @200 + par_lock @201 + par_read_control @202 + par_read_data @203 + par_read_status @204 + par_unlock @205 + par_write_control @206 + par_write_data @207 + parse_hoststr @208 + port_close @209 + port_open @210 + print_ext_param @211 + probeallrigs4_adat @212 + probeallrigs4_drake @213 + probeallrigs4_elad @214 + probeallrigs4_gomspace @215 + probeallrigs4_icom @216 + probeallrigs4_kenwood @217 + probeallrigs4_lowe @218 + probeallrigs4_uniden @219 + probeallrigs4_yaesu @220 + qrb @221 + read_block @222 + read_block_direct @223 + read_string @224 + read_string_direct @225 + rig_check_backend @226 + rig_check_cache_timeout @227 + rig_cleanup @228 + rig_close @229 + rig_confparam_lookup @230 + rig_cookie @231 + rig_copyright @232 + rig_debug @233 + rig_ext_func_foreach @234 + rig_ext_level_foreach @235 + rig_ext_lookup @236 + rig_ext_lookup_tok @237 + rig_ext_parm_foreach @238 + rig_ext_token_lookup @239 + rig_flush @240 + rig_force_cache_timeout @241 + rig_get_ant @242 + rig_get_cache @243 + rig_get_cache_timeout_ms @244 + rig_get_caps @245 + rig_get_caps_cptr @246 + rig_get_caps_int @247 + rig_get_chan_all @248 + rig_get_chan_all_cb @249 + rig_get_channel @250 + rig_get_clock @251 + rig_get_conf @252 + rig_get_conf2 @253 + rig_get_ctcss_sql @254 + rig_get_ctcss_tone @255 + rig_get_dcd @256 + rig_get_dcs_code @257 + rig_get_dcs_sql @258 + rig_get_ext_func @259 + rig_get_ext_level @260 + rig_get_ext_parm @261 + rig_get_freq @262 + rig_get_func @263 + rig_get_function_ptr @264 + rig_get_info @265 + rig_get_level @266 + rig_get_lock_mode @267 + rig_get_mem @268 + rig_get_mem_all @269 + rig_get_mem_all_cb @270 + rig_get_mode @271 + rig_get_parm @272 + rig_get_powerstat @273 + rig_get_ptt @274 + rig_get_range @275 + rig_get_resolution @276 + rig_get_rig_info @277 + rig_get_rit @278 + rig_get_rptr_offs @279 + rig_get_rptr_shift @280 + rig_get_split_freq @281 + rig_get_split_freq_mode @282 + rig_get_split_mode @283 + rig_get_split_vfo @284 + rig_get_trn @285 + rig_get_ts @286 + rig_get_twiddle @287 + rig_get_vfo @288 + rig_get_vfo_info @289 + rig_get_vfo_list @290 + rig_get_xit @291 + rig_has_get_func @292 + rig_has_get_level @293 + rig_has_get_parm @294 + rig_has_scan @295 + rig_has_set_func @296 + rig_has_set_level @297 + rig_has_set_parm @298 + rig_has_vfo_op @299 + rig_idx2setting @300 + rig_init @301 + rig_levelagcstr @302 + rig_levelagcvalue @303 + rig_license @304 + rig_list_foreach @305 + rig_list_foreach_model @306 + rig_load_all_backends @307 + rig_load_backend @308 + rig_lookup_mem_caps @309 + rig_mW2power @310 + rig_make_md5 @311 + rig_mem_count @312 + rig_need_debug @313 + rig_no_restore_ai @314 + rig_open @315 + rig_parse_func @316 + rig_parse_level @317 + rig_parse_mode @318 + rig_parse_mtype @319 + rig_parse_parm @320 + rig_parse_rptr_shift @321 + rig_parse_scan @322 + rig_parse_vfo @323 + rig_parse_vfo_op @324 + rig_passband_narrow @325 + rig_passband_normal @326 + rig_passband_wide @327 + rig_password @328 + rig_password_generate_secret @329 + rig_power2mW @330 + rig_powerstat @331 DATA + rig_probe @332 + rig_probe_all @333 + rig_raw2val @334 + rig_raw2val_float @335 + rig_recv_dtmf @336 + rig_register @337 + rig_reset @338 + rig_scan @339 + rig_send_dtmf @340 + rig_send_morse @341 + rig_send_raw @342 + rig_send_voice_mem @343 + rig_set_ant @344 + rig_set_bank @345 + rig_set_cache_timeout_ms @346 + rig_set_chan_all @347 + rig_set_chan_all_cb @348 + rig_set_channel @349 + rig_set_clock @350 + rig_set_conf @351 + rig_set_ctcss_sql @352 + rig_set_ctcss_tone @353 + rig_set_dcd_callback @354 + rig_set_dcs_code @355 + rig_set_dcs_sql @356 + rig_set_debug @357 + rig_set_debug_callback @358 + rig_set_debug_file @359 + rig_set_debug_time_stamp @360 + rig_set_ext_func @361 + rig_set_ext_level @362 + rig_set_ext_parm @363 + rig_set_freq @364 + rig_set_freq_callback @365 + rig_set_func @366 + rig_set_level @367 + rig_set_lock_mode @368 + rig_set_mem @369 + rig_set_mem_all @370 + rig_set_mem_all_cb @371 + rig_set_mode @372 + rig_set_mode_callback @373 + rig_set_parm @374 + rig_set_pltune_callback @375 + rig_set_powerstat @376 + rig_set_ptt @377 + rig_set_ptt_callback @378 + rig_set_rit @379 + rig_set_rptr_offs @380 + rig_set_rptr_shift @381 + rig_set_spectrum_callback @382 + rig_set_split_freq @383 + rig_set_split_freq_mode @384 + rig_set_split_mode @385 + rig_set_split_vfo @386 + rig_set_trn @387 + rig_set_ts @388 + rig_set_twiddle @389 + rig_set_uplink @390 + rig_set_vfo @391 + rig_set_vfo_callback @392 + rig_set_vfo_opt @393 + rig_set_xit @394 + rig_setting2idx @395 + rig_settings_get_path @396 + rig_settings_load @397 + rig_settings_load_all @398 + rig_settings_save @399 + rig_sprintf_ant @400 + rig_sprintf_func @401 + rig_sprintf_level @402 + rig_sprintf_level_gran @403 + rig_sprintf_mode @404 + rig_sprintf_parm @405 + rig_sprintf_parm_gran @406 + rig_sprintf_scan @407 + rig_sprintf_spectrum_avg_modes @408 + rig_sprintf_spectrum_modes @409 + rig_sprintf_spectrum_spans @410 + rig_sprintf_vfo @411 + rig_sprintf_vfop @412 + rig_stop_morse @413 + rig_stragclevel @414 + rig_strfunc @415 + rig_strlevel @416 + rig_strmtype @417 + rig_strparm @418 + rig_strptrshift @419 + rig_strrmode @420 + rig_strrmodes @421 + rig_strscan @422 + rig_strspectrummode @423 + rig_strstatus @424 + rig_strvfo @425 + rig_strvfop @426 + rig_token_foreach @427 + rig_token_lookup @428 + rig_unregister @429 + rig_valueagclevel @430 + rig_version @431 + rig_vfo_op @432 + rig_wait_morse @433 + rigerror @434 + rigerror2 @435 + rot_check_backend @436 + rot_cleanup @437 + rot_close @438 + rot_confparam_lookup @439 + rot_ext_func_foreach @440 + rot_ext_level_foreach @441 + rot_ext_lookup @442 + rot_ext_lookup_tok @443 + rot_ext_parm_foreach @444 + rot_ext_token_lookup @445 + rot_get_caps @446 + rot_get_conf @447 + rot_get_conf2 @448 + rot_get_ext_func @449 + rot_get_ext_level @450 + rot_get_ext_parm @451 + rot_get_func @452 + rot_get_info @453 + rot_get_level @454 + rot_get_parm @455 + rot_get_position @456 + rot_get_status @457 + rot_has_get_func @458 + rot_has_get_level @459 + rot_has_get_parm @460 + rot_has_set_func @461 + rot_has_set_level @462 + rot_has_set_parm @463 + rot_init @464 + rot_list_foreach @465 + rot_load_all_backends @466 + rot_load_backend @467 + rot_move @468 + rot_open @469 + rot_park @470 + rot_parse_func @471 + rot_parse_level @472 + rot_parse_parm @473 + rot_probe_all @474 + rot_register @475 + rot_reset @476 + rot_set_conf @477 + rot_set_ext_func @478 + rot_set_ext_level @479 + rot_set_ext_parm @480 + rot_set_func @481 + rot_set_level @482 + rot_set_parm @483 + rot_set_position @484 + rot_sprintf_func @485 + rot_sprintf_level @486 + rot_sprintf_level_gran @487 + rot_sprintf_parm @488 + rot_sprintf_parm_gran @489 + rot_sprintf_status @490 + rot_stop @491 + rot_strfunc @492 + rot_strlevel @493 + rot_strparm @494 + rot_strstatus @495 + rot_token_foreach @496 + rot_token_lookup @497 + rot_unregister @498 + ser_get_car @499 + ser_get_cts @500 + ser_get_dsr @501 + ser_get_dtr @502 + ser_get_rts @503 + ser_set_brk @504 + ser_set_dtr @505 + ser_set_rts @506 + serial_flush @507 + serial_open @508 + serial_setup @509 + spaces @510 + sprintf_freq @511 + sprintf_level_ext @512 + sync_callback @513 + to_bcd @514 + to_bcd_be @515 + to_hex @516 + vfo_fixup @517 + vfo_fixup2a @518 + write_block @519 + write_block_sync @520 + write_block_sync_error @521 + +IMPORTS + + libusb-1.0.dll.active_contexts_list + libusb-1.0.dll.active_contexts_lock + libusb-1.0.dll.discovered_devs_append + libusb-1.0.dll.htab_hash + libusb-1.0.dll.libusb_alloc_streams + libusb-1.0.dll.libusb_alloc_transfer + libusb-1.0.dll.libusb_attach_kernel_driver + libusb-1.0.dll.libusb_bulk_transfer + libusb-1.0.dll.libusb_cancel_transfer + libusb-1.0.dll.libusb_claim_interface + libusb-1.0.dll.libusb_clear_halt + libusb-1.0.dll.libusb_close + libusb-1.0.dll.libusb_control_transfer + libusb-1.0.dll.libusb_detach_kernel_driver + libusb-1.0.dll.libusb_dev_mem_alloc + libusb-1.0.dll.libusb_dev_mem_free + libusb-1.0.dll.libusb_error_name + libusb-1.0.dll.libusb_event_handler_active + libusb-1.0.dll.libusb_event_handling_ok + libusb-1.0.dll.libusb_exit + libusb-1.0.dll.libusb_free_bos_descriptor + libusb-1.0.dll.libusb_free_config_descriptor + libusb-1.0.dll.libusb_free_container_id_descriptor + libusb-1.0.dll.libusb_free_device_list + libusb-1.0.dll.libusb_free_pollfds + libusb-1.0.dll.libusb_free_ss_endpoint_companion_descriptor + libusb-1.0.dll.libusb_free_ss_usb_device_capability_descriptor + libusb-1.0.dll.libusb_free_streams + libusb-1.0.dll.libusb_free_transfer + libusb-1.0.dll.libusb_free_usb_2_0_extension_descriptor + libusb-1.0.dll.libusb_get_active_config_descriptor + libusb-1.0.dll.libusb_get_bos_descriptor + libusb-1.0.dll.libusb_get_bus_number + libusb-1.0.dll.libusb_get_config_descriptor + libusb-1.0.dll.libusb_get_config_descriptor_by_value + libusb-1.0.dll.libusb_get_configuration + libusb-1.0.dll.libusb_get_container_id_descriptor + libusb-1.0.dll.libusb_get_device + libusb-1.0.dll.libusb_get_device_address + libusb-1.0.dll.libusb_get_device_descriptor + libusb-1.0.dll.libusb_get_device_list + libusb-1.0.dll.libusb_get_device_speed + libusb-1.0.dll.libusb_get_max_iso_packet_size + libusb-1.0.dll.libusb_get_max_packet_size + libusb-1.0.dll.libusb_get_next_timeout + libusb-1.0.dll.libusb_get_parent + libusb-1.0.dll.libusb_get_pollfds + libusb-1.0.dll.libusb_get_port_number + libusb-1.0.dll.libusb_get_port_numbers + libusb-1.0.dll.libusb_get_port_path + libusb-1.0.dll.libusb_get_ss_endpoint_companion_descriptor + libusb-1.0.dll.libusb_get_ss_usb_device_capability_descriptor + libusb-1.0.dll.libusb_get_string_descriptor_ascii + libusb-1.0.dll.libusb_get_usb_2_0_extension_descriptor + libusb-1.0.dll.libusb_get_version + libusb-1.0.dll.libusb_handle_events + libusb-1.0.dll.libusb_handle_events_completed + libusb-1.0.dll.libusb_handle_events_locked + libusb-1.0.dll.libusb_handle_events_timeout + libusb-1.0.dll.libusb_handle_events_timeout_completed + libusb-1.0.dll.libusb_has_capability + libusb-1.0.dll.libusb_hotplug_deregister_callback + libusb-1.0.dll.libusb_hotplug_get_user_data + libusb-1.0.dll.libusb_hotplug_register_callback + libusb-1.0.dll.libusb_init + libusb-1.0.dll.libusb_interrupt_event_handler + libusb-1.0.dll.libusb_interrupt_transfer + libusb-1.0.dll.libusb_kernel_driver_active + libusb-1.0.dll.libusb_lock_event_waiters + libusb-1.0.dll.libusb_lock_events + libusb-1.0.dll.libusb_open + libusb-1.0.dll.libusb_open_device_with_vid_pid + libusb-1.0.dll.libusb_pollfds_handle_timeouts + libusb-1.0.dll.libusb_ref_device + libusb-1.0.dll.libusb_release_interface + libusb-1.0.dll.libusb_reset_device + libusb-1.0.dll.libusb_set_auto_detach_kernel_driver + libusb-1.0.dll.libusb_set_configuration + libusb-1.0.dll.libusb_set_debug + libusb-1.0.dll.libusb_set_interface_alt_setting + libusb-1.0.dll.libusb_set_log_cb + libusb-1.0.dll.libusb_set_option + libusb-1.0.dll.libusb_set_pollfd_notifiers + libusb-1.0.dll.libusb_setlocale + libusb-1.0.dll.libusb_strerror + libusb-1.0.dll.libusb_submit_transfer + libusb-1.0.dll.libusb_transfer_get_stream_id + libusb-1.0.dll.libusb_transfer_set_stream_id + libusb-1.0.dll.libusb_try_lock_events + libusb-1.0.dll.libusb_unlock_event_waiters + libusb-1.0.dll.libusb_unlock_events + libusb-1.0.dll.libusb_unref_device + libusb-1.0.dll.libusb_wait_for_event + libusb-1.0.dll.libusb_wrap_sys_device + libusb-1.0.dll.load_system_library + libusb-1.0.dll.usb_api_backend + libusb-1.0.dll.usbd_status_to_libusb_transfer_status + libusb-1.0.dll.usbdk_backend + libusb-1.0.dll.usbi_add_event_source + libusb-1.0.dll.usbi_alloc_device + libusb-1.0.dll.usbi_alloc_event_data + libusb-1.0.dll.usbi_arm_timer + libusb-1.0.dll.usbi_backend + libusb-1.0.dll.usbi_clear_event + libusb-1.0.dll.usbi_cond_timedwait + libusb-1.0.dll.usbi_connect_device + libusb-1.0.dll.usbi_create_event + libusb-1.0.dll.usbi_create_timer + libusb-1.0.dll.usbi_default_context + libusb-1.0.dll.usbi_destroy_event + libusb-1.0.dll.usbi_destroy_timer + libusb-1.0.dll.usbi_disarm_timer + libusb-1.0.dll.usbi_disconnect_device + libusb-1.0.dll.usbi_fallback_context + libusb-1.0.dll.usbi_get_device_by_session_id + libusb-1.0.dll.usbi_get_monotonic_time + libusb-1.0.dll.usbi_handle_disconnect + libusb-1.0.dll.usbi_handle_transfer_cancellation + libusb-1.0.dll.usbi_handle_transfer_completion + libusb-1.0.dll.usbi_hotplug_exit + libusb-1.0.dll.usbi_hotplug_init + libusb-1.0.dll.usbi_hotplug_notification + libusb-1.0.dll.usbi_hotplug_process + libusb-1.0.dll.usbi_io_exit + libusb-1.0.dll.usbi_io_init + libusb-1.0.dll.usbi_log + libusb-1.0.dll.usbi_remove_event_source + libusb-1.0.dll.usbi_sanitize_device + libusb-1.0.dll.usbi_signal_event + libusb-1.0.dll.usbi_signal_transfer_completion + libusb-1.0.dll.usbi_wait_for_events + libusb-1.0.dll.windows_error_str + libusb-1.0.dll.windows_force_sync_completion + libusb-1.0.dll.windows_version + libusb-1.0.dll.winusb_backend diff --git a/scripts/MSVC/2022/x64/hamlibTest/makelib.bat b/scripts/MSVC/2022/x64/hamlibTest/makelib.bat new file mode 100644 index 000000000..1ebc32bd8 --- /dev/null +++ b/scripts/MSVC/2022/x64/hamlibTest/makelib.bat @@ -0,0 +1 @@ +lib /DEF:libhamlib-4.def /MACHINE:X64 \ No newline at end of file diff --git a/scripts/MSVC/2022/x64/hamlibTest/packages.config b/scripts/MSVC/2022/x64/hamlibTest/packages.config new file mode 100644 index 000000000..77c2d3e4d --- /dev/null +++ b/scripts/MSVC/2022/x64/hamlibTest/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/scripts/MSVC/2022/x64/hamlibTest/small.ico b/scripts/MSVC/2022/x64/hamlibTest/small.ico new file mode 100644 index 000000000..b3ec03bd6 Binary files /dev/null and b/scripts/MSVC/2022/x64/hamlibTest/small.ico differ diff --git a/scripts/MSVC/2022/x64/hamlibTest/targetver.h b/scripts/MSVC/2022/x64/hamlibTest/targetver.h new file mode 100644 index 000000000..746516742 --- /dev/null +++ b/scripts/MSVC/2022/x64/hamlibTest/targetver.h @@ -0,0 +1,6 @@ +#pragma once + +// // Including SDKDDKVer.h defines the highest available Windows platform. +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. +#include diff --git a/scripts/MSVC/2022/x86/hamlibTest/README.txt b/scripts/MSVC/2022/x86/hamlibTest/README.txt new file mode 100644 index 000000000..fd7459e7f --- /dev/null +++ b/scripts/MSVC/2022/x86/hamlibTest/README.txt @@ -0,0 +1,3 @@ +To get the pthread package from Developer command prompt. +nuget restore hamlibTest.vcxproj -PackagesDirectory packages + diff --git a/scripts/MSVC/2022/x86/hamlibTest/Resource.h b/scripts/MSVC/2022/x86/hamlibTest/Resource.h new file mode 100644 index 000000000..47c4c6cea --- /dev/null +++ b/scripts/MSVC/2022/x86/hamlibTest/Resource.h @@ -0,0 +1,30 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by hamlibTest.rc + +#define IDS_APP_TITLE 103 + +#define IDR_MAINFRAME 128 +#define IDD_HAMLIBTEST_DIALOG 102 +#define IDD_ABOUTBOX 103 +#define IDM_ABOUT 104 +#define IDM_EXIT 105 +#define IDI_HAMLIBTEST 107 +#define IDI_SMALL 108 +#define IDC_HAMLIBTEST 109 +#define IDC_MYICON 2 +#ifndef IDC_STATIC +#define IDC_STATIC -1 +#endif +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS + +#define _APS_NO_MFC 130 +#define _APS_NEXT_RESOURCE_VALUE 129 +#define _APS_NEXT_COMMAND_VALUE 32771 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 110 +#endif +#endif diff --git a/scripts/MSVC/2022/x86/hamlibTest/framework.h b/scripts/MSVC/2022/x86/hamlibTest/framework.h new file mode 100644 index 000000000..7d94bc44f --- /dev/null +++ b/scripts/MSVC/2022/x86/hamlibTest/framework.h @@ -0,0 +1,15 @@ +// header.h : include file for standard system include files, +// or project specific include files +// + +#pragma once + +#include "targetver.h" +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers +// Windows Header Files +#include +// C RunTime Header Files +#include +#include +#include +#include diff --git a/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.cpp b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.cpp new file mode 100644 index 000000000..05040b58f --- /dev/null +++ b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.cpp @@ -0,0 +1,187 @@ +// hamlibTest.cpp : Defines the entry point for the application. +// Note that the MSVC build requires the pthread package as of Sep 2022 + +#include "framework.h" +#include "hamlibTest.h" + +#include "hamlib\rig.h" +#include "hamlib\rotator.h" + + +#define MAX_LOADSTRING 100 + +// Global Variables: +HINSTANCE hInst; // current instance +WCHAR szTitle[MAX_LOADSTRING]; // The title bar text +WCHAR szWindowClass[MAX_LOADSTRING]; // the main window class name + +// Forward declarations of functions included in this code module: +ATOM MyRegisterClass(HINSTANCE hInstance); +BOOL InitInstance(HINSTANCE, int); +LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); +INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM); + +int APIENTRY wWinMain(_In_ HINSTANCE hInstance, + _In_opt_ HINSTANCE hPrevInstance, + _In_ LPWSTR lpCmdLine, + _In_ int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // TODO: Place code here. + + // Initialize global strings + LoadStringW(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); + LoadStringW(hInstance, IDC_HAMLIBTEST, szWindowClass, MAX_LOADSTRING); + MyRegisterClass(hInstance); + + // Perform application initialization: + if (!InitInstance (hInstance, nCmdShow)) + { + return FALSE; + } + + RIG* myRig = rig_init(RIG_MODEL_DUMMY); + ROT* myRot = rot_init(ROT_MODEL_DUMMY); + + HACCEL hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_HAMLIBTEST)); + + MSG msg; + + // Main message loop: + while (GetMessage(&msg, nullptr, 0, 0)) + { + if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) + { + TranslateMessage(&msg); + DispatchMessage(&msg); + } + } + + return (int) msg.wParam; +} + + + +// +// FUNCTION: MyRegisterClass() +// +// PURPOSE: Registers the window class. +// +ATOM MyRegisterClass(HINSTANCE hInstance) +{ + WNDCLASSEXW wcex; + + wcex.cbSize = sizeof(WNDCLASSEX); + + wcex.style = CS_HREDRAW | CS_VREDRAW; + wcex.lpfnWndProc = WndProc; + wcex.cbClsExtra = 0; + wcex.cbWndExtra = 0; + wcex.hInstance = hInstance; + wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_HAMLIBTEST)); + wcex.hCursor = LoadCursor(nullptr, IDC_ARROW); + wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); + wcex.lpszMenuName = MAKEINTRESOURCEW(IDC_HAMLIBTEST); + wcex.lpszClassName = szWindowClass; + wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL)); + + return RegisterClassExW(&wcex); +} + +// +// FUNCTION: InitInstance(HINSTANCE, int) +// +// PURPOSE: Saves instance handle and creates main window +// +// COMMENTS: +// +// In this function, we save the instance handle in a global variable and +// create and display the main program window. +// +BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) +{ + hInst = hInstance; // Store instance handle in our global variable + + HWND hWnd = CreateWindowW(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, + CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, nullptr, nullptr, hInstance, nullptr); + + if (!hWnd) + { + return FALSE; + } + + ShowWindow(hWnd, nCmdShow); + UpdateWindow(hWnd); + + return TRUE; +} + +// +// FUNCTION: WndProc(HWND, UINT, WPARAM, LPARAM) +// +// PURPOSE: Processes messages for the main window. +// +// WM_COMMAND - process the application menu +// WM_PAINT - Paint the main window +// WM_DESTROY - post a quit message and return +// +// +LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) +{ + switch (message) + { + case WM_COMMAND: + { + int wmId = LOWORD(wParam); + // Parse the menu selections: + switch (wmId) + { + case IDM_ABOUT: + DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About); + break; + case IDM_EXIT: + DestroyWindow(hWnd); + break; + default: + return DefWindowProc(hWnd, message, wParam, lParam); + } + } + break; + case WM_PAINT: + { + PAINTSTRUCT ps; + HDC hdc = BeginPaint(hWnd, &ps); + // TODO: Add any drawing code that uses hdc here... + EndPaint(hWnd, &ps); + } + break; + case WM_DESTROY: + PostQuitMessage(0); + break; + default: + return DefWindowProc(hWnd, message, wParam, lParam); + } + return 0; +} + +// Message handler for about box. +INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) +{ + UNREFERENCED_PARAMETER(lParam); + switch (message) + { + case WM_INITDIALOG: + return (INT_PTR)TRUE; + + case WM_COMMAND: + if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) + { + EndDialog(hDlg, LOWORD(wParam)); + return (INT_PTR)TRUE; + } + break; + } + return (INT_PTR)FALSE; +} diff --git a/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.h b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.h new file mode 100644 index 000000000..e60f2eb7e --- /dev/null +++ b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.h @@ -0,0 +1,3 @@ +#pragma once + +#include "resource.h" diff --git a/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.ico b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.ico new file mode 100644 index 000000000..b3ec03bd6 Binary files /dev/null and b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.ico differ diff --git a/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.rc b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.rc new file mode 100644 index 000000000..60aee1985 Binary files /dev/null and b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.rc differ diff --git a/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.sln b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.sln new file mode 100644 index 000000000..f28d117e3 --- /dev/null +++ b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.sln @@ -0,0 +1,36 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32825.248 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hamlibTest", "hamlibTest.vcxproj", "{D6A9E0F7-CE30-4255-860C-BABEC8360F24}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8A537F0A-CF7B-463F-A3E1-F4C321A3978F}" + ProjectSection(SolutionItems) = preProject + .github\workflows\build-bba40.yaml = .github\workflows\build-bba40.yaml + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Debug|x64.ActiveCfg = Debug|x64 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Debug|x64.Build.0 = Debug|x64 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Debug|x86.ActiveCfg = Debug|Win32 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Debug|x86.Build.0 = Debug|Win32 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Release|x64.ActiveCfg = Release|x64 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Release|x64.Build.0 = Release|x64 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Release|x86.ActiveCfg = Release|Win32 + {D6A9E0F7-CE30-4255-860C-BABEC8360F24}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2846179C-7E5E-44DC-829D-C74586FD113C} + EndGlobalSection +EndGlobal diff --git a/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.vcxproj b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.vcxproj new file mode 100644 index 000000000..2e64e374e --- /dev/null +++ b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.vcxproj @@ -0,0 +1,177 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {d6a9e0f7-ce30-4255-860c-babec8360f24} + hamlibTest + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + false + + + true + + + false + + + + Level3 + true + WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + C:\projects\hamlib-w32-4.5\include + + + Windows + true + C:\Projects\hamlib-w32-4.5\lib\msvc + libhamlib-4.lib;%(AdditionalDependencies) + + + + + Level3 + true + true + true + WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + + + Windows + true + true + true + + + + + Level3 + true + _DEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + C:\Projects\hamlib-w32-4.5\include;%(AdditionalIncludeDirectories) + + + Windows + true + + + + + Level3 + true + true + true + NDEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + + + Windows + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.vcxproj.user b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.vcxproj.user new file mode 100644 index 000000000..0f14913f3 --- /dev/null +++ b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/scripts/MSVC/2022/x86/hamlibTest/hamlibTest2.cpp b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest2.cpp new file mode 100644 index 000000000..fa1733c1c --- /dev/null +++ b/scripts/MSVC/2022/x86/hamlibTest/hamlibTest2.cpp @@ -0,0 +1,7 @@ +// Test including rig.h in a 2nd file +#include + +int testinclude() +{ + return 0; +} \ No newline at end of file diff --git a/scripts/MSVC/2022/x86/hamlibTest/libhamlib-4.lib b/scripts/MSVC/2022/x86/hamlibTest/libhamlib-4.lib new file mode 100644 index 000000000..818ffc794 Binary files /dev/null and b/scripts/MSVC/2022/x86/hamlibTest/libhamlib-4.lib differ diff --git a/scripts/MSVC/2022/x86/hamlibTest/libhamlib.def b/scripts/MSVC/2022/x86/hamlibTest/libhamlib.def new file mode 100644 index 000000000..21aaf1cee --- /dev/null +++ b/scripts/MSVC/2022/x86/hamlibTest/libhamlib.def @@ -0,0 +1,660 @@ +EXPORTS + CRC32_function @1 + add2debugmsgsave @2 + amp_check_backend @3 + amp_cleanup @4 + amp_close @5 + amp_confparam_lookup @6 + amp_ext_lookup @7 + amp_get_caps @8 + amp_get_conf @9 + amp_get_ext_level @10 + amp_get_freq @11 + amp_get_info @12 + amp_get_level @13 + amp_get_powerstat @14 + amp_has_get_level @15 + amp_has_set_level @16 + amp_init @17 + amp_list_foreach @18 + amp_load_all_backends @19 + amp_load_backend @20 + amp_open @21 + amp_parse_level @22 + amp_probe_all @23 + amp_register @24 + amp_reset @25 + amp_set_conf @26 + amp_set_ext_level @27 + amp_set_freq @28 + amp_set_level @29 + amp_set_powerstat @30 + amp_sprintf_level @31 + amp_strlevel @32 + amp_token_lookup @33 + amp_unregister @34 + azimuth_long_path @35 + cJSON_AddArrayToObject @36 + cJSON_AddBoolToObject @37 + cJSON_AddFalseToObject @38 + cJSON_AddItemReferenceToArray @39 + cJSON_AddItemReferenceToObject @40 + cJSON_AddItemToArray @41 + cJSON_AddItemToObject @42 + cJSON_AddItemToObjectCS @43 + cJSON_AddNullToObject @44 + cJSON_AddNumberToObject @45 + cJSON_AddObjectToObject @46 + cJSON_AddRawToObject @47 + cJSON_AddStringToObject @48 + cJSON_AddTrueToObject @49 + cJSON_Compare @50 + cJSON_CreateArray @51 + cJSON_CreateArrayReference @52 + cJSON_CreateBool @53 + cJSON_CreateDoubleArray @54 + cJSON_CreateFalse @55 + cJSON_CreateFloatArray @56 + cJSON_CreateIntArray @57 + cJSON_CreateNull @58 + cJSON_CreateNumber @59 + cJSON_CreateObject @60 + cJSON_CreateObjectReference @61 + cJSON_CreateRaw @62 + cJSON_CreateString @63 + cJSON_CreateStringArray @64 + cJSON_CreateStringReference @65 + cJSON_CreateTrue @66 + cJSON_Delete @67 + cJSON_DeleteItemFromArray @68 + cJSON_DeleteItemFromObject @69 + cJSON_DeleteItemFromObjectCaseSensitive @70 + cJSON_DetachItemFromArray @71 + cJSON_DetachItemFromObject @72 + cJSON_DetachItemFromObjectCaseSensitive @73 + cJSON_DetachItemViaPointer @74 + cJSON_Duplicate @75 + cJSON_GetArrayItem @76 + cJSON_GetArraySize @77 + cJSON_GetErrorPtr @78 + cJSON_GetNumberValue @79 + cJSON_GetObjectItem @80 + cJSON_GetObjectItemCaseSensitive @81 + cJSON_GetStringValue @82 + cJSON_HasObjectItem @83 + cJSON_InitHooks @84 + cJSON_InsertItemInArray @85 + cJSON_IsArray @86 + cJSON_IsBool @87 + cJSON_IsFalse @88 + cJSON_IsInvalid @89 + cJSON_IsNull @90 + cJSON_IsNumber @91 + cJSON_IsObject @92 + cJSON_IsRaw @93 + cJSON_IsString @94 + cJSON_IsTrue @95 + cJSON_Minify @96 + cJSON_Parse @97 + cJSON_ParseWithLength @98 + cJSON_ParseWithLengthOpts @99 + cJSON_ParseWithOpts @100 + cJSON_Print @101 + cJSON_PrintBuffered @102 + cJSON_PrintPreallocated @103 + cJSON_PrintUnformatted @104 + cJSON_ReplaceItemInArray @105 + cJSON_ReplaceItemInObject @106 + cJSON_ReplaceItemInObjectCaseSensitive @107 + cJSON_ReplaceItemViaPointer @108 + cJSON_SetNumberHelper @109 + cJSON_SetValuestring @110 + cJSON_Version @111 + cJSON_free @112 + cJSON_malloc @113 + cookie_use @114 DATA + date_strget @115 + debugmsgsave @116 DATA + debugmsgsave2 @117 DATA + debugmsgsave3 @118 DATA + dec2dmmm @119 + dec2dms @120 + distance_long_path @121 + dmmm2dec @122 + dms2dec @123 + dot10ths_to_millis @124 + dump_hex @125 + elapsed_ms @126 + flrig_cat_string @127 + from_bcd @128 + from_bcd_be @129 + get_rig_conf_type @130 + hamlib_copyright @131 DATA + hamlib_copyright2 @132 DATA + hamlib_version @133 DATA + hamlib_version2 @134 DATA + hl_usleep @135 + initamps4_dummy @136 + initamps4_gemini @137 + initamps4_kpa1500 @138 + initrigs4_adat @139 + initrigs4_alinco @140 + initrigs4_aor @141 + initrigs4_barrett @142 + initrigs4_codan @143 + initrigs4_dorji @144 + initrigs4_drake @145 + initrigs4_dummy @146 + initrigs4_elad @147 + initrigs4_flexradio @148 + initrigs4_gomspace @149 + initrigs4_icm710 @150 + initrigs4_icmarine @151 + initrigs4_icom @152 + initrigs4_jrc @153 + initrigs4_kachina @154 + initrigs4_kenwood @155 + initrigs4_kit @156 + initrigs4_lowe @157 + initrigs4_pcr @158 + initrigs4_prm80 @159 + initrigs4_racal @160 + initrigs4_rft @161 + initrigs4_rs @162 + initrigs4_skanti @163 + initrigs4_tapr @164 + initrigs4_tentec @165 + initrigs4_tuner @166 + initrigs4_uniden @167 + initrigs4_winradio @168 + initrigs4_wj @169 + initrigs4_yaesu @170 + initrots4_amsat @171 + initrots4_ars @172 + initrots4_celestron @173 + initrots4_cnctrk @174 + initrots4_dummy @175 + initrots4_easycomm @176 + initrots4_ether6 @177 + initrots4_fodtrack @178 + initrots4_grbltrk @179 + initrots4_gs232a @180 + initrots4_heathkit @181 + initrots4_ioptron @182 + initrots4_kit @183 + initrots4_m2 @184 + initrots4_meade @185 + initrots4_prosistel @186 + initrots4_radant @187 + initrots4_rotorez @188 + initrots4_sartek @189 + initrots4_satel @190 + initrots4_spid @191 + initrots4_ts7400 @192 + locator2longlat @193 + lock_mode @194 DATA + longlat2locator @195 + millis_to_dot10ths @196 + morse_code_dot_to_millis @197 + netrigctl_get_vfo_mode @198 + network_multicast_publisher_start @199 + network_multicast_publisher_stop @200 + par_lock @201 + par_read_control @202 + par_read_data @203 + par_read_status @204 + par_unlock @205 + par_write_control @206 + par_write_data @207 + parse_hoststr @208 + port_close @209 + port_open @210 + print_ext_param @211 + probeallrigs4_adat @212 + probeallrigs4_drake @213 + probeallrigs4_elad @214 + probeallrigs4_gomspace @215 + probeallrigs4_icom @216 + probeallrigs4_kenwood @217 + probeallrigs4_lowe @218 + probeallrigs4_uniden @219 + probeallrigs4_yaesu @220 + qrb @221 + read_block @222 + read_block_direct @223 + read_string @224 + read_string_direct @225 + rig_check_backend @226 + rig_check_cache_timeout @227 + rig_cleanup @228 + rig_close @229 + rig_confparam_lookup @230 + rig_cookie @231 + rig_copyright @232 + rig_debug @233 + rig_ext_func_foreach @234 + rig_ext_level_foreach @235 + rig_ext_lookup @236 + rig_ext_lookup_tok @237 + rig_ext_parm_foreach @238 + rig_ext_token_lookup @239 + rig_flush @240 + rig_force_cache_timeout @241 + rig_get_ant @242 + rig_get_cache @243 + rig_get_cache_timeout_ms @244 + rig_get_caps @245 + rig_get_caps_cptr @246 + rig_get_caps_int @247 + rig_get_chan_all @248 + rig_get_chan_all_cb @249 + rig_get_channel @250 + rig_get_clock @251 + rig_get_conf @252 + rig_get_conf2 @253 + rig_get_ctcss_sql @254 + rig_get_ctcss_tone @255 + rig_get_dcd @256 + rig_get_dcs_code @257 + rig_get_dcs_sql @258 + rig_get_ext_func @259 + rig_get_ext_level @260 + rig_get_ext_parm @261 + rig_get_freq @262 + rig_get_func @263 + rig_get_function_ptr @264 + rig_get_info @265 + rig_get_level @266 + rig_get_lock_mode @267 + rig_get_mem @268 + rig_get_mem_all @269 + rig_get_mem_all_cb @270 + rig_get_mode @271 + rig_get_parm @272 + rig_get_powerstat @273 + rig_get_ptt @274 + rig_get_range @275 + rig_get_resolution @276 + rig_get_rig_info @277 + rig_get_rit @278 + rig_get_rptr_offs @279 + rig_get_rptr_shift @280 + rig_get_split_freq @281 + rig_get_split_freq_mode @282 + rig_get_split_mode @283 + rig_get_split_vfo @284 + rig_get_trn @285 + rig_get_ts @286 + rig_get_twiddle @287 + rig_get_vfo @288 + rig_get_vfo_info @289 + rig_get_vfo_list @290 + rig_get_xit @291 + rig_has_get_func @292 + rig_has_get_level @293 + rig_has_get_parm @294 + rig_has_scan @295 + rig_has_set_func @296 + rig_has_set_level @297 + rig_has_set_parm @298 + rig_has_vfo_op @299 + rig_idx2setting @300 + rig_init @301 + rig_levelagcstr @302 + rig_levelagcvalue @303 + rig_license @304 + rig_list_foreach @305 + rig_list_foreach_model @306 + rig_load_all_backends @307 + rig_load_backend @308 + rig_lookup_mem_caps @309 + rig_mW2power @310 + rig_make_md5 @311 + rig_mem_count @312 + rig_need_debug @313 + rig_no_restore_ai @314 + rig_open @315 + rig_parse_func @316 + rig_parse_level @317 + rig_parse_mode @318 + rig_parse_mtype @319 + rig_parse_parm @320 + rig_parse_rptr_shift @321 + rig_parse_scan @322 + rig_parse_vfo @323 + rig_parse_vfo_op @324 + rig_passband_narrow @325 + rig_passband_normal @326 + rig_passband_wide @327 + rig_password @328 + rig_password_generate_secret @329 + rig_power2mW @330 + rig_powerstat @331 DATA + rig_probe @332 + rig_probe_all @333 + rig_raw2val @334 + rig_raw2val_float @335 + rig_recv_dtmf @336 + rig_register @337 + rig_reset @338 + rig_scan @339 + rig_send_dtmf @340 + rig_send_morse @341 + rig_send_raw @342 + rig_send_voice_mem @343 + rig_set_ant @344 + rig_set_bank @345 + rig_set_cache_timeout_ms @346 + rig_set_chan_all @347 + rig_set_chan_all_cb @348 + rig_set_channel @349 + rig_set_clock @350 + rig_set_conf @351 + rig_set_ctcss_sql @352 + rig_set_ctcss_tone @353 + rig_set_dcd_callback @354 + rig_set_dcs_code @355 + rig_set_dcs_sql @356 + rig_set_debug @357 + rig_set_debug_callback @358 + rig_set_debug_file @359 + rig_set_debug_time_stamp @360 + rig_set_ext_func @361 + rig_set_ext_level @362 + rig_set_ext_parm @363 + rig_set_freq @364 + rig_set_freq_callback @365 + rig_set_func @366 + rig_set_level @367 + rig_set_lock_mode @368 + rig_set_mem @369 + rig_set_mem_all @370 + rig_set_mem_all_cb @371 + rig_set_mode @372 + rig_set_mode_callback @373 + rig_set_parm @374 + rig_set_pltune_callback @375 + rig_set_powerstat @376 + rig_set_ptt @377 + rig_set_ptt_callback @378 + rig_set_rit @379 + rig_set_rptr_offs @380 + rig_set_rptr_shift @381 + rig_set_spectrum_callback @382 + rig_set_split_freq @383 + rig_set_split_freq_mode @384 + rig_set_split_mode @385 + rig_set_split_vfo @386 + rig_set_trn @387 + rig_set_ts @388 + rig_set_twiddle @389 + rig_set_uplink @390 + rig_set_vfo @391 + rig_set_vfo_callback @392 + rig_set_vfo_opt @393 + rig_set_xit @394 + rig_setting2idx @395 + rig_settings_get_path @396 + rig_settings_load @397 + rig_settings_load_all @398 + rig_settings_save @399 + rig_sprintf_ant @400 + rig_sprintf_func @401 + rig_sprintf_level @402 + rig_sprintf_level_gran @403 + rig_sprintf_mode @404 + rig_sprintf_parm @405 + rig_sprintf_parm_gran @406 + rig_sprintf_scan @407 + rig_sprintf_spectrum_avg_modes @408 + rig_sprintf_spectrum_modes @409 + rig_sprintf_spectrum_spans @410 + rig_sprintf_vfo @411 + rig_sprintf_vfop @412 + rig_stop_morse @413 + rig_stragclevel @414 + rig_strfunc @415 + rig_strlevel @416 + rig_strmtype @417 + rig_strparm @418 + rig_strptrshift @419 + rig_strrmode @420 + rig_strrmodes @421 + rig_strscan @422 + rig_strspectrummode @423 + rig_strstatus @424 + rig_strvfo @425 + rig_strvfop @426 + rig_token_foreach @427 + rig_token_lookup @428 + rig_unregister @429 + rig_valueagclevel @430 + rig_version @431 + rig_vfo_op @432 + rig_wait_morse @433 + rigerror @434 + rigerror2 @435 + rot_check_backend @436 + rot_cleanup @437 + rot_close @438 + rot_confparam_lookup @439 + rot_ext_func_foreach @440 + rot_ext_level_foreach @441 + rot_ext_lookup @442 + rot_ext_lookup_tok @443 + rot_ext_parm_foreach @444 + rot_ext_token_lookup @445 + rot_get_caps @446 + rot_get_conf @447 + rot_get_conf2 @448 + rot_get_ext_func @449 + rot_get_ext_level @450 + rot_get_ext_parm @451 + rot_get_func @452 + rot_get_info @453 + rot_get_level @454 + rot_get_parm @455 + rot_get_position @456 + rot_get_status @457 + rot_has_get_func @458 + rot_has_get_level @459 + rot_has_get_parm @460 + rot_has_set_func @461 + rot_has_set_level @462 + rot_has_set_parm @463 + rot_init @464 + rot_list_foreach @465 + rot_load_all_backends @466 + rot_load_backend @467 + rot_move @468 + rot_open @469 + rot_park @470 + rot_parse_func @471 + rot_parse_level @472 + rot_parse_parm @473 + rot_probe_all @474 + rot_register @475 + rot_reset @476 + rot_set_conf @477 + rot_set_ext_func @478 + rot_set_ext_level @479 + rot_set_ext_parm @480 + rot_set_func @481 + rot_set_level @482 + rot_set_parm @483 + rot_set_position @484 + rot_sprintf_func @485 + rot_sprintf_level @486 + rot_sprintf_level_gran @487 + rot_sprintf_parm @488 + rot_sprintf_parm_gran @489 + rot_sprintf_status @490 + rot_stop @491 + rot_strfunc @492 + rot_strlevel @493 + rot_strparm @494 + rot_strstatus @495 + rot_token_foreach @496 + rot_token_lookup @497 + rot_unregister @498 + ser_get_car @499 + ser_get_cts @500 + ser_get_dsr @501 + ser_get_dtr @502 + ser_get_rts @503 + ser_set_brk @504 + ser_set_dtr @505 + ser_set_rts @506 + serial_flush @507 + serial_open @508 + serial_setup @509 + spaces @510 + sprintf_freq @511 + sprintf_level_ext @512 + sync_callback @513 + to_bcd @514 + to_bcd_be @515 + to_hex @516 + vfo_fixup @517 + vfo_fixup2a @518 + write_block @519 + write_block_sync @520 + write_block_sync_error @521 + +IMPORTS + + libusb-1.0.dll.active_contexts_list + libusb-1.0.dll.active_contexts_lock + libusb-1.0.dll.discovered_devs_append + libusb-1.0.dll.htab_hash + libusb-1.0.dll.libusb_alloc_streams + libusb-1.0.dll.libusb_alloc_transfer + libusb-1.0.dll.libusb_attach_kernel_driver + libusb-1.0.dll.libusb_bulk_transfer + libusb-1.0.dll.libusb_cancel_transfer + libusb-1.0.dll.libusb_claim_interface + libusb-1.0.dll.libusb_clear_halt + libusb-1.0.dll.libusb_close + libusb-1.0.dll.libusb_control_transfer + libusb-1.0.dll.libusb_detach_kernel_driver + libusb-1.0.dll.libusb_dev_mem_alloc + libusb-1.0.dll.libusb_dev_mem_free + libusb-1.0.dll.libusb_error_name + libusb-1.0.dll.libusb_event_handler_active + libusb-1.0.dll.libusb_event_handling_ok + libusb-1.0.dll.libusb_exit + libusb-1.0.dll.libusb_free_bos_descriptor + libusb-1.0.dll.libusb_free_config_descriptor + libusb-1.0.dll.libusb_free_container_id_descriptor + libusb-1.0.dll.libusb_free_device_list + libusb-1.0.dll.libusb_free_pollfds + libusb-1.0.dll.libusb_free_ss_endpoint_companion_descriptor + libusb-1.0.dll.libusb_free_ss_usb_device_capability_descriptor + libusb-1.0.dll.libusb_free_streams + libusb-1.0.dll.libusb_free_transfer + libusb-1.0.dll.libusb_free_usb_2_0_extension_descriptor + libusb-1.0.dll.libusb_get_active_config_descriptor + libusb-1.0.dll.libusb_get_bos_descriptor + libusb-1.0.dll.libusb_get_bus_number + libusb-1.0.dll.libusb_get_config_descriptor + libusb-1.0.dll.libusb_get_config_descriptor_by_value + libusb-1.0.dll.libusb_get_configuration + libusb-1.0.dll.libusb_get_container_id_descriptor + libusb-1.0.dll.libusb_get_device + libusb-1.0.dll.libusb_get_device_address + libusb-1.0.dll.libusb_get_device_descriptor + libusb-1.0.dll.libusb_get_device_list + libusb-1.0.dll.libusb_get_device_speed + libusb-1.0.dll.libusb_get_max_iso_packet_size + libusb-1.0.dll.libusb_get_max_packet_size + libusb-1.0.dll.libusb_get_next_timeout + libusb-1.0.dll.libusb_get_parent + libusb-1.0.dll.libusb_get_pollfds + libusb-1.0.dll.libusb_get_port_number + libusb-1.0.dll.libusb_get_port_numbers + libusb-1.0.dll.libusb_get_port_path + libusb-1.0.dll.libusb_get_ss_endpoint_companion_descriptor + libusb-1.0.dll.libusb_get_ss_usb_device_capability_descriptor + libusb-1.0.dll.libusb_get_string_descriptor_ascii + libusb-1.0.dll.libusb_get_usb_2_0_extension_descriptor + libusb-1.0.dll.libusb_get_version + libusb-1.0.dll.libusb_handle_events + libusb-1.0.dll.libusb_handle_events_completed + libusb-1.0.dll.libusb_handle_events_locked + libusb-1.0.dll.libusb_handle_events_timeout + libusb-1.0.dll.libusb_handle_events_timeout_completed + libusb-1.0.dll.libusb_has_capability + libusb-1.0.dll.libusb_hotplug_deregister_callback + libusb-1.0.dll.libusb_hotplug_get_user_data + libusb-1.0.dll.libusb_hotplug_register_callback + libusb-1.0.dll.libusb_init + libusb-1.0.dll.libusb_interrupt_event_handler + libusb-1.0.dll.libusb_interrupt_transfer + libusb-1.0.dll.libusb_kernel_driver_active + libusb-1.0.dll.libusb_lock_event_waiters + libusb-1.0.dll.libusb_lock_events + libusb-1.0.dll.libusb_open + libusb-1.0.dll.libusb_open_device_with_vid_pid + libusb-1.0.dll.libusb_pollfds_handle_timeouts + libusb-1.0.dll.libusb_ref_device + libusb-1.0.dll.libusb_release_interface + libusb-1.0.dll.libusb_reset_device + libusb-1.0.dll.libusb_set_auto_detach_kernel_driver + libusb-1.0.dll.libusb_set_configuration + libusb-1.0.dll.libusb_set_debug + libusb-1.0.dll.libusb_set_interface_alt_setting + libusb-1.0.dll.libusb_set_log_cb + libusb-1.0.dll.libusb_set_option + libusb-1.0.dll.libusb_set_pollfd_notifiers + libusb-1.0.dll.libusb_setlocale + libusb-1.0.dll.libusb_strerror + libusb-1.0.dll.libusb_submit_transfer + libusb-1.0.dll.libusb_transfer_get_stream_id + libusb-1.0.dll.libusb_transfer_set_stream_id + libusb-1.0.dll.libusb_try_lock_events + libusb-1.0.dll.libusb_unlock_event_waiters + libusb-1.0.dll.libusb_unlock_events + libusb-1.0.dll.libusb_unref_device + libusb-1.0.dll.libusb_wait_for_event + libusb-1.0.dll.libusb_wrap_sys_device + libusb-1.0.dll.load_system_library + libusb-1.0.dll.usb_api_backend + libusb-1.0.dll.usbd_status_to_libusb_transfer_status + libusb-1.0.dll.usbdk_backend + libusb-1.0.dll.usbi_add_event_source + libusb-1.0.dll.usbi_alloc_device + libusb-1.0.dll.usbi_alloc_event_data + libusb-1.0.dll.usbi_arm_timer + libusb-1.0.dll.usbi_backend + libusb-1.0.dll.usbi_clear_event + libusb-1.0.dll.usbi_cond_timedwait + libusb-1.0.dll.usbi_connect_device + libusb-1.0.dll.usbi_create_event + libusb-1.0.dll.usbi_create_timer + libusb-1.0.dll.usbi_default_context + libusb-1.0.dll.usbi_destroy_event + libusb-1.0.dll.usbi_destroy_timer + libusb-1.0.dll.usbi_disarm_timer + libusb-1.0.dll.usbi_disconnect_device + libusb-1.0.dll.usbi_fallback_context + libusb-1.0.dll.usbi_get_device_by_session_id + libusb-1.0.dll.usbi_get_monotonic_time + libusb-1.0.dll.usbi_handle_disconnect + libusb-1.0.dll.usbi_handle_transfer_cancellation + libusb-1.0.dll.usbi_handle_transfer_completion + libusb-1.0.dll.usbi_hotplug_exit + libusb-1.0.dll.usbi_hotplug_init + libusb-1.0.dll.usbi_hotplug_notification + libusb-1.0.dll.usbi_hotplug_process + libusb-1.0.dll.usbi_io_exit + libusb-1.0.dll.usbi_io_init + libusb-1.0.dll.usbi_log + libusb-1.0.dll.usbi_remove_event_source + libusb-1.0.dll.usbi_sanitize_device + libusb-1.0.dll.usbi_signal_event + libusb-1.0.dll.usbi_signal_transfer_completion + libusb-1.0.dll.usbi_wait_for_events + libusb-1.0.dll.windows_error_str + libusb-1.0.dll.windows_force_sync_completion + libusb-1.0.dll.windows_version + libusb-1.0.dll.winusb_backend diff --git a/scripts/MSVC/2022/x86/hamlibTest/makelib.bat b/scripts/MSVC/2022/x86/hamlibTest/makelib.bat new file mode 100644 index 000000000..29fc0e06b --- /dev/null +++ b/scripts/MSVC/2022/x86/hamlibTest/makelib.bat @@ -0,0 +1 @@ +lib /DEF:libhamlib-4.def /MACHINE:X86 \ No newline at end of file diff --git a/scripts/MSVC/2022/x86/hamlibTest/packages.config b/scripts/MSVC/2022/x86/hamlibTest/packages.config new file mode 100644 index 000000000..77c2d3e4d --- /dev/null +++ b/scripts/MSVC/2022/x86/hamlibTest/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/scripts/MSVC/2022/x86/hamlibTest/small.ico b/scripts/MSVC/2022/x86/hamlibTest/small.ico new file mode 100644 index 000000000..b3ec03bd6 Binary files /dev/null and b/scripts/MSVC/2022/x86/hamlibTest/small.ico differ diff --git a/scripts/MSVC/2022/x86/hamlibTest/targetver.h b/scripts/MSVC/2022/x86/hamlibTest/targetver.h new file mode 100644 index 000000000..746516742 --- /dev/null +++ b/scripts/MSVC/2022/x86/hamlibTest/targetver.h @@ -0,0 +1,6 @@ +#pragma once + +// // Including SDKDDKVer.h defines the highest available Windows platform. +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. +#include