USB DLL API Interface

This is a discussion on USB DLL API Interface within the Windows Programming forums, part of the Platform Specific Boards category; hello everyone, I have a piece of hardware called DLP Discovery 4000. Its used for projection of images. It can ...

  1. #1
    Registered User
    Join Date
    Dec 2012
    Posts
    2

    USB DLL API Interface

    hello everyone,
    I have a piece of hardware called DLP Discovery 4000. Its used for projection of images. It can be programmed by the user. In the hardware's programming guide it has a list of functions in the DLL API interface that can be used to control it. The guide says that these functions can be called through C++/C.
    I want to be able to use those functions in a C++ program that I want to write to control the board. But so far I am struggling with exactly how to use the DLL API.
    It comes with a software which I installed. The software has a GUI which has limited functions. In addition the software puts a file named D4000_usb.dll in the windows directory. How do I use this .dll file.

    Any help would be greatly appreciated.

    Thankyou

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,823
    Moved to windows forum.

    Perhaps these will help.
    How & where to add third party dlls?
    How do I use a third party dll in Visual Studio C++? - Stack Overflow

    As well as the DLL, you should also have a .h file describing the API implemented by the DLL.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Dec 2012
    Posts
    2
    Hello Salem,
    I looked in the folder where the .DLL file was for a .h file I could not find it. I ran a search on the C drive no file with .h pertaining to the DLL file I am working with.

    The programmer's guide that comes with the hardware says that another way that it can be controlled is through active X controls. I didnot look into controlling the hardware this way because the tech support people for the hardware(not very helful) told me it would be easier to control it through the DLL. What do you think about using the active X Vs DLL?

    FYI there are two files with .OCX and .tlb files included which Im guessing is to use with the Active X control.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. interface in c
    By Liakos in forum C Programming
    Replies: 5
    Last Post: 03-23-2011, 03:13 AM
  2. USB interface
    By ziga in forum Tech Board
    Replies: 9
    Last Post: 08-22-2007, 05:24 AM
  3. HID interface
    By Quasar8000 in forum C++ Programming
    Replies: 4
    Last Post: 03-23-2005, 11:03 PM
  4. What would you like in a interface?
    By commanderrulz in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-29-2002, 06:29 AM
  5. PCI ISA bus Interface
    By Mohsinzb in forum C Programming
    Replies: 0
    Last Post: 03-27-2002, 01:12 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21