Breakpoints Not Working / .NET C++/CLI

I was having some trouble getting Visual Studio 2010 to stop at breakpoints in some unmanaged C++ code that’s in a C++/CLI project that I am working on, and as we all know Software Developments rapidly stops being fun if your debugger is broken!

I am using C++/CLI as a thin wrapper around this vanilla C++ functionality so that I could export it to .NET. All was working fine except that the breakpoints in the C++ code did not work. After some searching I found this post:

http://rhnatiuk.wordpress.com/2010/11/13/managednative-debugging-in-cc

The post suggested that I should set the ‘Enable unmanaged code Debugging’ setting of the start-up project (not the C++/CLI project), so I enabled it and the brakepoints started working fine – so big thanks Roman for the tip!

Best Microsite – Irish Web Awards

Some time ago I posted that some of Pride Design’s websites had got through to the finals of Irish Web Awards but I haven’t posted since to let you know how we got on…..

 

Well the really good news is that Cheffactor won in the ‘Best Microsite’ category – so we are very happy indeed! Here’s a picture of ‘Webby’ having a well earned pint and tasty nibble at the award ceremony, he can’t half throw ’em back!

 

pride design - cheffactor winner of Irish web award

 

Tethras Wins Seedcorn in Dublin Region

Congratulations to our favourite Mobile App Localization company Tethras who won the Dublin round of the seedcorn competition. Best of luck for the finals!

 

Allow Normal (non-service) App to write to Windows Event Log

Here is a very handy article that explains how you can alter your app’s setup project in Visual studio to install an Event Log Component so that your non-service app, when installed, can write to the windows event log without getting security errors:

 

http://msdn.microsoft.com/en-us/library/f5dcf6h3(v=vs.80).aspx

 

4 of Pride Design’s websites in the finals of the Irish Web Awards 2011.

 

Good news! Four of Pride Design‘s websites have got through to the finalists list in the Irish Web Awards 2011, my favourite – The Cork News has got through to the finals in two categories – Most Beautiful Website in Ireland & Best Online Publication Categories.

 

Pride Design are also in the finals in the Web Agency of the Year category, so here’s hoping we bring home some gold!

 

cheffactor.ie – Best Microsite Category.
hautemama.ie – Best eCommerce / Services Website Category.
cinnamoncottage.ie – Best SME/Small Business Website.
The Cork News -Most Beautiful Website in Ireland & Best Online Publication.

 

More details can be found here: http://webawards.ie/2011-finalists/

 

Good luck to all the finalists!

 

Visual Studio 2010 Setup Project HRESULT = ‘8001010E

 

A setup project I was working on in Microsoft Visual Studio suddenly stopped building with the following error;

An error occurred while validating. HRESULT = '8001010E'

When I tried to refresh the dependencies I got a nasty error message. If found this post and played with the suggested settings a bit without any joy. Then I shut-down visual studio and restarted and the build error went away! So if this happens to you all I can suggest is to take a look at this post or restart Visual Studio, or both!

 

Winmerge as Git Difftool on 64bit Windows 7

Every software developer’s day to day tasks includes keeping their software development tools up to date and running smoothly, today I got tired of viewing git differences in the raw and decided to hook winmerge up for viewing diffs.

 

Instructions for setting winmerge up as your Git difftool can be found here:

 

http://stackoverflow.com/questions/255202/how-do-i-view-git-diff-output-with-visual-diff-program/949242#949242

 

I tried to apply these instructions on Windows 7 64bit and had to make 2 changes to get it to work.

 

Change this command (run in git bash):

 

[code]
git config –global difftool.winmerge.cmd “winmerge.sh \”$LOCAL\” \”$REMOTE\””
[/code]

 

to this:

 

[code]
git config –global difftool.winmerge.cmd ‘winmerge.sh “$LOCAL” “$REMOTE”‘
[/code]

 

and in winmerge.sh, change this line:

 

[code]
“C:/Program Files/WinMerge/WinMergeU.exe” -e -ub “$1” “$2”
[/code]

 

to:

 

[code]
“C:\Program Files (x86)/WinMerge/WinMergeU.exe” -e -ub “$1” “$2”
[/code]

 

After making these changes differences were shown in winmerge after issuing the difftool command.

 

Google Cloud Development SDK v1.5.5 Released

 

Yesterday Google released v1.5.5 of their App Engine SDK. There are loads of nice changes in this release including the easing of some previously annoying limits, the one I am especially happy about is the doubling of the frontend request deadline from 30s to 60s, this will make our life a lot easier!

 

More details can be found here:

 

http://googleappengine.blogspot.com/2011/10/app-engine-155-sdk-release.html

It’s Chef Factor Time Again!

Cully&Sully’s Chef Factor is Back! The first prize is a 12 week cookery course in Ballymaloe worth €12,000, so if you fancy your hand at cooking up a storm check out all of the details along with the current entries here: http://www.cheffactor.ie/

 

cURL – File Upload with Form Post on the Commandline

Q: How can use cURL to emulate a form post with a file upload?
A: It took me a bit of time to figure this out but it is quite straight forward really, you just need to use (possibly multiple) --form (or -F) arguments like this:

 
curl -F appID=1234 -F name=Emulate -F appFile=@em.zip http://www.abc.com/na
 

This will emulate a form post to

http://www.abc.com/na

with two named data items (appID and name) and one file upload, the file upload will be named ‘appFile’, the local file em.zip will be uploaded with the post, and that should do it!