how to invoke a method in a DLL

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

  1. #1

    Default how to invoke a method in a DLL

    I want to create date and return them on the fly.

    I wonder I I could create a DLL with some static method in it and invoke
    directly with an URL of the style
    [url]http://myHost/myDll#myClass.myMethod?arg1=val1&arg2=val2[/url]

    is it possible to have something like that ?
    any thought ?


    Lloyd Dupont Guest

  2. Similar Questions and Discussions

    1. How to publish the WebServicesClientProtocol.Invoke method
      Hi: I need your help, please read the following code: * The actual WebService Dim proxy As Microsoft.Web.Services2.WebServicesClientProtocol...
    2. SoapHttpClientProtocol.Invoke method problem
      I have to call a web services and i only know the method name at runtime. I create a proxy class and then modify the method: public...
    3. Error: Cannot invoke method
      I meet such a error message when invoke a remote java object call. Any one can tell me how to deal with it? Thanks!
    4. Test page for ASMX (invoke method)
      Is there a way to get Windows Server 2003 to loosen up on the auto-generated test page for an .ASMX file. At present I can only invoke the method...
    5. Problem to invoke a method of webservice from a C++ SoapClient
      Hi, I used SoapClient Libray provided by SQLData to invoke a method exposed by Webservices of weblogic over HTTP.(using WSDL). I'm not successful...
  3. #2

    Default Re: how to invoke a method in a DLL

    Do you mean web services ???

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  4. #3

    Default Re: how to invoke a method in a DLL

    does it work ? (I mean could you show me a web services sample doing that ?)

    I tell you my problem, I'm writting a 'preview' custom control.
    basically it's an input of type image wich show the image onclick and should
    display a small version of the image, for this I should set its src
    property.
    and here come the problem. what URL could I use ? (for the src)
    I could rely on the end user to provide an URL for the preview image, but
    that won't be a very powerfull preview control this way .. so I do need this
    user control to provide an URL pointing to itself which return the picture.

    if you have any idea ?
    anyway today I made lot of test and manage to write a cgi (.exe) which could
    be invoked by IE and return whatever I want.
    tomorrow I will try to put my preview custom control in it, and that would
    be the surprise ...
    although there is the drawback I lost session management doing so and then I
    can't cache the preview, so it's not good either. maybe I will end up
    requiring a 'FileUtil.aspx' page to be used with the preview control, so sad
    ;-(

    "Natty Gur" <natty@dao2com.com> a écrit dans le message de
    news:etSf0rUSDHA.304@tk2msftngp13.phx.gbl...
    > Do you mean web services ???
    >
    > Natty Gur, CTO
    > Dao2Com Ltd.
    > 28th Baruch Hirsch st. Bnei-Brak
    > Israel , 51114
    >
    > Phone Numbers:
    > Office: +972-(0)3-5786668
    > Fax: +972-(0)3-5703475
    > Mobile: +972-(0)58-888377
    >
    > Know the overall picture
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Lloyd Dupont Guest

  5. #4

    Default Re: how to invoke a method in a DLL

    OK,
    1) you can create web form that will return images by changing the
    content type and write binary output you can refer to my sample (create
    images for buttons)[1]. the page can take parameters as query string.

    2) if you want to be more dynamic you can create your own HTTP module
    and handler.

    [1] - [url]http://www.developersdex.com/gurus/code/599.asp[/url]

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur 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