mkill22 Posted November 10, 2004 Posted November 10, 2004 I have a situation where I need to write a program which accepts data via a HTTP Post. The program will be an upgrade to an existing application which is called app1.dll. Many people use this already and it's impratical to ask them to change their systems so I will need my program to be called app1.dll. I have Visual Studio .NET 2003 and I'm familiar with creating asp.net and vb.net applications but I'm unsure of how to create a DLL which accepts data directly, i.e without going through an aspx page. Can anyone help? Cheers, Fred Quote
Administrators PlausiblyDamp Posted November 10, 2004 Administrators Posted November 10, 2004 You will need to provide some kind of applicatiom to accept the HTTP Post and have that call the DLL, personally I would recomend looking at WebServices as a possible solution. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
mkill22 Posted November 11, 2004 Author Posted November 11, 2004 >You will need to provide some kind of applicatiom to accept the HTTP Post >and have that call the DLL, personally I would recomend looking at >WebServices as a possible solution. As I said... "it's impratical to ask them to change their systems so I will need my program to be called app1.dll." Quote
Administrators PlausiblyDamp Posted November 11, 2004 Administrators Posted November 11, 2004 Does the existing app1.dll accept http posts at the moment? If not then won't these modifications require them to make changes to use HTTP Posts? If they wish to continue using the DLL as is then you could create a web service that will receive the http requests and formward them to the DLL for the clients requiring this feature, while the rest just use the dll directly. It may help if you give a bit more detail about what the existing app1.dll currently does / where these requirements have come from and the need for this change. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
mkill22 Posted November 12, 2004 Author Posted November 12, 2004 Does the existing app1.dll accept http posts at the moment? If not then won't these modifications require them to make changes to use HTTP Posts? The existing DLL does accept posts. The DLL was written in Delphi and I need to rewrite it in VB.NET. The existing clients have web pages with forms that have the action attribute set to the dll. I.E form action="app1.dll/auth" and this cannot change. Quote
neodammer Posted November 15, 2004 Posted November 15, 2004 The existing DLL does accept posts. The DLL was written in Delphi and I need to rewrite it in VB.NET. The existing clients have web pages with forms that have the action attribute set to the dll. I.E form action="app1.dll/auth" and this cannot change. hmmm...you might need to create a tricky function that can handle that type of code and translate it into vb.net language. i had done something like that in the past but it was simpilar. Quote Enzin Research and Development
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.