BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DevExpress EQ Grid 3.2.2 and D2006

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General)
View previous topic :: View next topic  
Author Message
JohnE
Guest





PostPosted: Tue Dec 20, 2005 1:41 am    Post subject: DevExpress EQ Grid 3.2.2 and D2006 Reply with quote



Not sure where to post this question.

I'm having trouble installing my DevExpress Quantum 3.2.2 grid in D006. I
obtained the latest install from Devexpress. I open the EQGridD7 package in
D2006, and attempt to compile. It has issues finding dxEdtrD7, which I fix
by adding its location to the library path. It then has issues finding
dxUtils, which I fix by adding to the library path. I end up with
"Undeclared identifier 'TDrawingStyle' in dxUtils. A search of my entire
hard drive finds no file with "TDrawingStyle" other than in dxUtils.

Anybody else have detailed instructions on compiling and installing 3.2.2?

TIA,

John



Back to top
Kevin
Guest





PostPosted: Tue Dec 20, 2005 1:55 am    Post subject: Re: DevExpress EQ Grid 3.2.2 and D2006 Reply with quote



See if non-tech message today regarding similar subject. Might give you
some direction.


"JohnE" <johne (AT) legalizespamkillers (DOT) com> wrote

Quote:
Not sure where to post this question.

I'm having trouble installing my DevExpress Quantum 3.2.2 grid in D006. I
obtained the latest install from Devexpress. I open the EQGridD7 package
in D2006, and attempt to compile. It has issues finding dxEdtrD7, which I
fix by adding its location to the library path. It then has issues
finding dxUtils, which I fix by adding to the library path. I end up with
"Undeclared identifier 'TDrawingStyle' in dxUtils. A search of my entire
hard drive finds no file with "TDrawingStyle" other than in dxUtils.

Anybody else have detailed instructions on compiling and installing 3.2.2?

TIA,

John






Back to top
JohnE
Guest





PostPosted: Tue Dec 20, 2005 4:38 am    Post subject: Re: DevExpress EQ Grid 3.2.2 and D2006 Reply with quote



Quote:
See if non-tech message today regarding similar subject. Might give you
some direction.

I noticed that message. That gentleman had what appears to be the same
problem, but was able to solve by simply adding the suggested search paths.

John



Back to top
Don Strenczewilk
Guest





PostPosted: Tue Dec 20, 2005 8:09 pm    Post subject: Re: DevExpress EQ Grid 3.2.2 and D2006 Reply with quote

If you didn't say 'gentleman' I would have thought you were referring to me.

Anyhow, the path problem was easily solved, but I did have to make other
changes to the source. I was converting the Delphi6 version though. I didn't
document what I did but TDrawingStyle is a VCL type . I think the fix was to
add ImgList to the uses clause.

Other things that had to change were arrays of TFieldType, which apparently
have gained some items since D6. There was another array of variant type
too.. I'll run a diff on the the two versions after work if you haven't got
it running by then and describe all the changes.

"JohnE" <johne (AT) legalizespamkillers (DOT) com> wrote

Quote:
See if non-tech message today regarding similar subject. Might give you
some direction.

I noticed that message. That gentleman had what appears to be the same
problem, but was able to solve by simply adding the suggested search
paths.



Back to top
JohnE
Guest





PostPosted: Tue Dec 20, 2005 10:37 pm    Post subject: Re: DevExpress EQ Grid 3.2.2 and D2006 Reply with quote

I edited what source I have (which is editors etc) and got rid of the IFDEFs
for Delphi6, which is basically the uses for IMGLIST and VARIANTS. That
helped, but I end up with EQTLD7.BPL not compiling with an error of

[Pascal Fatal Error] eqtd7.dpk(36): F2063 Could not compile used unit
'dxTLStr.pas'.

I don't have the source for the EQGrid itself, so that could be part of my
problem.

John


Back to top
Bob Dawson
Guest





