Exposing .NET/COM Objects as Dreamweaver JSExtensions

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default Exposing .NET/COM Objects as Dreamweaver JSExtensions

    Hi fellow extension developers,
    I'm researching a way to have Dreamweaver call into COM Objects,
    specifically how to expose these to the Dreamweaver runtime as a JSObject.

    I've experimented with the mm_jsapi examples for C++ 6.0 but find
    programming in C/C++ to be very challenging with my current skill-set. I'd
    rather apply my existing knowledge of the .NET framework and programming in
    C#, by exposing my Objects to COM, but am unsure about how I should wrap
    these objects in a JSExtension object.

    I realize that I'm probably oversimplifying the solution, I imagine a lot
    of work may go into marshalling values from COM to C to JavaScript and back
    again, then again, maybe the only thing I need to know is how to instantiate
    a com object and call it's methods in C.

    I'd appreciate any tips or advice from anyone more versed in C(++) and COM
    or just any bright idea or a link to RTFM.

    Joris van Lier
    --
    Merry Xmas everybody

    Joris van Lier Guest

  2. Similar Questions and Discussions

    1. Exposing Web Services
      I remember seeing somewhere that there is a "security" file you will need in the WWW root that defines which cfc's (web services) can be accessed...
    2. Exposing WS Properties
      Hi Experts, How can I expose of my WS class? I can expose methods of the class by adding the "WebMethod" attribute to the method. Is there...
    3. exposing Data Transfer objects through inheritance
      Hi, I'm developing a web service in which i have to expose lot of buisness entities. These entities are implemented as Data Transfer objects to...
    4. .NET Best Practices for Exposing Biz Objects thru Web Services
      I'm architecting some business objects in .NET and want to expose some methods from my biz objects via Web Services. What are the best practices...
    5. Exposing COM+ as a Web Service
      I wish to configure a COM+ component to also be accessed as a web service. According to MSDN this is done by setting the "Use SOAP" check box in...
  3. #2

    Default Re: Exposing .NET/COM Objects as Dreamweaver JSExtensions

    "Joris van Lier" <whizzrd@hotmail.com> wrote in message
    news:fkto6n$9c5$1@forums.macromedia.com...
    > Hi fellow extension developers,
    > I'm researching a way to have Dreamweaver call into COM Objects,
    > specifically how to expose these to the Dreamweaver runtime as a JSObject.
    >
    > I've experimented with the mm_jsapi examples for C++ 6.0 but find
    > programming in C/C++ to be very challenging with my current skill-set.
    > I'd rather apply my existing knowledge of the .NET framework and
    > programming in C#, by exposing my Objects to COM, but am unsure about how
    > I should wrap these objects in a JSExtension object.
    >
    > I realize that I'm probably oversimplifying the solution, I imagine a lot
    > of work may go into marshalling values from COM to C to JavaScript and
    > back again, then again, maybe the only thing I need to know is how to
    > instantiate a com object and call it's methods in C.
    >
    > I'd appreciate any tips or advice from anyone more versed in C(++) and COM
    > or just any bright idea or a link to RTFM.
    >
    > Joris van Lier
    > --
    > Merry Xmas everybody

    Oh my , what have I gotten myself into.... I feel like I'm tumbling from one
    rabbit-hole into another,

    after reading this article
    [url]http://msdn.microsoft.com/msdnmag/issues/08/01/CLRInsideOut[/url]
    marshalling between COM, C and Dreamweaver's Javascript Engine still seems
    like a black art

    What I'm trying to implement is "calling a Visual Studio Custom Tool from
    Dreamweaver",
    such custom tools are COM objects that operate on certain files and generate
    code,
    it would be nice to be able to do this from Dreamweaver since the ASP.NET
    serverbehaviors will be removed in the next version,


    Joris van Lier 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