What API / SDK to use for this Windows application?

I am going to create a GUI utility that will work on Windows operating systems.

This requires a minimal (or zero!) Number of additional libraries, files or DLLs, since it will be executed from the installer. Because of this, I do not want to use .NET, because this will require installing the .NET Framework. Today I know that most of the systems installed on Windows come with the .NET Framework, but in my case I cannot be sure.

The utility will be ...

  • send some data to the website and analyze the returned data,
  • collect some information about equipment, such as MAC address, processor type and type, hard disk serial number

I believe that Win32's own API can be used for all of the above, but instead of helping Win32, I would rather use a more convenient API or SDK for developers.

Thanks in advance.

+3
source share
8 answers

Win32 API - , , , API - WinInet. lib/dll, MAC, GetAdaptersInfo Iphlpapi.lib/dll ( a , ) , GetVolumeInformation kernel32.lib/dll. CPU GetSystemInfomation

: ++, , WinAPI , , RAD WinAPI, , SDK, dll .

, , , .

+6

++ - MFC. WTL, .

+4

DLL, DLL exe. - Visual ++ .

+3

WTL , , . CRT hey presto - EXE.

+2

Delphi ( Embarcadero) , .exe , API Win32.

Object Pascal, ++ Builder.

+1

MFC ( ), HTML, COM. ( javascript, , ).

0
source

For the specific requirement that you have, I believe that the Win32 API is the only way out.

0
source

Use MFC and statically link to it. No need to install runtimes.

0
source

Source: https://habr.com/ru/post/1732677/


All Articles