PostPosted: Wed Dec 21, 2005 12:48 am    Post subject: Re: DevExpress EQ Grid 3.2.2 and D2006 Reply with quote

"Don Strenczewilk" wrote
Quote:
I'll run a diff on the the two versions after work if you haven't got
it running by then and describe all the changes.

Don--

I'd appreciate your change notes. I'm licensed with source for 3.2.2, so
applying them shouldn't be a problem once my D2006 shows up.

bobD



Back to top
Don Strenczewilk
Guest





PostPosted: Wed Dec 21, 2005 3:29 am    Post subject: Re: DevExpress EQ Grid 3.2.2 and D2006 Reply with quote

Ah, yes. I'm sure you would need the source to make it work with D2006.
Sorry I can't help.

"JohnE" <johne (AT) legalizespamkillers (DOT) com> wrote

Quote:
I edited what source I have (which is editors etc) and got rid of the
IFDEFs for Delphi6, which is basically the uses for IMGLIST and VARIANTS.
That helped, but I end up with EQTLD7.BPL not compiling with an error of

[Pascal Fatal Error] eqtd7.dpk(36): F2063 Could not compile used unit
'dxTLStr.pas'.

I don't have the source for the EQGrid itself, so that could be part of my
problem.



Back to top
Don Strenczewilk
Guest





PostPosted: Wed Dec 21, 2005 3:40 am    Post subject: Re: DevExpress EQ Grid 3.2.2 and D2006 Reply with quote

No problem. I'll run a diff now. There weren't an awful lot of changes and I
think just describing the steps will be enough to get it installed. My
conscience won't let me give my own mother the actual source unless DevEx
said it was okay. :)

"Bob Dawson" <RBDawson (AT) prodigy (DOT) net> wrote

Quote:
"Don Strenczewilk" wrote
I'll run a diff on the the two versions after work if you haven't got
it running by then and describe all the changes.

Don--

I'd appreciate your change notes. I'm licensed with source for 3.2.2, so
applying them shouldn't be a problem once my D2006 shows up.



Back to top
Don Strenczewilk
Guest





PostPosted: Wed Dec 21, 2005 4:07 am    Post subject: Re: DevExpress EQ Grid 3.2.2 and D2006 Reply with quote

Actually, since you don't need it tonight anyhow, I'll do it at work
tomorrow where BeyondCompare will make this much easier. I thought SlickEdit
had a directory diff, but it only tells which files have changed. At that
point you have to do a new file diff for each set of changed files..


Back to top
Don Strenczewilk
Guest





PostPosted: Wed Dec 21, 2005 2:28 pm    Post subject: Re: DevExpress EQ Grid 3.2.2 and D2006 Reply with quote

Here you go.


Notes: I did not convert ExpressMemData and haven't tried to install it
because I don't need it.

This is not heavily tested. At this point I've only dropped the installed
components on forms and run (successfully).

Rather than updating the D6 source to work with all versions, I copied it
and modified the copy to be sure I don't screw it up and because I hope to
be upgrading all code to use the latest DevEx QG version within the next few
months, so all of the v322 stuff will be gone soon anyhow.



Steps:

1.. In your DevEx directory is a tree with the following folders:
ExpressCommon, ExpressEditors Library, ExpressInplaceEditors,
ExpressQuantumGrid. In each of those folders is another folder named
Delphi6. Create another folder in each of those folders named Delphi2006 and
copy the contents of the Delphi6 folder.
2.. In each of the new Delphi2006 folders, change all file names that end
with a 6 to 2006.
3.. Edit all the dpk files in the *Delphi2006 directories: Change the
package name and everthing in the 'requires' list from '6' to '2006'
4.. Open D2006. In the project manager, right-click on the <No Project
Group> and for each *2006.dpk in the Source directories, 'Add existing
project'. Save the project group so you can easily modify things in the
future if necessary.
5.. In each project's Options, set the Output directory, Unit output
directory, and DCP output directory to the project's LIB folder. (the Lib
folders are located at the same tree level as the Source)
6.. In all of the *.inc files in the Delphi2006 folders, add the following
at the bottom of the file:

{$IFDEF VER180} { Delphi 2006 }

{$DEFINE DELPHI4}

{$DEFINE DELPHI5}

{$DEFINE DELPHI6}

{$DEFINE DELPHI2006}

{$ENDIF}



7.. Source Changes:
1.. ExpressQuantumGridDelphi2006SourcesdxDBCtrl.pas: In function
"DataVarType", there's a const array of TFieldType declared. More items have
been added to that TFieldType since Delphi6 so, after where it says
"varDouble", add:
{$IFDEF DELPHI2006}

varstring, { ftFixedWideChar }

varstring, { ftWideMemo }

vardate, { ftOraTimeStamp }

varstring { ftOraInterval }

{$ENDIF}

2.. ExpressQuantumGridDelphi 6SourcesdxFilter.pas: In procedure
"ReadVariant" in the const array (ValTtoVarT) of TValueType, immediately
after "{$IFDEF DELPHI6}, varError" add "{$IFDEF DELPHI2006}, varError
{$ENDIF}"


8.. Project|Build All Projects
9.. Create a directory under Developer Express Inc named DXRuntime2006
and add it to your System path (you can do that within Delphi under
Tools|Options|Environment Variables, by double-clicking on PATH)
10.. Right-click on each project in project manager and Install. Several
will not install because they aren't design time packages but I found it was
faster to simply try to install them and let Delphi sort out if they are or
not.
11.. That should do it.





Back to top
Bob Dawson
Guest





PostPosted: Wed Dec 21, 2005 3:47 pm    Post subject: Re: DevExpress EQ Grid 3.2.2 and D2006 Reply with quote

"Don Strenczewilk" wrote

Quote:
Here you go.

Thanks--just the ticket.

Quote:
upgrading all code to use the latest DevEx QG version within the
next few months, so all of the v322 stuff will be gone soon anyhow.

My plan as well--I just want to make sure I can bring all the apps forward
into D2006 and then convert when I have some reason to open them. I don't
like having to go back to an earlier IDE just to patch some minor bug.

I did my best to convince DevEx to simply include a rebuilt 3.2.2 with the
license for EQG5, but failed. Personally, I think they'd sell more licenses
if they made the upgrade path smoother.

bobD



Back to top
Don Strenczewilk
Guest





PostPosted: Wed Dec 21, 2005 6:41 pm    Post subject: Re: DevExpress EQ Grid 3.2.2 and D2006 Reply with quote

I left something out.

9a. After creating the DXRuntime2006 directory and setting the environment
path var, copy all the BPL files to it, which are in each *2006Lib
directory.

"Don Strenczewilk" <nospam (AT) nospam (DOT) com> wrote

Quote:
Here you go.



Back to top
Don Strenczewilk
Guest





PostPosted: Wed Dec 21, 2005 6:54 pm    Post subject: Re: DevExpress EQ Grid 3.2.2 and D2006 Reply with quote

I too would hate to have to go back to D6 to do maintenance stuff after
being spoiled by D2006's ide.

I don't know their reasons but I've certainly got more than my money's worth
from using QG3. I think it's been 8 years now. Just need to find the time to
upgrade everything that uses it.

"Bob Dawson" <bdawson (AT) idtdna (DOT) com> wrote

Quote:
"Don Strenczewilk" wrote

Here you go.

Thanks--just the ticket.

upgrading all code to use the latest DevEx QG version within the
next few months, so all of the v322 stuff will be gone soon anyhow.

My plan as well--I just want to make sure I can bring all the apps forward
into D2006 and then convert when I have some reason to open them. I don't
like having to go back to an earlier IDE just to patch some minor bug.

I did my best to convince DevEx to simply include a rebuilt 3.2.2 with the
license for EQG5, but failed. Personally, I think they'd sell more
licenses
if they made the upgrade path smoother.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.