Never thought this would work so smoothly: Install Visual Studio 2010 AFTER Visual Studio 2012 – Stack Overflow.
–jeroen
Posted by jpluimers on 2013/08/06
Never thought this would work so smoothly: Install Visual Studio 2010 AFTER Visual Studio 2012 – Stack Overflow.
–jeroen
Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Software Development, VB.NET, VB.NET 10.0, VB.NET 11.0, VB.NET 8.0, VB.NET 9.0, Visual Studio 11, Visual Studio 2010, Visual Studio and tools | 7 Comments »
Posted by jpluimers on 2013/08/06
StackOverflow user opcOde wrote something interesting:
Writing device drivers in delphi is hard to impossible.
Here is an attempt to write drivers in delphi.
It is funny to see the link pointing to the DelphiBasics site: Advanced Delphi Driver Development Kit – DelphiBasics.
On my list of things to remember: might come in very useful one day (:
Note that opcOde also has an interesting blog: opc0de | just another enthusiastic coder.
–jeroen
via delphi – Winrollback/DeepFreeze How these softwares work? – Stack Overflow.
Posted in Delphi, Delphi 2010, Delphi 7, Development, Software Development | 9 Comments »
Posted by jpluimers on 2013/08/06
I was called by a client that didn’t want to do maintenance on an old Delphi application, but wanted to get dir of an I/O Error 131:
I/O Error 131: ERROR_NEGATIVE_SEEK
MessageText: An attempt was made to move the file pointer before the beginning of the file.
Tough luck: psychic powers told me someone is using an unsigned 32-bit integer to access a file using traditional style Assign/Reset/Seek/Read/Close patterns that Delphi kept as intrinsic routines for Turbo Pascal backward compatibility, and that file has grown over 2 gigabyte in size.
I quickly found an import file had grown over the 2 gigabyte, so this was indeed the case.
The original developers didn’t do the file access using the 64-bit Seek/Position of the TStream descendant TFileStream.
Too bad, as now someone has to dig through the mothballs to find the sources (if they survived 3 different version control system switches), create a working development environment, and fix the bug.
Another instance where technical debt in IT raises its ugly head and the compound interest is really expensive.
–jeroen
Posted in Conference Topics, Conferences, Delphi, Delphi 5, Development, Event, Software Development, Technical Debt | 14 Comments »
Posted by jpluimers on 2013/08/05
Posted in Development, Hardware Development, Software Development | Leave a Comment »
Posted by jpluimers on 2013/08/05
Could not find another way to transfer data off my wife’s BlackBerry 7 to her Google Nexus 4: the below video only only transfers the contacts.
Too bad there is no more Google Sync, so we need to find a way to transfer mail and photos too.
Any ideas?
Note: this works only from BlackBerry to Samsung devices: Easy Phone Sync – Android Apps on Google Play.
–jeroen
▶ How to transfer contacts from Blackberry to Galaxy S4 – YouTube.
Posted in BlacBerry 7, Google, Nexus 4, Power User | 12 Comments »
Posted by jpluimers on 2013/08/05
Since the ASUS RT-AC66U and ASUS RT-N66U are so similar, my guess is that the ASUS RT-N66U is vulnerable too.
–jeroen
Posted in ASUS RT-N66U, Network-and-equipment, Power User | Tagged: asus, routers, technology | Leave a Comment »
Posted by jpluimers on 2013/08/05
Cool:
Shrunk down an Arduino to the size of a finger-tip!
RFduino: A finger-tip sized, Arduino compatible, wireless enabled microcontroller, low cost enough to leave in all of your projects!
Should be combinable with this:
The TiltyIMU is a family of versatile open-source robotic controllers and software to allow anyone to build a self-balancing project.
–jeroen
via:
Posted in Development, Hardware Development | Leave a Comment »
Posted by jpluimers on 2013/08/05
On my research list: Hojoki: Make All Your Cloud Apps Work As One.
Should read the comments at Flotsam and Jetsam #70.
Posted in Cloud Apps, Internet, Power User | Leave a Comment »
Posted by jpluimers on 2013/08/04
Trick via: ▶ How to pair a desktop or laptop to youtube.com/pair – YouTube.
This trick uses the Opera Mobile Emulator.
Note that not all settings work. The Asus Nexus 7 emulator worked, but custom didn’t always work (that would open m.youtube.com as www.youtube.com/?nomobile=1 hence switching off the mobile client).
When following the steps at Pair your mobile device to your TV – YouTube Help, you are directed to m.youtube.com/select_site to select your TV and enter a pairing code.
Usually you need to retry playing a video a few times: my Philips 42PFI7676H-12 didn’t always work at first (maybe playing back streamed video inside the emulator is not supported, but telling Youtube to pass the play request to your TV is), whereas with my Google Nexus 4 it always works.
You can even pair one computer to another: on the computer that emulates the TV, browse to www.youtube.com/leanback.
–jeroen
Posted in Android Devices, Opera, Opera Mobile, Power User, Web Browsers | Leave a Comment »
Posted by jpluimers on 2013/08/03
If you ever get something similar to
InvalidCastException: [A]Person cannot be cast to [B]Person.
then you are (or more precise: your process is) probably loading the same assembly twice, but from a different context.
.NET allows that, and for reason (side by side loading, appdomains, etc).
Delphi doesn’t (thanks Warren Postma for noticing). But a mistake you see quite often is that Delphi developers try to load the same Delphi type from both an EXE and a DLL wondering why they don’t match. If you want to spread your types in Delphi, then use BPLs (run-time packages) for that. BPLs are similar to .NET assemblies, but cannot be loaded in memory twice.
–jeroen
via c# – InvalidCastException for two Objects of the same type – Stack Overflow.
Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Software Development, VB.NET, VB.NET 10.0, VB.NET 11.0, VB.NET 8.0, VB.NET 9.0, Visual Studio 11, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools | Leave a Comment »