Show: Delphi C++
Display Preferences

Talk:Compiling

From RAD Studio
Jump to: navigation, search

Info of String Format check

Where is the information about String Format check? Is this the $STRINGCHECKS directive that Andreas Hausladen explained (and cursed) on his blog (Length(String) and Str[Index] in Delphi 2009 and Why I hate C++Builder 2009…). Fabricioa on 09:01, 11 September 2009

Thank you for your input. I will do some research and verification. KrisHouser 23:29, 14 September 2009 (PDT)

DONE

The string format checking option (currently documented on the Compiling page) will be going away in the next release. KrisHouser 15:35, 2 March 2010 (PST)

Wininet InternetCheckConnection generates ILink32 Error

//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include <Wininet.h>
#include "Testint.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;

//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
      : TForm(Owner)
{
String Test;
if (InternetCheckConnection(L"http://192.168.1.1", FLAG_ICC_FORCE_CONNECTION, 0))
{
Test = "Connect";
}
}
//---------------------------------------------------------------------------
/*
[ILINK32 Error] Error: Unresolved external 'InternetCheckConnectionW' referenced from D:\CANH_TEST\WIN32\DEBUG\TESTINT.OBJ
*/

Response

I have sent this info and URL to the developer for the linker. I will follow up with the developer next week to see if he has a response.

Many thanks for your contribution -

KrisHouser 13:08, 2 February 2012 (PST)

Personal tools
Previous Versions
Assistance