🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2420

Re: [C++ Error] MSADO15.tlh(844): E2494 Unrecognized __declspec modifier

#2420
From: yag
Date: Fri, 25 Jul 2003 13:20
65 lines
2587 bytes
this is the code :

// cpp

#import "C:\Programmi\File comuni\System\ado\msado15.dll" rename
("EOF","adoEOF") no_namespace
#include <vcl.h>
#pragma hdrstop

#include "Unit1.h"
//--------------------------------------------------------------------------
-
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//--------------------------------------------------------------------------
-
__fastcall TForm1::TForm1(TComponent* Owner)
   : TForm(Owner)
{
}
//--------------------------------------------------------------------------
-


//.h
//--------------------------------------------------------------------------
-

#ifndef Unit1H
#define Unit1H
//--------------------------------------------------------------------------
-
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//--------------------------------------------------------------------------
-
class TForm1 : public TForm
{
__published: // IDE-managed Components
private: // User declarations
public:  // User declarations
   __fastcall TForm1(TComponent* Owner);
};
//--------------------------------------------------------------------------
-
extern PACKAGE TForm1 *Form1;
//--------------------------------------------------------------------------
-
#endif



"yag" <yagyog@tiscali.it> ha scritto nel messaggio
news:3f2124ee$1@newsgroups.borland.com...
> #import "C:\Programmi\File comuni\System\ado\msado15.dll" rename
> ("EOF","adoEOF") no_namespace
>
> this line
>
> why?
>
>
Technical Details
Message-ID: <3f212fbc$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f210afd@newsgroups.borland.com> <3f2124ee$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,d90012b1c6922732
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-07-25 06:40:46 PST
Reply-To: "yag" <yagyog@tiscali.it>
From: "yag" <yagyog@tiscali.it>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3f210afd@newsgroups.borland.com> <3f2124ee$1@newsgroups.borland.com>
Subject: Re: [C++ Error] MSADO15.tlh(844): E2494 Unrecognized __declspec modifier
Date: Fri, 25 Jul 2003 15:20:50 +0200
Lines: 67
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.59.52.174
Message-ID: <3f212fbc$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059139516 217.59.52.174 (25 Jul 2003 06:25:16 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail