Go Language Static Linking to remove libstdc++ Requirement

Question: I used compiler from here for windows: http://mingw-w64.org/doku.php I built the application I described earlier. Looks like I have to supply libstdc++.dll along with the exe. Is it possible to build everything statically ? Answer: Yes, see here:  https://blog.madewithdrew.com/post/statically-linking-c-to-go/ Specifically: $ go build –ldflags ‘-extldflags “-static”‘ file.go    

C++ Builder 2007: Unresolved external ‘__fseeki64’

Question: I work with C++ Builder There are no problems with chilkatLib in IDE version XE8 but I still have some code in C++ Builder 2007 Is it possible to solve this case somehow: [ilink32 Error] Error: Unresolved external ‘__fseeki64’ referenced from LIB-WIN32\CHILKAT_CLASSIC_WIN32.LIB|ChilkatHandle ? Answer: The Chilkat static library for …

Delphi DLL – GetBytesPtr (Writing PByte to TStream)

Chilkat v9.5.0.80 adds a new BinData function named GetBytesPtr.   It returns a pointer to the internal bytes contained within the BinData.   This post shows one way of writing those bytes to a Delphi TStream (using the Chilkat non-ActiveX Delphi DLL). procedure TForm1.Button2Click(Sender: TObject); var rawBytes: PByte; ItemCount: Integer; binDat: HCkBinData; …

HTTP “broken pipe” Error on non-Windows Systems (Linux, iOS, MacOSX, etc.)

If you see the error lines “The connection already exists, as far as we know..” followed by “socketError: Broken pipe”  in any LastErrorText for a method that sends an HTTP request, it means the following:   The server replied to the previous request without a “Connection: close” header, thus allowing the …

Explaining OAuth2.StartAuth

This post explains the OAuth2 flow for desktop apps.   It begins by calling OAuth2.StartAuth. The oauth2.StartAuth method does two things: 1) Returns a URL that should be displayed in a browser. 2) Starts a background thread to receive the redirect callback from the browser. The flow of control is like …