Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. adding dll and call its functions

adding dll and call its functions

Scheduled Pinned Locked Moved C#
csharp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    iramg
    wrote on last edited by
    #1

    i want to add a dll which have two function one is for reading data from the parallel port and one is for writing data to parallel port using c#. how i will use this dll and call its function please tell me.......

    M 1 Reply Last reply
    0
    • I iramg

      i want to add a dll which have two function one is for reading data from the parallel port and one is for writing data to parallel port using c#. how i will use this dll and call its function please tell me.......

      M Offline
      M Offline
      magnifique
      wrote on last edited by
      #2

      open a new project select class type in your code make sure the functions are public class bulid ths solution save the project close the project open your project use the Using to call the dll like using projectdll; create a reference type like project.Adddate mydate=new project.adddate you can now use the instatiated object mydate.adding(rttr,teert); if it returns a string declear a string reference type s=mydate.adding(rttr,teert);

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups