Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IW 15.5.3 is out
#4
I have installed C++Builder 12 only, all other directories, files and path entries has been removed.

The function belongs to the Microsoft SDK:

BOOL SetPort(
  _In_ LPTSTR pName,
  _In_ LPTSTR pPortName,
  _In_ DWORD  dwLevel,
  _In_ LPBYTE pPortInfo
);

Unicode- und ANSI-Name
SetPortW (Unicode) und SetPortA (ANSI)

Winspool.h
Winspool.lib/Winspool.a

The function is used by the following modules:

IdIOHandler.pas
IdPMCast.pas
IdTCPClient.pas
IdUDPBase.pas
IdUDPClient.pas
IdDNSResolver.pas

There was a similar problem before,
when wininet.lib/wininet.a failed in IWUtils.hpp (IW15.2.65),
That's why I tried to integrate the library myself:

#if _WIN64
#pragma message "Winspool.a"
#pragma link "Winspool.a"
#elif _WIN32
#pragma message "Winspool.lib"
#pragma link "Winspool.lib"
#endif

But it didn't work.

The Embarcadero header file winspool.h seems to be OK.
I have installed version Microsoft Windows 10 - SDK 21.0.

Is this the correct version ?
Reply


Messages In This Thread
IW 15.5.3 is out - by Alexandre Machado - 12-12-2023, 09:16 AM
RE: IW 15.5.3 is out - by JuergenS - 12-16-2023, 06:14 PM
RE: IW 15.5.3 is out - by Alexandre Machado - 12-20-2023, 02:45 AM
RE: IW 15.5.3 is out - by JuergenS - 12-20-2023, 12:32 PM
RE: IW 15.5.3 is out - by MJS@mjs.us - 12-20-2023, 03:06 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)