win DLL called by Web Application

M

Masita

hi all,

I am new in dot net development.

Can windows dll called by any Web Application ?

if i developing web application, can i just called my existing windows dll ?

hope anyone can post some advice.
 
L

Laurent Bugnion

Hi,
hi all,

I am new in dot net development.

Can windows dll called by any Web Application ?

if i developing web application, can i just called my existing windows dll ?

hope anyone can post some advice.

If the "Windows DLL" is on the server, yes, your web application can
call it. If the DLL is written in unmanaged code, though, it must be
wrapped in a so-called interop DLL. There is a lot of documentation
available online demonstrating how to do that.

Greetings,
Laurent
 
W

Willy Denoyette [MVP]

Masita said:
hi all,

I am new in dot net development.

Can windows dll called by any Web Application ?

if i developing web application, can i just called my existing windows dll ?

hope anyone can post some advice.
If you mean a regular native DLL, then you can call the exported functions from managed code
using PInvoke interop.
Please consult the MSDN doc's for details on how to interop with unmanaged code.

Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top