Recent content by scot_paro

  1. S

    VSTO calling unmanged function

    Fixed it!! :D It's always the way of these things. As I was typing my first reply I was thinking about the first parameter I was passing and wondering if I was somehow corrupting the stack with it. Well, I was! I was passing the address as a Long, which in VB.NET land is 64 bits. My...
  2. S

    VSTO calling unmanged function

    Thanks Ken, but it makes no difference at all. I've changed my test program and my application, and the test program works fine (as it always has) but the VSTO application fails with an access violation, as before. The really confusing thing is that the first argument in the unmanaged...
  3. S

    VSTO calling unmanged function

    Hi, I'm really struggling with this so any help would be appreciated. Outlook 2007, VS2008 Pro, VSTO 3, XP Pro x64 (dev) and x32 (test). I've a C++ dll with a bunch of functions to handle the registry, some custom authentication of the product, and some comms. I'd rather not have...
Back
Top