Results 1 to 4 of 4

Thread: API Help

  1. #1

    Thread Starter
    Lively Member safewithyou247's Avatar
    Join Date
    Dec 2005
    Posts
    64

    Cool API Help

    Calling all api experts!!

    I have an api for an rsa database. It is written for the C language and I want to use it in C#.

    This is where the problem comes in. I am to dense to even begin to know how to do this. Based off the limited answers that I got from my RSA rep, you will have to use some legacy comamds, whatever that is.

    So any help that could be offered whould be greatly appreciated.

    Attached is the document that describes how to use the API.

    Thanks in advance
    Attached Files Attached Files
    "A candle loses nothing by lighting another candle."

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: API Help

    I suggest you look up DllImport.

  3. #3

    Thread Starter
    Lively Member safewithyou247's Avatar
    Join Date
    Dec 2005
    Posts
    64

    Re: API Help

    I don't see any .dll files that I need to referance to make this work.

    I just attached an example of the code that they are using in C. I don't see any referance to any .dll's.
    Attached Files Attached Files
    "A candle loses nothing by lighting another candle."

  4. #4
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: API Help

    Quote Originally Posted by safewithyou247
    I don't see any .dll files that I need to referance to make this work.

    I just attached an example of the code that they are using in C. I don't see any referance to any .dll's.
    In C they are called header files *duhh* (I know it's not the same)
    I don't have time to download and check your code. but If you have a C project, you can compile it to "dll" file, obviously you are not using VC++ so you'll have to figure out how to make a dll out of it.
    The you can add a reference to the library from any C# project
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width