Help - Search - Members - Calendar
Full Version: To Delphi 7 or not to Delphi 7
AC Tools Everything Macro > General Discussion > C++/Delphi/VB Development
cam
How many Delphi developers do I have lurking around here? I know Ipa, DaMob, and Once are here. CapFan are you a Delphi guy or just reading the logic?

Anyway, the reason I ask is because I am thinking of upgrading the project to Delphi 7. I don't think it will be a huge deal, but wanted to know if I would be messing anyone up.
Jamie
I'm a Delphi developer. So far I haven't deployed any D7 compiled apps, although I have cross compiled several and haven't run across any problems. Now that things are starting to settle down a little at work, I'll problably start testing some of my production services with D7.

Unless you're doing things that Borland has been telling us for a long time not to do (dsgnint), I doubt you'll have any trouble with it. If I get some time this week, I'll pull your source into D7 and see how it goes. I think I've pulled in the AC interfaces on this machine.

-wj@hg
Ipa
Well, considering I'm only 3 months into the Delphi 6 learning curve, I haven't had enough time to learn bad habits that would get me into trouble in Delphi 7.

My only constraint would be the need to get my hands on an .. ahem ... 'evaluation' copy of Delphi 7 wink.gif Time for another subscription to EasyNews ...

cam
I deploy a very large (about 2 million lines of code) Delphi 7 application currently. I wasn't worried about the port just those who might need a *cough* eval *cough* version of Delphi.
DaMOB
If you get this baby on Delphi 7 maybe then I will have incentive to revisit Delphi. As it was I received very little to no real help from the Decal peeps to keep my intrest up so I just left it installed and never touched it again.
The Deputy
I have a copy of D7 Pro ... would love to figure out how to write a frigg'n Decal plugin! Anyone have any useful information? biggrin.gif

Thanks! cool.gif
DaMOB
Your going to hurt my friend. I tried for 2 months and revisted the places last month and there aren't enough people using Delphi and Decal that any clear cut instructions have been written (at least not for me). If your very familiar with Delphi then you MIGHT can make ends meet to finally get a plugin going otherwise your SOL.
The Deputy
Well, I consider myself a decent Delphi developer ... but doing the whole COM thing would be new. I've used COM stuff but never written it.

Do you have *any* clues to pass on as to where I might dredge up even the slightest help?

Thanks cool.gif
Ipa
OK. So, ACTool Companion is a working example of a Delphi Decal plugin. Except it's Delphi6.

Source code is Here.

What happens when you try to convert/compile that in Delphi 7 ?
DaMOB
Warning: Unknown(): open_basedir restriction in effect. File(/home/camcole/public_html/forums/index.php) is not within the allowed path(s): (/home/*:/usr/lib/php:/usr/local/lib/php:/tmp:/usr/X11R6/bin) in Unknown on line 0

Warning: Unknown(/home/camcole/public_html/forums/index.php): failed to open stream: Operation not permitted in Unknown on line 0

Warning: (null)(): Failed opening '/home/camcole/public_html/forums/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0


Hmph, when I tried to reply just then. Anyways, let us know if you can compile the companion in D7 because as Cam said in that thread to me I need to go out and pay money for that package to get it to compile in D7 and that stopped me in my tracks.
The Deputy
Ok ... Well, I've given up on trying to compile - mostly cuz I'm just plain tired at this point. I just grabbed the source a bit ago - first chance I've had to mess with it. I don't seem to have a unit it's looking for when I go to compile AC Tool ... though that's not really where my interest is anyway. I'll try and remember to investigate that more later.

Point of curiosity though: Where did all the Decal*_TLB stuff come from? Is this stuff you've translated from VB or is it distributed by the Decal guys or ... ?

I'm grazing on the source atm smile.gif Hopefully I can glean some useful information out of the companion source ...

Thanks IPA biggrin.gif

--- Edit ---
There wouldn't happen to be a diagram of relationships for all these interfaces/classes would there? blink.gif
--- Edit ---
DaMOB
Its in the delphidemo.zip albeit it will crash your client when logging out and it has a few other slight errors its good to look at.
The Deputy
Well I'm learning more about Delphi. ... and I know where the *_TLB units came from. Maybe I'll have some COM rub off on me too ...
cam
I haven't tried Delphi 7 with AC Tool, but the plugin should be relatively complete. I would guess it is nothing more than a couple variant fixes and it would be up and running.
The Deputy
delphidemo.zip? Is that a Decal thing? I haven't seen it. ALL of the developer resource stuff at decaldev.sourceforge.net just shows basic template pages that don't seem to be getting filled in correctly. I'm going to guess this is a server-side issue -- perhaps the data is not there to populate the page? In any event ... if that's not where the delphidemo.zip file is, I'd like to know where to find it.

I didn't see anything in the companion that caused itself to be loaded. I'm *guessing* that as part of the installation the plugin somehow has to register itself with Decal and then Decal does the actual loading. I've worked with certain frameworks where things like this were done ... but I had a lot better documentation telling me what my obligations were to make the plugin work ;-) ... and that was all just Java stuff - none of this DLL/COM stuff. Most of my Delphi experience revolves around desktop apps that use local/remote databases. ... but nothing where COM has been necessary .. yet.
Latak
I've also been thinking about starting to learn a bit of Delphi... biggrin.gif
DaMOB
I forgot exactly where I got this but I think it came from Zyrca's site before she went over to the darkside of Turbine.

This was when I was really trying to learn Decal + Delphi and since not a lot of help could be had for Decal in Delphi I decided to drop learning Delphi as well.
Ahk
Oooooooo sample code!!!

I will have to look into this biggrin.gif -- Thx DaMOB

Ahk
Calefaction
I have wanted to learn Delphi forever...unfortunately, finding a *cough*eval*cough* copy is not exactly easy tongue.gif It sounds cool as hell though, much better then VB (even if I do prefer C over Pascal).
cam
If you download the source, the installation script writes a half dozen entries into the registry.
Calefaction
I lied, I was able to get a copy *grins* Any chances of getting AC Tool setup for Delphi 7?

I tried to open the Delphi files and compile them, but failed at the package with:
[Fatal Error] pmemoreg.pas(14): File not found: 'DsgnIntf.dcu'

I am assuming this is in the TPlusMemo stuff somewhere smile.gif
Latak
Same request here. smile.gif
cam
I can do the AC Tool side, but the plugin is virtually impossible since I don't have AC any longer. Fixing the COM map is pretty easy, but you need to "test" it pretty heavily.

I will see if I can whip something up in my down time... which I have almost none of these days.
Amaroth
QUOTE (Calefaction @ Aug 28 2003, 04:05 PM)
I lied, I was able to get a copy *grins* Any chances of getting AC Tool setup for Delphi 7?

I tried to open the Delphi files and compile them, but failed at the package with:
[Fatal Error] pmemoreg.pas(14): File not found: 'DsgnIntf.dcu'

I am assuming this is in the TPlusMemo stuff somewhere smile.gif

tried to open the Delphi files and compile them, but failed at the package with:
[Fatal Error] pmemoreg.pas(14): File not found: 'DsgnIntf.dcu'

I am assuming this is in the TPlusMemo stuff somewhere smile.gif


Ditto:Downloaded the trial Delphi 7. Spent all day searching the net to no avail. There was a for a PlusMemo.dcu for Trail vers 6 but it didn't work, along with trying a hundred (felt like thousands of other things blink.gif


****Update: decided to go with VC++.net****
Incontinentia
http://www.ecmqc.com/plusmemo/download.htm Evaluation for D7 biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.