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

  1. #1

    Default .net and dlls

    Hi,

    I'm using .net and C# and from C# i'm calling a dll. The
    problem is that after the dll runs, it gets blocked and i
    can't update or delete the file unless i stop .net or
    reboot my computer. Does this mean that i need to put my
    dll in a com+ object? Is there an easier way to solve this
    problem?
    ana Guest

  2. Similar Questions and Discussions

    1. extracting dlls from cab
      Internet Component Download: I've created cab file which must extract a list of dlls to the user's machine. Since there is problem in extracting...
    2. Web Services and DLLs
      I'm new to Web Services, and doing some research on solutions to solve my business problem. I have a 3rd party DLL I would like to expose to my...
    3. Loading non COM Dlls?
      Hey all, Im trying to call a win32 dll from coldfusion, but everywhere i look just talks about com dlls, is there no way to load a non COM dll...
    4. Help! Unable to load DLLs.
      Got error message: Unable to load dynamic library '.\extension\php_mssql.dll' - The specified module could not be found. I tried change php.ini...
    5. .Net Dlls and ASP.NET app.
      I posted this question in the past, but have not yet received an answer. Here is the question. By default an ASP.NET app developed in Visual...
  3. #2

    Default Re: .net and dlls

    What kind of DLL are you referring to? What do you mean by "stop .net?"

    HTH,

    Kevin Spencer
    Microsoft FrontPage MVP
    Internet Developer
    [url]http://www.takempis.com[/url]
    Big things are made up of
    lots of Little things.

    "ana" <ana_laura123@yahoo.com> wrote in message
    news:0f9c01c33cf4$e901ec50$a601280a@phx.gbl...
    > Hi,
    >
    > I'm using .net and C# and from C# i'm calling a dll. The
    > problem is that after the dll runs, it gets blocked and i
    > can't update or delete the file unless i stop .net or
    > reboot my computer. Does this mean that i need to put my
    > dll in a com+ object? Is there an easier way to solve this
    > problem?

    Kevin Spencer Guest

  4. #3

    Default Re: .net and dlls

    that is the nature of .dll's. when an api is called within a .dll, the .dll
    is loaded into memory and it is treated is if it is part of the program that
    is calling it. this also is shown that if the .dll crashes, your .exe
    calling it will also crash.

    that isn't to say you couldn't load it into a separate thread and when the
    thread disappears, maybe the api in memory also disappears. i am really not
    sure though, haven't tried it.

    jeff

    "ana" <ana_laura123@yahoo.com> wrote in message
    news:0f9c01c33cf4$e901ec50$a601280a@phx.gbl...
    > Hi,
    >
    > I'm using .net and C# and from C# i'm calling a dll. The
    > problem is that after the dll runs, it gets blocked and i
    > can't update or delete the file unless i stop .net or
    > reboot my computer. Does this mean that i need to put my
    > dll in a com+ object? Is there an easier way to solve this
    > problem?

    jeff 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