problem about windows-shell-Collection of common programming errors
Shrayas
c# windows-shell
My company uses a flavour of GIT for moving source code from your local system to the repository at the desired location (which later deploys and stuff , its a server basically) and the support for that tool is BAD. It uses the commandline and its very tedious to use it . I want to build somthing similar to tortoiseSVN / tortoiseGIT for this purpose and i am looking for a starting point. How would i get the overlay icons in the folder ? How would i be able to do windows explorer integration in
Rob Kennedy
delphi winapi windows-shell
I get an access violation when trying to get a pidl form a path in Delphi, and the returned pidl is nil. This is my code:type// TParseDisplayName = function(pszPath: PChar; pbc: pointer; var pidl: PItemIDList; sfgaoIn: LongWord; var psfgaoOut: LongWord): LongInt;TParseDisplayName = function(pszPath: PWideChar; pbc: IBindCtx; var pidl: PItemIDList; sfgaoIn: ULong; var psfgaoOut: ULong): HResult;varSHParseDisplayName: TParseDisplayName;SHELL32DLLHandle : THandle;procedure test(); varws : WideStrin
Pete McKinney
c# windows-shell shell-extensions
I was wanting to write a simple windows shell extension to add to the context menu, and C# is the language I most use these days. Is it a decent choice for a shell extension? Are the interfaces easy to get to with it? Is there additional overhead that causes the menu to be slower to pop up? Any one have good pointers for getting started?
igorbel
c# .net contextmenu windows-shell
The samples and the code were described here:http://blogs.msdn.com/b/codefx/archive/2010/09/14/writing-windows-shell-extension-with-net-framework-4-c-vb-net-part-1.aspxAnd the framework itself is available here:http://1code.codeplex.com/releasesHowever, all the shell extension samples were removed in april, with no explanation I can find except this commit message:http://1code.codeplex.com/SourceControl/changeset/changes/63354Does anybody now why were the samples removed, and do the earlier samp
Nils
windows com windows-shell
I know how to write shell extesions in python. The drawbacks areit does not work on 64 bit Windows I am unsure how creating a python process everytime something “happens” reduces performance.I know how to write shell extensions using .Net (C#) The drawbacks arediscouraged by MS I am unsure how this reduces performance. (does it?)I have seen shell extenions written in (free)pascal. Are there drawbacks using this approach Does this work with 64bit windows.Obviosly one can write shell extensions u
Ansgar Wiechers
cmd environment-variables windows-shell
I got troubles with the following sample. I have a file with a list of filenames. I want to check if these files exist, e.g.:%ProgramFiles%\Internet Explorer\iexplore.exe %SystemRoot%\sdfsdfsd.exe %SystemRoot%\explorer.exeEvery path contains envronment variable.My example of bat file: echo off for /f “tokens=*” %%a in (filelist.txt) do ( if exist “%%~a” ( echo %%~a exists ) else ( echo %%~a doesn’t exists ) )Filenames are loaded correctly, but I cmd can’t find all the files. I think th
Mr.C64
c++ winapi exception com windows-shell
In COM-based Windows Explorer shell extensions error conditions are expressed using HRESULT return values returned from COM interface methods.But if inside the body of a COM interface method (or inside a method of some C++ object called directly or indirectly in a COM method) a C++ exception (e.g. std::runtime_error, std::bad_alloc, std::invalid_argument, etc.) is thrown , what does exactly happen?Is this just an undefined behavior?Or is the C++ exception somehow converted to a Win32 Structured
Mr.C64
c++ winapi exception com windows-shell
C++ exceptions can’t cross COM module boundaries.So, assume we are in a COM method body, and some C++ potentially-throwing method/function is called (this can throw because e.g. STL classes are used):STDMETHODIMP CSomeComServer::DoSomething() {CppDoSomething(); // <— This may throw C++ exceptionsreturn S_OK; }Q1. Is the above code a viable implementation? For example, if that code is part of a context menu shell extension, if the C++ CppDoSomething() function throws a C++ exception, what do
Kichu
magento windows-shell
i upgraded the magento site from 1.4.1.1 to latest version.But when i loading the site it displays white page .And in fire bug it displays network server error.So i checked the errors using ssh.tail -f /var/log/apache2/error.logit displays some errors :root@MSHOME:/var/www/magento_upgrade# tail -f /var/log/apache2/error.log [Tue Jul 31 12:15:20 2012] [error] [client 192.168.1.11] PHP Fatal error: Undefined class constant ‘XML_PATH_CUSTOM_ADMIN_PATH’ in /var/www/magento_upgrade/app/code/core/Mag
Web site is in building