Graphics

 View Only
  • 1.  Preferred API Usage

    Posted 10-26-2012 18:17
    Hi,

    I'm trying to program against the XPression (BlueBox) API for the first time. Admittedly, I'm a little new to Windows development in general, but so far I have managed to setup a project in Visual Studio 2010 (and/or 2012) using C#. One thing I have found is that there are two ways to get access to the API.

    On one hand, I can "Add Reference" from the "Project" menu and browse to find "XPression BlueBox Library" under the "COM > Type Libraries" category.

    On the other, I can also "Add Reference" from the "Project" menu and choose to browse for the "xpression.net.dll" assembly in the XPression installation folder.

    Although both methods appear to function similarly, I have noticed some differences. In particular, the xpTools portion of the API has a completely different interface.

    Which is the preferred method of programming against the BlueBox API? Perhaps more at a low level, what is the difference between the two methods (or why do they both exist but differ)?

    Many thanks, and sorry for the "freshman" question!


  • 2.  RE: Preferred API Usage

    Posted 10-26-2012 18:21
    Hi Jarrod,

    I'm imagine that some of the operators with API experience will chime in to give you suggestions, but check out this document. It's all about getting started with writing API apps for XPression.

    [URL="http://discussions.rossvideo.com/core/
    #XPression


  • 3.  RE: Preferred API Usage

    Posted 10-26-2012 18:27
    Garner, that link is asking for a username/password, and my forum password doesn't seem to be the one.

    #XPression


  • 4.  RE: Preferred API Usage

    Posted 10-26-2012 18:32
    XPression API Tutorial

    Sorry Jarrod, can you try this one.

    (Also edited original)

    #XPression


  • 5.  RE: Preferred API Usage

    Posted 10-26-2012 19:06
    Thanks, Garner.

    #XPression


  • 6.  RE: Preferred API Usage

    Posted 10-27-2012 03:59
    Jarrod, Both the COM and .NET interfaces are identical with the exception of the xpTools library.

    The xpTools library is only used for dealing with xpImage objects and converting them to IPicture objects or saving them to disk as .TGA or .PNG files..

    I usually tend to use the COM interface when writing VB or C# apps; but you can equally use the .NET interface as well..

    #XPression