none
Using native OPC API under Windows XP RRS feed

  • Question

  • Is there any way I can use the Native Open Packaging API's under windows XP? MusicBundle example (from Windows 7 SDK) returns "class not registered". What is the dll I need to register? I couldn't find any information.

    I have C# application ( using "System.IO.Packaging" ) that works. But I also need native access to the custom file I have...


    Thanks.


    Orhun Birsoy
    Tuesday, March 1, 2011 7:22 PM

Answers

  • Hi Orhun,

    OpcServices.dll (located in Windows 7 \Windows\System32\) contains the Win7 native-code OPC API's.  The native-code OPC APIs were not designed or tested to run down-level - it's doubtful that this DLL will work on Windows XP.

    Jack Davis

    • Proposed as answer by Jack-Davis Wednesday, March 9, 2011 3:45 AM
    • Marked as answer by Jack Davis - MSFT Friday, April 8, 2011 6:40 AM
    Wednesday, March 9, 2011 3:42 AM

All replies

  • Hi Orhun, the Open Specifications group does not support the Windows 7 SDK samples. Please try posting your question in a more relevant forum such as the .NET Base Class Library forum since the Packaging class resides in the System.IO namespace. You might also find the following MSDN documentation helpful.

     

    Differences between the Native and Managed APIs

    http://msdn.microsoft.com/en-us/library/ee453681(VS.85).aspx


    Josh Curry (jcurry) | Escalation Engineer | US-CSS DSC Protocols Team
    Tuesday, March 1, 2011 10:23 PM
    Moderator
  • Hi Orhun,

    OpcServices.dll (located in Windows 7 \Windows\System32\) contains the Win7 native-code OPC API's.  The native-code OPC APIs were not designed or tested to run down-level - it's doubtful that this DLL will work on Windows XP.

    Jack Davis

    • Proposed as answer by Jack-Davis Wednesday, March 9, 2011 3:45 AM
    • Marked as answer by Jack Davis - MSFT Friday, April 8, 2011 6:40 AM
    Wednesday, March 9, 2011 3:42 AM