Search   Feed   Browse   Add
Feed items 1 - 3 of 3 for August 2007

Miscellaneous Debris

Avner Kashtan's Frustrations and Exultations

Wrong constructor called in COM+: sneaky, sneaky bug - August 30, 2007

Here's another nasty one that tried to bite me today. Let's say I have the following classes: public class COMPlusClass : ServicedComponent   public COMPlusClass()          Default initialization.      public COMPlusClass (string data)         Parameterized initialization.   public class Client    public Client()   ...
http://weblogs.asp.net/avnerk/archive/2007/08/30/wrong-constructor-called-in-com-sneaky-sn...

Unmanaged deployment is a true DLL Hell - August 29, 2007

By a staggering margin, most of my problems integrating C++CLI code into my C-based project has been deployment problems. Without fail, every integration or test deployment will be plagued with inexplicable problems. I'll try to list a few, with their causes and (probable) solutions: 1) .NET assemblies are usually very loose in what they'll bind to. If I compiled A.DLL against B.DLL version 1.0.0.0, it will still work if it can only find B.DLL version 1.2.0.0. I don't have to rebuild and...
http://weblogs.asp.net/avnerk/archive/2007/08/30/unmanaged-deployment-is-a-true-dll-hell.a...

More Tales from the Unmanaged Side - System.String -> char - August 28, 2007

Today, I had a very tight deadline to achieve a very simple task: pass a managed .NET string to an API function that expects a null-terminated char. Trivial, you would expect Unfortunately it wasn't. My first though was to do the pinning trick that I mentioned in my last post, but in this case I needed my resulting char to be null-terminated. Second thought was to go to the System.Runtime.InteropServices.Marshal class and see what it had for me. I found two contenders: 1)...
http://weblogs.asp.net/avnerk/archive/2007/08/28/more-tales-from-the-unmanaged-side-system...
Available Archives
- August (3 items)
- October (5 items)
- October (1 item)
- December (2 items)
- December (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact