Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts
Sunday, February 01, 2015
Testing f.lux that adjust color temperature of the display
Trying out a tool called f.lux that adjust the color on the computer screen so that the eyes don't get tired so fast when working late evening/night. I found the tool in Scott Hanselman:s ultimate tool list so thanks for sharing. Worth trying out when working late during the winter month. I must admit that I've started adjusting the brightness on the phone and surface after using f.lux a while, because I felt the brightness was too bright for my eyes.
Sunday, November 02, 2014
Compiling Qt code gave: multiple definition of ...
Got an error when compiling our code:
In Windows 7 and visual studio, I at first did not notice the problem, but it was giving a warning:
LNK4042: object specified more than once; extras ignored
In Linux and gcc it gave an error, so I could not compile the code:
multiple definition of `<constructor of class>'
collect2: ld returned 1 exit status
I took som time to figure it out, but turned out to be a bad merge in subversion,
the *.pro file had the same class twice in
HEADERS += \ Class1.h /
Class1.h
SOURCES += \ Class1.cpp /
Class1.cpp
Rremoving the second time the class name where entered in the *.pro file solved the problem. See http://stackoverflow.com/questions/4722400/qt-compiler-warning-overriding-commands-for-target-ignoring-old-commands-for
In Windows 7 and visual studio, I at first did not notice the problem, but it was giving a warning:
LNK4042: object specified more than once; extras ignored
In Linux and gcc it gave an error, so I could not compile the code:
multiple definition of `<constructor of class>'
collect2: ld returned 1 exit status
I took som time to figure it out, but turned out to be a bad merge in subversion,
the *.pro file had the same class twice in
HEADERS += \ Class1.h /
Class1.h
SOURCES += \ Class1.cpp /
Class1.cpp
Rremoving the second time the class name where entered in the *.pro file solved the problem. See http://stackoverflow.com/questions/4722400/qt-compiler-warning-overriding-commands-for-target-ignoring-old-commands-for
Wednesday, June 29, 2011
Setting file security in IIS 7.
Had some problems when migrating a web service to run on Windows 2008 R2 and IIS 7.5. Two of the asmx interfaces needed to have their own file security settings. I could not figure it out but googled it a bit and found the answer in StackOverflow:
Very strange UX!?!
1.In IIS7, browse to the directory containing your public.asmx and private.asmx files.
2.The title at the top will reflect the current directory, like "WebService Home". Click the "Content View" button at the bottom.
3.Right-click on your public.asmx file and choose "Switch to Features View".
4.The title should be "public.asmx Home" to confirm that you're managing the one file.
5.Add your IP restrictions. In this case, I think you want an Allow entry for 127.0.0.1 and choose "Edit Feature Settings" from the Action menu to Deny access to unspecified clients.
6.Click your containing folder again (e.g. WebService) and switch to Content View again to repeat these steps on private.asmx.
Very strange UX!?!
Monday, February 01, 2010
Debuggning
Såg en bra presentation av verktyg och debuggning som kan vara värd att nämna på bloggen. DnrTV en av mina favorit TV-kanaler har haft ett avsnitt med Tess Ferrandez http://blogs.msdn.com/tess/ där hon går igenom Debug Diagnostics Tool och WinDbg och hur man kan använda dessa för att felsöka krasher och låsningar i .Net kod. http://www.dnrtv.com/default.aspx?showNum=157
Subscribe to:
Posts (Atom)