Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Problem with TDataset for Delphi XE2

7 posts in Delphi Last posting was on 2012-01-03 08:54:56.0Z
Bill Bentley Posted on 2011-12-30 04:56:54.0Z
From: "Bill Bentley" <wgbentley@ncbluesky.com>
Newsgroups: Advantage.Delphi
Subject: Problem with TDataset for Delphi XE2
Date: Thu, 29 Dec 2011 23:56:54 -0500
Lines: 10
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_NextPart_000_0007_01CCC685.8A5F1960"
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 15.4.3538.513
X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513
NNTP-Posting-Host: 71.70.227.36
Message-ID: <4efd4453@solutions.advantagedatabase.com>
X-Trace: 29 Dec 2011 20:55:47 -0700, 71.70.227.36
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Delphi:25584
Article PK: 1109164

Hi,

I installed Delphi XE2 with no problems. I then downloaded the new version
of TDataset and it installed without any glitches. I then loaded an existing
project which successfully compiled and ran using Delphi XE. With no
changes, I attempted to compiled in XE2 and received the following error
(F2048 bad unit format). See attached .jpg

Any ideas on how to correct.....Thanks....Bill Bentley

ADS Error.jpg

Alan Posted on 2011-12-30 21:12:06.0Z
From: "Alan" <observa_spam_sucks@xtra.co.nz>
Newsgroups: Advantage.Delphi
References: <4efd4453@solutions.advantagedatabase.com>
Subject: Re: Problem with TDataset for Delphi XE2
Date: Sat, 31 Dec 2011 10:12:06 +1300
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 125.239.62.85
Message-ID: <4efe28d7@solutions.advantagedatabase.com>
X-Trace: 30 Dec 2011 13:10:47 -0700, 125.239.62.85
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Delphi:25585
Article PK: 1109166


"Bill Bentley" <wgbentley@ncbluesky.com> wrote in message
news:4efd4453@solutions.advantagedatabase.com...
> Hi,
>
> I installed Delphi XE2 with no problems. I then downloaded the new version
> of TDataset and it installed without any glitches. I then loaded an
> existing
> project which successfully compiled and ran using Delphi XE. With no
> changes, I attempted to compiled in XE2 and received the following error
> (F2048 bad unit format). See attached .jpg
>
> Any ideas on how to correct.....Thanks....Bill Bentley
>
>

Bill

Looks like that unit expects a 64bit, rather than 32bit dcu. Are you
compiling using the 64bit compiler?

Either that or Sybase have forgotten to include the correct directives to
handle 32bits for that.

Alan


Bill Bentley Posted on 2011-12-31 02:41:21.0Z
From: "Bill Bentley" <wgbentley@ncbluesky.com>
Newsgroups: Advantage.Delphi
References: <4efd4453@solutions.advantagedatabase.com> <4efe28d7@solutions.advantagedatabase.com>
In-Reply-To: <4efe28d7@solutions.advantagedatabase.com>
Subject: Re: Problem with TDataset for Delphi XE2
Date: Fri, 30 Dec 2011 21:41:21 -0500
Lines: 2
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 15.4.3538.513
X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513
NNTP-Posting-Host: 71.70.227.36
Message-ID: <4efe7611$1@solutions.advantagedatabase.com>
X-Trace: 30 Dec 2011 18:40:17 -0700, 71.70.227.36
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Delphi:25586
Article PK: 1109163

Opps...I think I sent my response to your email rather than post to the
newsgroup.

In any event, I first tried to compile using the 32-bit settings and got the
attached error. Then tried the 64-bit option and got the same error. I think
I'm going to uninstall XE2 and TDataset and try installation again. I'm not
sure what else to do next.

Still looking for a solution....Thanks....Bill B.

"Alan" wrote in message news:4efe28d7@solutions.advantagedatabase.com...

"Bill Bentley" <wgbentley@ncbluesky.com> wrote in message
news:4efd4453@solutions.advantagedatabase.com...
> Hi,
>
> I installed Delphi XE2 with no problems. I then downloaded the new version
> of TDataset and it installed without any glitches. I then loaded an
> existing
> project which successfully compiled and ran using Delphi XE. With no
> changes, I attempted to compiled in XE2 and received the following error
> (F2048 bad unit format). See attached .jpg
>
> Any ideas on how to correct.....Thanks....Bill Bentley
>
>

