Answered Using native OPC API under Windows XP

  • יום שלישי 01 מרץ 2011 19:22
     
     

    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

כל התגובות

  • יום שלישי 01 מרץ 2011 22:23
     
     

    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
  • יום רביעי 09 מרץ 2011 03:42
     
     תשובה

    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