I downloaded this component... http://www.torry.net/vcl/system/shell/shcmdint.zip ----------------------------------------------------------------------------------------------------------------------------------------- Components > System > Shell TShellCommand Interface v.1.02 FWS 57 Kb 10 Jul 2000 By Ken Miles. A component that allows applications to interact with the Windows Explorer, open documents in an existing (single) instance of the application and respond to right mouse menu items for file types in the Windows Explorer. It can simply process the command line parameters and switches using the same events as reponding to Explorer. It handles the defining Windows Shell File Associations and their commands from simple dialogs within the Object Inspector and provides simple registration in registry. Fully functional Source: Included Download: CB1 CB3 CB4 CB5 D2 D3 D4 D5 ----------------------------------------------------------------------------------------------------------------------------------------- Anyway I added the path to the win32 Library path after Delphi 2010 ( By the way this component installs simply into Delphi 5 using install component so this is more of an experment on how to handle error messages and installing .pas component) clicking File>>>New Package>>>goto "contains" folder in 'Project Manager' and right click 'add' then look for 'Shell_DDE_Reg.pas' then install Right click package.bpl and 'install' then I get error messages... Checking project dependencies... Compiling Package1.dproj (Debug configuration) [DCC Error] EditFileAssociation.pas(406): E2010 Incompatible types: 'Char' and 'AnsiChar' [DCC Error] EditFileAssociation.pas(406): E2010 Incompatible types: 'Char' and 'AnsiChar' [DCC Error] EditFileAssociation.pas(455): E2010 Incompatible types: 'Char' and 'AnsiChar' [DCC Fatal Error] Shell_DDE_reg.pas(14): F2063 Could not compile used unit 'EditFileAssociation.pas' Failed Elapsed time: 00:00:00.2 This was a handy link for how to install pas component. http://video.codegear.com/pix/nickhodges/Camtasia/InstallComponent/InstallComponent.html Any help is appreciated Richard Edited by: Richard Caruana on Mar 3, 2010 3:05 PM Edited by: Richard Caruana on Mar 3, 2010 3:05 PM
![]() |
0 |
![]() |
Richard Caruana wrote: > I downloaded this component... > > http://www.torry.net/vcl/system/shell/shcmdint.zip > > ---------------------------------------------------------------------- > ------------------------------------------------------------------- > Components > System > Shell TShellCommand Interface v.1.02 FWS 57 Kb > 10 Jul 2000 By Ken Miles. A component that allows applications to > interact with the Windows Explorer, open documents in an existing > (single) instance of the application and respond to right mouse menu > items for file types in the Windows Explorer. > > It can simply process the command line parameters and switches using > the same events as reponding to Explorer. > > It handles the defining Windows Shell File Associations and their > commands from simple dialogs within the Object Inspector and provides > simple registration in registry. > > Fully functional > Source: Included > Download: CB1 CB3 CB4 CB5 D2 D3 D4 D5 > > ---------------------------------------------------------------------- > ------------------------------------------------------------------- > > Anyway I added the path to the win32 Library path after Delphi 2010 ( > By the way this component installs simply into Delphi 5 using install > component so this is more of an experment on how to handle error > messages and installing .pas component) clicking File>>>New > Package>>>goto "contains" folder in 'Project Manager' and right click > 'add' then look for 'Shell_DDE_Reg.pas' then install > > Right click package.bpl and 'install' > > then I get error messages... > Checking project dependencies... > Compiling Package1.dproj (Debug configuration) > [DCC Error] EditFileAssociation.pas(406): E2010 Incompatible types: > 'Char' and 'AnsiChar' [DCC Error] EditFileAssociation.pas(406): E2010 > Incompatible types: 'Char' and 'AnsiChar' [DCC Error] > EditFileAssociation.pas(455): E2010 Incompatible types: 'Char' and > 'AnsiChar' [DCC Fatal Error] Shell_DDE_reg.pas(14): F2063 Could not > compile used unit 'EditFileAssociation.pas' Failed Elapsed time: > 00:00:00.2 > > > This was a handy link for how to install pas component. > > http://video.codegear.com/pix/nickhodges/Camtasia/InstallComponent/InstallComponent.html Installing doesn't seem to be the problem. The problem is that the component was written for Delphi 5. Delphi 2009 and 2010 now have Unicode strings, so some string handling has changed. You'll have to make the code fit for Unicode and Delphi 2010. See "Delphi in a Unicode world", parts I-III http://edn.embarcadero.com/article/38437 http://edn.embarcadero.com/article/38498 http://edn.embarcadero.com/article/38693 FWIW, installing components in D2010 (or D2006, D2007 and D2009) should be easier using my expert for it: http://rvelthuis.de/programs/compinstall.html Read the installation instructions on that web page first. -- Rudy Velthuis (TeamB) http://www.teamb.com "If you understand everything, you must be misinformed." -- Japanese Proverb
![]() |
0 |
![]() |
Can't get it to work.. I get to here.. Then you can activate the CompInstall.bpl project. DID THAT ! Now I don't know what to do ???It says Installation can be done... but what does that mean ? There are no specific instructions about what to do? "Installation can also be done from the context menu. If the project was installed successfully, under the menu Component there should be a new menu item Install VCL Component." IF I click install for CompInstall140.bpl I get errors if I click run in the IDE(refresher Definition of: IDE (1) (Integrated Development Environment) ) I get errors. What is the "context menu" Now I'm stuck..... errors compinstall.dproj requires designide, rtl, vcl, vclactnband, vclx, xmlrtl, *CompInstallComponents;* PS I can see TMRUComboBox in CompInstaller TAB in the Components PANEL thanks Richard Edited by: Richard Caruana on Mar 3, 2010 4:25 PM Edited by: Richard Caruana on Mar 3, 2010 4:47 PM Edited by: Richard Caruana on Mar 3, 2010 4:54 PM Edited by: Richard Caruana on Mar 3, 2010 4:57 PM Edited by: Richard Caruana on Mar 3, 2010 4:59 PM Edited by: Richard Caruana on Mar 3, 2010 5:01 PM Edited by: Richard Caruana on Mar 3, 2010 5:12 PM Edited by: Richard Caruana on Mar 3, 2010 5:35 PM
![]() |
0 |
![]() |
Richard Caruana wrote: > Can't get it to work.. > > I get to here.. > Then you can activate the CompInstall.bpl project. DID THAT ! > > Now I don't know what to do ???It says Installation can be done... > but what does that mean ? There are no specific instructions about > what to do? Next time, I'll include a screen shot on the web page. <g> > "Installation can also be done from the context menu. If the project > was installed successfully, under the menu Component there should be > a new menu item Install VCL Component." > > IF I click install for CompInstall140.bpl I get errors if I click run > in the IDE(refresher Definition of: IDE (1) (Integrated Development > Environment) ) I get errors. Let's take this to email (the one I'm using here is valid). Clicking install in the context menu of the Project Manager for this package is indeed what you should do. Just tell me what errors you get. -- Rudy Velthuis (TeamB) http://www.teamb.com "The Christian resolution to find the world ugly and bad has made the world ugly and bad." -- Nietzsche
![]() |
0 |
![]() |
"Clicking install in the context menu of the Project Manager for this package is indeed what you should do." *That is what I originally thought and that is what I did (but I was not sure)* *But I get error message/ warning* "Let's take this to email (the one I'm using here is valid). " *what is your email ? Can't see of find that.* "Just tell me what errors you get" Build started 04-03-2010 1:23:34 PM. __________________________________________________ Project "C:\Program Files\Embarcadero\RAD Studio\7.0\lib\comp_install\D2010\CompInstall.dproj" (Make target(s)): Target BrccCompile: c:\program files\embarcadero\rad studio\7.0\bin\brcc32.exe -dRELEASE;DEBUG -i"c:\program files\embarcadero\rad studio\7.0\lib";"C:\Documents and Settings\Richard\My Documents\RAD Studio\7.0\Imports";"c:\program files\embarcadero\rad studio\7.0\Imports";"c:\program files\embarcadero\rad studio\7.0\Lib\Indy10";"C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Dcp";"c:\program files\embarcadero\rad studio\7.0\include";"c:\program files\embarcadero\rad studio\7.0\RaveReports\Lib";C:\CodeGear\I nterBase\bin;C:\WINDOWS\system32;"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\shellcmd1";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\slink";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\comp_install\D2010";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\comp_install\Common" "..\Common\CompInstallResources.rc" -foCompInstallResources.res Borland Resource Compiler Version 5.40 Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved. Target CoreCompile: c:\program files\embarcadero\rad studio\7.0\bin\dcc32.exe -$R+ -$Q+ -$D- -$L- -$Y- --no-config -M -Q -AWinTypes=Windows;WinProcs=Windows -DRELEASE;DEBUG -I"c:\program files\embarcadero\rad studio\7.0\lib";"C:\Documents and Settings\Richard\My Documents\RAD Studio\7.0\Imports";"c:\program files\embarcadero\rad studio\7.0\Imports";"c:\program files\embarcadero\rad studio\7.0\Lib\Indy10";"C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Dcp";"c:\program files\embarcadero\rad studio\7.0\includ e";"c:\program files\embarcadero\rad studio\7.0\RaveReports\Lib";C:\CodeGear\InterBase\bin;C:\WINDOWS\system32;"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\shellcmd1";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\slink";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\comp_install\D2010";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\comp_install\Common" -LE"c:\program files\embarcadero\rad studio\7.0\lib" -LN"c:\program files\embarcadero\rad studio\7.0\DCP" -N0Units -NB"c:\program files\embarcad ero\rad studio\7.0\DCP" -O"c:\program files\embarcadero\rad studio\7.0\lib";"C:\Documents and Settings\Richard\My Documents\RAD Studio\7.0\Imports";"c:\program files\embarcadero\rad studio\7.0\Imports";"c:\program files\embarcadero\rad studio\7.0\Lib\Indy10";"C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Dcp";"c:\program files\embarcadero\rad studio\7.0\include";"c:\program files\embarcadero\rad studio\7.0\RaveReports\Lib";C:\CodeGear\InterBase\bin;C:\WINDOWS\system32;"C:\Program Files\Emba rcadero\RAD Studio\7.0\lib\shellcmd1";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\slink";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\comp_install\D2010";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\comp_install\Common" -R"c:\program files\embarcadero\rad studio\7.0\lib";"C:\Documents and Settings\Richard\My Documents\RAD Studio\7.0\Imports";"c:\program files\embarcadero\rad studio\7.0\Imports";"c:\program files\embarcadero\rad studio\7.0\Lib\Indy10";"C:\Documents and Settings\All Users\Docum ents\RAD Studio\7.0\Dcp";"c:\program files\embarcadero\rad studio\7.0\include";"c:\program files\embarcadero\rad studio\7.0\RaveReports\Lib";C:\CodeGear\InterBase\bin;C:\WINDOWS\system32;"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\shellcmd1";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\slink";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\comp_install\D2010";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\comp_install\Common" -U"c:\program files\embarcadero\rad studio\7.0\lib";"C:\Documents an d Settings\Richard\My Documents\RAD Studio\7.0\Imports";"c:\program files\embarcadero\rad studio\7.0\Imports";"c:\program files\embarcadero\rad studio\7.0\Lib\Indy10";"C:\Documents and Settings\All Users\Documents\RAD Studio\7.0\Dcp";"c:\program files\embarcadero\rad studio\7.0\include";"c:\program files\embarcadero\rad studio\7.0\RaveReports\Lib";C:\CodeGear\InterBase\bin;C:\WINDOWS\system32;"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\shellcmd1";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\slink ";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\comp_install\D2010";"C:\Program Files\Embarcadero\RAD Studio\7.0\lib\comp_install\Common" -K00400000 --description:"VCL Component Installer" -NO"c:\program files\embarcadero\rad studio\7.0\DCP" CompInstall.dpk C:\Program Files\Embarcadero\RAD Studio\7.0\lib\comp_install\D2010\CompInstall.dpk(39): error F2202: E2202 Required package 'CompInstallComponents' not found Done building target "CoreCompile" in project "CompInstall.dproj" -- FAILED. Done building project "CompInstall.dproj" -- FAILED. Build FAILED. C:\Program Files\Embarcadero\RAD Studio\7.0\lib\comp_install\D2010\CompInstall.dpk(39): error F2202: E2202 Required package 'CompInstallComponents' not found 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.29 Edited by: Richard Caruana on Mar 3, 2010 6:24 PM
![]() |
0 |
![]() |
Richard Caruana wrote: > Clicking install in the context menu of the Project Manager for this > package is indeed what you should do. > > That is what I originally thought and that is what I did (but I was > not sure) Fine. Let's take this to email, though. -- Rudy Velthuis (TeamB) http://www.teamb.com "Disobedience is the true foundation of liberty. The obedient must be slaves." -- Henry David Thoreau
![]() |
0 |
![]() |
Richard Caruana wrote: > "Clicking install in the context menu of the Project Manager for this > package is indeed what you should do." > > *That is what I originally thought and that is what I did (but I was > not sure)* > > *But I get error message/ warning* > > "Let's take this to email (the one I'm using here is valid). " > *what is your email ? Can't see of find that.* I see you found a way to post a private message to the forum. In a newsgroup (NNTP) client (which is what most people here are probably using - forums are a totally inconvenient and terribly slow way to communicate) you would have seen my email address in the header. IOW, you can subscribe to these groups using, say, MS Mail or MS Outlook Express, or even something better like XanaNews, Gravity, Agent, etc. Much more control, much more convenience, far better overview, etc. -- Rudy Velthuis (TeamB) http://www.teamb.com "Heresy is a cradle; orthodoxy a coffin." -- Robert G. Ingersoll
![]() |
0 |
![]() |
Richard Caruana wrote: > Project "C:\Program Files\Embarcadero\RAD > Studio\7.0\lib\comp_install\D2010\CompInstall.dproj" > > Edited by: Richard Caruana on Mar 3, 2010 6:24 PM I see that "C:\Program Files" is the problem. I guess I'll have to move the output and dcp directories elsewhere. Mine are not under "C:\Program Files", so they are writable. "C:\Program Files" and subdirectories are not (easily) writable, and I assume that is the problem for most people. I'll post a new setup to my website tomorrow. I'm going to bed now. -- Rudy Velthuis (TeamB) http://www.teamb.com "I was asked to memorize what I did not understand; and, my memory being so good, it refused to be insulted in that manner." -- Aleister Crowley
![]() |
0 |
![]() |
"you would have seen my email address in the header." *I tried clicking on your name but there is no information about your email address.* *I even tried going to your website but to no avail.* kind regards Richard PS Just for future reference if there is a problem to be found trust me to find it. One day I might just create a problem.... but that is not in my nature. Edited by: Richard Caruana on Mar 3, 2010 7:52 PM
![]() |
0 |
![]() |
Hello Rudy, I tried adding ... C:\Program Files\Embarcadero\RAD Studio\7.0\DCP to my library path and now it works....hang on I turned Delphi off and tried it again and now it does not work. thanks Richard Edited by: Richard Caruana on Mar 3, 2010 9:22 PM
![]() |
0 |
![]() |
Richard Caruana wrote: > "you would have seen my email address in the header." If you had used a newsreader, instead of the web forums, yes, you would. -- Rudy Velthuis (TeamB) http://www.teamb.com "I really hate this damned machine I wish that they would sell it. It never does quite what I want But only what I tell it."
![]() |
0 |
![]() |
Richard Caruana wrote: > Hello Rudy, > > I tried adding ... > > C:\Program Files\Embarcadero\RAD Studio\7.0\DCP > > to my library path and now it works....hang on I turned Delphi off > and tried it again and now it does not work. As the article says, be sure that the .bpl files are in directories in the Windows system path. Otherwise the IDE can't load them. -- Rudy Velthuis (TeamB) http://www.teamb.com "If you plan to throw one away, you will throw away two." -- Craig Zerouni
![]() |
0 |
![]() |
> > > "you would have seen my email address in the header." > > If you had used a newsreader, instead of the web forums, yes, you would. > I use Firefox and it does not have a newsreader. Did you make an update to the compinstall program? Delphi asks me to reinstall program when I restart the Program. OK I put a copy of the two bpl files in windows\system32 eg CompInstallComponents140.bpl and CompInstall140.bpl and now it works again. Thanks Richard
![]() |
0 |
![]() |
Richard Caruana wrote: > > > > > "you would have seen my email address in the header." > > > > If you had used a newsreader, instead of the web forums, yes, you > > would. > > I use Firefox and it does not have a newsreader. I use Firefox too, and indeed, it doesn't have a newsreader. But I also use XanaNews, and that is a very good (freeware) newsreader for NNTP newsgroups. -- Rudy Velthuis (TeamB) http://www.teamb.com "How the teacher reacts when something goes wrong tells the class what's important." -- Bruce Hamilton
![]() |
0 |
![]() |
what is the address to type in for this forum into the xananews newsreader ?
![]() |
0 |
![]() |
Richard Caruana wrote: > what is the address to type in for this forum into the xananews > newsreader ? forums.embarcadero.com -- Pieter "Heresy is a cradle; orthodoxy a coffin." -- Robert G. Ingersoll
![]() |
0 |
![]() |
Richard Caruana wrote: > what is the address to type in for this forum into the xananews > newsreader ? Server name: forums.embarcadero.com [x] This server requires me to log on. User name: (same as for the web interface) Password: (same as for the web interface) Retype password: (same as previous line) [x] Always authenticate. -- Rudy Velthuis (TeamB) http://www.teamb.com "Our scientific power has outrun our spiritual power. We have guided missiles and misguided men." -- Martin Luther King, Jr.
![]() |
0 |
![]() |
Rudy Velthuis (TeamB) wrote: > Richard Caruana wrote: > > > what is the address to type in for this forum into the xananews > > newsreader ? > > Server name: forums.embarcadero.com > > [x] This server requires me to log on. > > User name: (same as for the web interface) > Password: (same as for the web interface) > Retype password: (same as previous line) > > [x] Always authenticate. Well if we're going to make live easy ... :) Latest version is available here: http://xananews.techtips.com.br/releases/xananews-1191269/ Binary Download: http://xananews.techtips.com.br/files/XanaNews-1.19.1.269.zip Source Download: http://xananews.techtips.com.br/files/XanaNews-src-1.19.1.269.zip If you're upgrading from an old XN version you may need to update your OpenSSL DLLs: http://indy.fulgan.com/SSL/openssl-0.9.8k-i386-win32.zip The DLL needs to be in the same directory as the executable. And if one wants to add spelling checker capabilities: http://www.luziusschneider.com/Speller/English/index.htm (download and install ISpelIns.exe) XanaNews groups are one forums.talkto.net (but that newsserver is currently down), alternative on USENET is alt.usenet.offline-reader.xananews -- Pieter "I don't know that atheists should be considered citizens, nor should they be considered patriots. This is one nation under God." -- President George Bush, August 27, 1988
![]() |
0 |
![]() |
Richard Caruana wrote: >>> "you would have seen my email address in the header." >> If you had used a newsreader, instead of the web forums, yes, you would. >> > > I use Firefox and it does not have a newsreader. If you use Thunderbird for mail messages, it contain a newsreader. Just go to Tools | Account Settings and press Add account and choose the Newsgroup account radiobox at left bottom. Then add your name and email address (very little spam mail phishing here, so use real address) and then use forums.embarcadero.com as news-server. etc. etc. etc.
![]() |
0 |
![]() |
Alf Christophersen wrote: > Richard Caruana wrote: > >>> "you would have seen my email address in the header." > >> If you had used a newsreader, instead of the web forums, yes, you > would. > > > > > > > I use Firefox and it does not have a newsreader. > > If you use Thunderbird for mail messages, it contain a newsreader. > Just go to Tools | Account Settings and press Add account and choose > the Newsgroup account radiobox at left bottom. > > Then add your name and email address (very little spam mail phishing > here, so use real address) and then use forums.embarcadero.com as > news-server. > > etc. etc. etc. That's basically true, but IMO, TB sucks as a newsreader (it's fine for mail though). I'd rather use MSOE or MSMail than TB for that. Fortunately, there is XanaNews, and that is what I use. -- Rudy Velthuis (TeamB) http://www.teamb.com "His book is much harder to read than it must have been to write." -- Christopher Hitchens about Bob Woodwars's new book, 'State of Denial'
![]() |
0 |
![]() |