Bill

Looks like that unit expects a 64bit, rather than 32bit dcu. Are you
compiling using the 64bit compiler?

Either that or Sybase have forgotten to include the correct directives to
handle 32bits for that.

Alan


Joachim Duerr (ADS) Posted on 2011-12-31 14:37:02.0Z
From: "Joachim Duerr (ADS)" <jojo.duerr@gmx.de>
Subject: Re: Problem with TDataset for Delphi XE2
Newsgroups: Advantage.Delphi
References: <4efd4453@solutions.advantagedatabase.com> <4efe28d7@solutions.advantagedatabase.com> <4efe7611$1@solutions.advantagedatabase.com>
Date: Sat, 31 Dec 2011 15:37:02 +0100
User-Agent: XanaNews/1.19.1.269
X-Face: u2p+</,mb|Ah!x!/qxX5q0t:O~.<1&JzwNHYhSqcviY{~&|iDc"U.Je1A.ZeHR`d;;y#R
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 77.3.68.50
Message-ID: <4eff1d7a$1@solutions.advantagedatabase.com>
X-Trace: 31 Dec 2011 06:34:34 -0700, 77.3.68.50
Lines: 13
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Delphi:25587
Article PK: 1109165


Bill Bentley wrote:

>In any event, I first tried to compile using the 32-bit settings and
>got the attached error. Then tried the 64-bit option and got the same
>error. I think I'm going to uninstall XE2 and TDataset and try
>installation again. I'm not sure what else to do next.

try to built instead of compile.

--
Joachim Duerr, Advantage Presales
*** NEW *** Advantage Pocket Guide released *** NEW ***
http://pocketguide.jd-engineering.de


Alan Posted on 2011-12-31 21:03:07.0Z
From: "Alan" <observa_spam_sucks@xtra.co.nz>
Newsgroups: Advantage.Delphi
References: <4efd4453@solutions.advantagedatabase.com> <4efe28d7@solutions.advantagedatabase.com> <4efe7611$1@solutions.advantagedatabase.com> <4eff1d7a$1@solutions.advantagedatabase.com>
Subject: Re: Problem with TDataset for Delphi XE2
Date: Sun, 1 Jan 2012 10:03:07 +1300
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
NNTP-Posting-Host: 125.239.62.85
Message-ID: <4eff7836$1@solutions.advantagedatabase.com>
X-Trace: 31 Dec 2011 13:01:42 -0700, 125.239.62.85
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Delphi:25588
Article PK: 1109167


"Joachim Duerr (ADS)" <jojo.duerr@gmx.de> wrote in message
news:4eff1d7a$1@solutions.advantagedatabase.com...
> Bill Bentley wrote:
>
>>In any event, I first tried to compile using the 32-bit settings and
>>got the attached error. Then tried the 64-bit option and got the same
>>error. I think I'm going to uninstall XE2 and TDataset and try
>>installation again. I'm not sure what else to do next.
>
> try to built instead of compile.
>
> --
> Joachim Duerr, Advantage Presales
> *** NEW *** Advantage Pocket Guide released *** NEW ***
> http://pocketguide.jd-engineering.de

Bill

I didn't think of that. Yes, I agree with Joachim. Sometimes (often) if
Delphi can't find a unit/dcu you need to build the project instead of
compiling it. I think that's a bug in Delphi the Embarcadero guys seem
unwilling to admit the existance of.

Alan


Bill Bentley Posted on 2012-01-03 03:42:58.0Z
From: "Bill Bentley" <wgbentley@ncbluesky.com>
Newsgroups: Advantage.Delphi
References: <4efd4453@solutions.advantagedatabase.com> <4efe28d7@solutions.advantagedatabase.com> <4efe7611$1@solutions.advantagedatabase.com> <4eff1d7a$1@solutions.advantagedatabase.com> <4eff7836$1@solutions.advantagedatabase.com>
In-Reply-To: <4eff7836$1@solutions.advantagedatabase.com>
Subject: Re: Problem with TDataset for Delphi XE2
Date: Mon, 2 Jan 2012 22:42:58 -0500
Lines: 1
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 15.4.3538.513
X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513
NNTP-Posting-Host: 71.70.227.36
Message-ID: <4f027902$1@solutions.advantagedatabase.com>
X-Trace: 2 Jan 2012 19:41:54 -0700, 71.70.227.36
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Delphi:25589
Article PK: 1109168

Hi Allen, Joachim,

I tried the rebuild project and rebuild all and still got the same result. I
took a chance and removed Delphi XE and Delphi 7 from my computer (including
registry entries) and all third-party components. I then installed RAD
Studio XE2 followed by all my third-party components (in this order; ADS
TDataset, TMS Component Pack, TMS FlexCel, Active Query Builder, Report
Builder and ResizeKit2). Everything worked fine. No compile errors and
generated 32-bit executeables and 64-bit executeables. Both worked fine. I'm
not sure what I did wrong, but obviously something during the installation.

Thanks for your help and fix attemps....Bill B.

"Alan" wrote in message news:4eff7836$1@solutions.advantagedatabase.com...

"Joachim Duerr (ADS)" <jojo.duerr@gmx.de> wrote in message
news:4eff1d7a$1@solutions.advantagedatabase.com...
> Bill Bentley wrote:
>
>>In any event, I first tried to compile using the 32-bit settings and
>>got the attached error. Then tried the 64-bit option and got the same
>>error. I think I'm going to uninstall XE2 and TDataset and try
>>installation again. I'm not sure what else to do next.
>
> try to built instead of compile.
>
> --
> Joachim Duerr, Advantage Presales
> *** NEW *** Advantage Pocket Guide released *** NEW ***
> http://pocketguide.jd-engineering.de

Bill

I didn't think of that. Yes, I agree with Joachim. Sometimes (often) if
Delphi can't find a unit/dcu you need to build the project instead of
compiling it. I think that's a bug in Delphi the Embarcadero guys seem
unwilling to admit the existance of.

Alan


Joachim Duerr (ADS) Posted on 2012-01-03 08:54:56.0Z
From: "Joachim Duerr (ADS)" <jojo.duerr@gmx.de>
Subject: Re: Problem with TDataset for Delphi XE2
Newsgroups: Advantage.Delphi
References: <4efd4453@solutions.advantagedatabase.com> <4efe28d7@solutions.advantagedatabase.com> <4efe7611$1@solutions.advantagedatabase.com> <4eff1d7a$1@solutions.advantagedatabase.com> <4eff7836$1@solutions.advantagedatabase.com> <4f027902$1@solutions.advantagedatabase.com>
Date: Tue, 3 Jan 2012 09:54:56 +0100
User-Agent: XanaNews/1.19.1.269
X-Face: u2p+</,mb|Ah!x!/qxX5q0t:O~.<1&JzwNHYhSqcviY{~&|iDc"U.Je1A.ZeHR`d;;y#R
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 10.29.66.130
Message-ID: <4f02c1c1$1@solutions.advantagedatabase.com>
X-Trace: 3 Jan 2012 00:52:17 -0700, 10.29.66.130
Lines: 18
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Delphi:25590
Article PK: 1109170


Bill Bentley wrote:

>I tried the rebuild project and rebuild all and still got the same
>result. I took a chance and removed Delphi XE and Delphi 7 from my
>computer (including registry entries) and all third-party components.
>I then installed RAD Studio XE2 followed by all my third-party
>components (in this order; ADS TDataset, TMS Component Pack, TMS
>FlexCel, Active Query Builder, Report Builder and ResizeKit2).
>Everything worked fine. No compile errors and generated 32-bit
>executeables and 64-bit executeables. Both worked fine. I'm not sure
>what I did wrong, but obviously something during the installation.

propably there was still a wrong path (pointed to an old ADS Client).

--
Joachim Duerr, Advantage Presales
*** NEW *** Advantage Pocket Guide released *** NEW ***
http://pocketguide.jd-engineering.de