DLL that you call from within a web page hosted in IIS

I have an algorithm, written in MS C++ that I'm going to move to the cloud.  But I don't know a lot about cloud applications.  The plan is that I just work on my algorithmic code, and somebody else who is versed in cloud stuff will hook it up.   It was suggested that I modify my code into "a DLL that you call from within a web page hosted in IIS".   Can someone tell me what I might need to know about this?   Do you think I need to know anything about web or IIS to do this?  If I just format my code as a DLL that could be called by another C++ program (a test harness) - then should I be able to hand off that DLL to somebody else to stitch into the usage by "a web page hosted by IIS" ?  I would want to supply a DLL (not source code) with a published API that others can put "in the cloud".  Wondering if I need to know about web and IIS...
tullheadAsked:
Who is Participating?
 
David Johnson, CD, MVPOwnerCommented:
greatly depends upon the website i.e. if asp.net website they just add a reference to the .dll.  To be more universal they would wrap the dll in a web service and call the dll via the web service using REST/SOAP.  All you need to supply is the .dll and the api
0
 
tullheadAuthor Commented:
OK, thanks.  Just wanted someone else to say "all you need to do is supply the DLL and api" -- which is what I was hoping....
0
 
Subrat (C++ windows/Linux)Software EngineerCommented:
You need to create COM/COM+ DLL to use in your  webpage.
For beginner tutorial on COM is here.
0
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

 
tullheadAuthor Commented:
Oh, I'm not going to get into the COM nightmare -- I'll produce a DLL and hope others on the project can hook it into the web.

Or, am I wrong, is COM not a total nightmare?
0
 
Subrat (C++ windows/Linux)Software EngineerCommented:
You can go through the tutorial link provided above(here).You can understand it easily.
I don't think a normal dll can be called in web page.
COM dlls are language independent dll, can also be called from any non-scripting/scripting languages like java script/vb script ect...
0
 
tullheadAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.