Do you eat your digital pics RAW…

…or do you cook them until they’re JPEG?   I had a great time talking to Matt and James at Interwoven today about RAW image formats.  (Sorry if I went overboard guys!)  You see, we all have digital SLRs and were pondering the usefulness of RAW images.   My jury is still out there debating. …

12

Speaking of digital photography

Just seconds after making my last post I came across:  Digital camera sales booming – http://www.cnn.com/2004/TECH/ptech/12/16/digital.cameras.reut/index.html. Of course this article mentions “click-to-click speed” as the most prevelant compaint digital camera owners face.  The selling point of a digital camera is it’s MP (megapixel) rating.   Sound familiar?  Until recently computers used processor speed as the biggest marketing…

1

This *is* the camera I am looking for…Excuse me?

After years of drooling over this or that digital camera (SLR) I FINALLY have one of my own.  Better yet, it was a present!!!!    I now have a brand, spankin’ new Canon 20D complete with vertical batter grip, extra batteries, remote switch, and a 2GB Sandisk Ultra II CF card.  This thing is absolutely…

6

Getting a NullReference Exception Generating WSDL for your Remoted Object?

Maybe you didn’t know, but you can generate a WSDL document for your remote object fairly easily.  You can generate the contract XML directly or you can use soapsuds.exe to generate a proxy dll that you can share with your consumers.  All you have to do is make a request to your remote object URI…

3

RegAsm error: Cannot write to the registry key.

C:\Temp\ClassLibrary1\ClassLibrary1\bin>regasm ClassLibrary1.dll Microsoft (R) .NET Framework Assembly Registration Utility 1.1.4322.573 Copyright (C) Microsoft Corporation 1998-2002.  All rights reserved.                                                                                                                .             Types registered successfully                                                                                                                   .                                               C:\Temp\ClassLibrary1\ClassLibrary1\bin>regasm ClassLibrary1.dll /u Microsoft (R) .NET Framework Assembly Registration Utility 1.1.4322.573 Copyright (C) Microsoft Corporation 1998-2002.  All rights reserved.                                                                             .             RegAsm error: Cannot write to the registry key.  …

0

Calling CoGetInterceptor on Win2k

The documentation for CoGetInterceptor indicate that this API is available on Windows 2000 platforms.  Indeed it is but ole32.dll doesn’t export this function as indicated by the documentation…at least not the versions of ole32.dll that are available on Win2k.  On Win2k it is actually exported by txfaux.dll which lives in %system32% .  Unfortunately there’s no .lib file…

0

COM Interop – Releasing unused COM libraries

Following up with my last post on releasing PInvoked libraries….this time with COM libraries.  There’s a more robust way to do this for COM libraries.  After you’re done with your COM libraries and you’ve released all associated resources (Marshal.ReleaseCOMObject()) you can free all COM libraries that are in your process space by PInvoking CoFreeUnusedLibrariessEx.  This call…

0

PInvoke Library Load/Unload Behavior – Freeing Unmanaged Libraries

What’s the load behavior of dlls that we PInvoke into anyway?  The libraries that are pinvoked are loaded when the 1st call to that function is made.  The module will stay loaded in memory until the AppDomain shuts down.  Typically this means that the dll will be loaded into your applications memory until the process…

3

Debugging VB6 binaries in Visual Studio .NET

If you are using interop to call into a VB6 ActiveX dll or exe and you need to debug your VB6 project you may find yourself having both VS.NET and the VB6 IDE open.  This can certainly be far from efficient.   Typically you set your VB6 project to “Wait for the Component to be…

7

Event ID 1000 – .NET Runtime Warning “Attribute names must be unique.”

You may find the following event in your Application event log:     Event Type:       Warning Event Source:    .NET Runtime Event Category: None Event ID:           1000 Date:                10/8/2004 Time:                9:35:49 AM User:                N/A Computer:         WEB5 Description: The description for Event ID ( 1000 ) in Source ( .NET Runtime ) cannot be found. The local…

0