Solved

Dll include

Posted on 2006-07-11
6
335 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
  • 2
6 Comments
 
LVL 8

Accepted Solution

by:
rodmjay earned 168 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 166 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 166 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Gridview selected row 9 49
Delete HTML table rows 12 35
ASP.net 2015 Syncing Azure web app projects on two machines 2 26
ASP.NET MVC - Views 3 15
Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

791 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