CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2003
    Posts
    21

    Can i develop Web Services on Unmanaged C++ ?

    Can i develop Web Services on Unmanaged C++ ?
    Sanks !

  2. #2
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125
    Yes, but it A LOT more work. Why would you want to?

    Come to think of it why would even ask? Unmanaged C++ compiles all of the way down to native code, has full access to the kernel, etc...Anything the computer is capable of can be coded in C++.......
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  3. #3
    Join Date
    Jan 2003
    Posts
    21
    Maybe you talk about COM technology ?

  4. #4
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125
    COM is one way to go, so is the following

    Code:
    void main()
    {
    asm 
       {
       // A whole lot of stuff goes here.....
       }
    }
    Really, I am not trying to be sarcastic, look back at my original post, the question is WHY? there are good tools available....

    You could even get a raw disk sector editor and punch up the entire program in hex!
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  5. #5
    Join Date
    Jan 2003
    Posts
    21
    WHY ? I`m just don`t like such type of products like Java....and now Microsoft follow to it.....but avoid this impossible
    (sorry for english)

  6. #6
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125
    Your english is fine.

    Have you seriously looked at doing this as a Managed C++ application?
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  7. #7
    Join Date
    Jan 2003
    Posts
    21
    I can`t maintain exactly, but Managed C++ application uses differ subsystem of memmory allocation and own calling convention, therefore in my opinion it lose that freedom it was before.

  8. #8
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125
    Something Gained, Something Lost. Implementing proper memory allocation for a Web Service without the libraries help would be a significant effort. One firm asked me to quote developing a C++ based web service that would run on Unix. They wanted it from the ground up. I just pulled the quotation we gave them $175,000 US. No joke. Our average price for developing a .NET web service (C#,VB.NET, Managed C++) is under $3000.

    That should give a feel for amount of work that is saved by leveraging the existing code base.
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured