The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

    20140508-Delphi-2007--Project-Options--Cannot-Edit-Application-Title-HelpFile-Icon-Theming

    20140430-Fiddler-Filter-Actions-Button-Run-Filterset-now

    20140424-Windows-7-free-disk-space

    More Photos
  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,724 other followers

Archive for September 14th, 2012

What is the best Report tool for Delphi? – Stack Overflow

Posted by jpluimers on 2012/09/14

Interesting question What is the best Report tool for Delphi? – Stack Overflow that hopefully leads to a nice list of current reporting tools before it gets closed as “question will likely solicit debate, arguments, polling, or extended discussion”.

–jeroen

Posted in Delphi, Development, Software Development | 1 Comment »

Delphi, solutions for `while debugging with Environment Variable “The program can’t start because ….dll is missing”‘

Posted by jpluimers on 2012/09/14

Two days ago I ran into the bug below while porting some code from Delphi 2006 to Delphi XE2, posted on StackOverflow, and got solutions in very little time.

Thanks Andreas HausladenDavid Heffernan, Ken WhiteSertac Akyuz, Rudy Velthuis, for answering, providing solutions and verifying!

Note that this worked up until Delphi XE, and has been fixed in Delphi XE3 (which for this project I can’t use as the client upgraded to XE2 without SA).

Problem

  • I get the error mentioned further on error when debugging an executable in Delphi XE2 update 4 under these circumstances:
  • that depends on mqic.dll from WebShpere that is in C:\Program Files \IBM\WebSphere MQ\bin\mqic.dll and C:\Program Files\IBM\WebSphere MQ\bin is on the system path (not on the user path).
  • is being debugged with an override environment variable in the Run -> Parameters -> Debugger -> Environment Block -> User overrides
  • Including System Variables on the same property page is checked

This is the error (it’s a Windows DLL load error marked “System Error”).

The program can’t start because mqic.dll is missing from your computer. Try reinstalling the program to fix this problem.

Solutions

–jeroen

via delphi – while debugging with Environment Variable “The program can’t start because ….dll is missing” – Stack Overflow.

Posted in Delphi, Delphi 2006, Delphi 2007, Delphi XE, Delphi XE2, Delphi XE3, Development, Software Development | Tagged: , , , | Leave a Comment »

Making RoboCopy silent (via: backup – How can I make robocopy silent in the command line except for progress? – Stack Overflow)

Posted by jpluimers on 2012/09/14

A while ago, I got a question from a colleague on how to silence RoboCopy.

The RoboCopy /? help is a bit awkward to read, so there is this nice SO answer by Ruben Koene:

So together with previous answer you get the following and it’s silent:

ROBOCOPY [target] /njh /njs /ndl /nc /ns /np /nfl

And there is the FIND way where I marked the relevant options with an asterisk (*):

C:\Users\jeroenp>robocopy /? | find /i "No"
                 /S :: copy Subdirectories, but not empty ones.
            /NOCOPY :: COPY NO file info (useful with /PURGE).
             /PURGE :: delete dest files/dirs that no longer exist in source.
                /PF :: check run hours on a Per File (not per pass) basis.
                       n must be at least 1 and not greater than 128.
                /XJ :: eXclude Junction points. (normally included by default).
                 /X :: report all eXtra files, not just those selected.
*               /NS :: No Size - don't log file sizes.
*               /NC :: No Class - don't log file classes.
*              /NFL :: No File List - don't log file names.
*              /NDL :: No Directory List - don't log directory names.
*               /NP :: No Progress - don't display percentage copied.
*              /NJH :: No Job Header.
*              /NJS :: No Job Summary.
              /NOSD :: NO Source Directory is specified.
              /NODD :: NO Destination Directory is specified.

–jeroen

via: backup – How can I make robocopy silent in the command line except for progress? – Stack Overflow.

Posted in Power User, RoboCopy, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 2 Comments »

 
%d bloggers like this: