Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 351
  • Last Modified:

Dll include

Dear Experts
i am using ASP.net 2.0 C# VS2005
i want to include a dll in my application
[DllImport("dll Name")]
1 - i want sample for this
2 - i am dealing with a MCSCM.dll for a smart card
can you give me help in this part
thank you
0
RamzyEbeid
Asked:
RamzyEbeid
  • 2
3 Solutions
 
rodmjayCommented:
simply add it to the bin folder and you should be good
0
 
DarkXiphoidCommented:
As above poster said, but to use it you need to addthis to the pages using it:

using MCSCM.Data;

Or whatever the namespaces/classes are named in your .dll file.

That is all there is to it. After you did this, you can use all the functionality of the dll file.
0
 
rodmjayCommented:
Is your question answered?
0
 
skvikramCommented:
first register you dll using:
gacutil -i DriveLetter:\YourPath\YourAssemblyName.dll

then use it like this

using <YourNamespaceName> ;
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.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now