Witam,
[ILINK32 Error] Error: Unresolved external '__ltolower_lcid' referenced from D:\TESTOWY\DEBUG\F_ROOT.OBJ
takie #$%^&% mi wyskakuje przy próbie użycia fstream.
Plik h
//---------------------------------------------------------------------------
#ifndef f_rootH
#define f_rootH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Forms.hpp>
#include <fstream.h>
//---------------------------------------------------------------------------
class TFRoot : public TForm
{
__published: // IDE-managed Components
private: // User declarations
public: // User declarations
__fastcall TFRoot(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFRoot *FRoot;
//---------------------------------------------------------------------------
#endif
Plik cpp
//---------------------------------------------------------------------------
#include <vcl.h>
#include "f_root.h"
#pragma hdrstop
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TFRoot *FRoot;
//---------------------------------------------------------------------------
__fastcall TFRoot::TFRoot(TComponent* Owner)
: TForm(Owner)
{
fstream kkk;
}
//---------------------------------------------------------------------------
Jednak najpierw używałem TXMLDocument i wininet czyli miałem w h jeszcze:
#include <ExtCtrls.hpp>
#include <msxmldom.hpp>
#include <XMLDoc.hpp>
#include <xmldom.hpp>
#include <XMLIntf.hpp>
#include <wininet.h>
#include <fstream>
#include <vector>
using std::vector;
#include <new>
using std::nothrow;
oraz lib'a: wininet.lib
Ale po dodaniu fstream.h i próbie użycia go gdzieś w kodzie pojawił się w/w error. I pomimo wykoszenia wszystkiego (łącznie z całym folderem Debug i innymi plikami) nie udaje mi się go usunąć.
Wieć z mojej strony uprzejmie się pytam - WTF!?!?!?!?