Solved

Dll include

Posted on 2006-07-11
6
330 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
Comment Utility
simply add it to the bin folder and you should be good
0
 
LVL 4

Assisted Solution

by:DarkXiphoid
DarkXiphoid earned 166 total points
Comment Utility
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
Comment Utility
Is your question answered?
0
 
LVL 7

Assisted Solution

by:skvikram
skvikram earned 166 total points
Comment Utility
first register you dll using:
gacutil -i DriveLetter:\YourPath\YourAssemblyName.dll

then use it like this

using <YourNamespaceName> ;
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now