?
Solved

Dll include

Posted on 2006-07-11
6
Medium Priority
?
342 Views
Last Modified: 2013-11-18
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
Comment
Question by:RamzyEbeid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 8

Accepted Solution

by:
rodmjay earned 672 total points
ID: 17086454
simply add it to the bin folder and you should be good
0
 
LVL 4

Assisted Solution

by:DarkXiphoid
DarkXiphoid earned 664 total points
ID: 17089355
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
 
LVL 8

Expert Comment

by:rodmjay
ID: 17299078
Is your question answered?
0
 
LVL 7

Assisted Solution

by:skvikram
skvikram earned 664 total points
ID: 17435358
first register you dll using:
gacutil -i DriveLetter:\YourPath\YourAssemblyName.dll

then use it like this

using <YourNamespaceName> ;
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question