shadow copy for unmanaged dll

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default shadow copy for unmanaged dll

    I'm developing a web service that uses an unmanaged dll via P/Invoke. My
    problem is that I cannot remove or replace the unmanaged dll as I can for the
    managed assemblies because it is locked and not shadow copied. I always need
    to wait for an idle timeout on the WS that unloads the unmanaged dll. How can
    I enable shadow copies for unmanaged dlls?

    Thank you in advance,
    Jürgen Laude
    Jürgen Laude Guest

  2. Similar Questions and Discussions

    1. Drop shadow copy blues
      Is it possible to copy the drop shadow settings from one box to another in any way? I'm using OSX CS2 kind regards Alex
    2. Shadow Copy/Previous Versions Not Working
      We have a 2003 Enterprise File Server and I'm trying to enable shadow copy on the shares. I can see that the shadow copies do get created as the...
    3. Drop Shadow & Clipping Path Settings - How to copy and apply elsewhere
      I would like to know if anyone has any experience creating a "style" set for clipping path and drop shadow parameters. I'm working on Windows XP with...
    4. Shadow copy error! Help
      Hi I am windows 2003 ent server acting as a file server. I getting following event message: Event Type: Error Event Source: VolSnap Event...
  3. #2

    Default Re: shadow copy for unmanaged dll

    Hello Jürgen,
    For one any unmanaged code you need to be very careful to use teh Dispose
    method to free unmanaged resources as soon as possible. Secondly try to make
    sure you use yr unmanaged code for as little time a possible and not hang
    on to those resources that span requests.

    HTH
    Regards,
    Dilip Krishnan
    MCAD, MCSD.net
    dkrishnan at geniant dot com
    [url]http://www.geniant.com[/url]
    > I'm developing a web service that uses an unmanaged dll via P/Invoke.
    > My problem is that I cannot remove or replace the unmanaged dll as I
    > can for the managed assemblies because it is locked and not shadow
    > copied. I always need to wait for an idle timeout on the WS that
    > unloads the unmanaged dll. How can I enable shadow copies for
    > unmanaged dlls?
    >
    > Thank you in advance,
    > Jürgen Laude

    Dilip Krishnan Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139