Solved

Dll include

Posted on 2006-07-11
6
341 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 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

717 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