在Win8和Windows Phone 8中使用C dll

问题描述:

我们有一个C dll(SIP堆栈),它将发送和接收Sip消息.

We have a C dll (SIP stack) which will send and receive sip messages.

还在C#和WPF中为Windows Phone 8和Windows 8桌面开发软件电话客户端.必须集成此dll并在客户端应用程序中使用导出的功能.

Also developing a softphone client for windows phone 8 and windows 8 desktop in C# and WPF. Have to integrate this dll and use the exported functions in the client application.

请提出任何有关如何实现这种集成的想法吗?

please suggest any ideas how to achieve this integration?

谢谢

KK.

Windows 8应用程序不支持使用用C编写的纯DLL.使用C ++ 11重新构建并链接到WinRT.

Windows 8 apps do not support the use of a plain DLL written in C.  It must be rebuilt using C++11 and link to WinRT.

Windows 8桌面应用程序的构建方式类似于Windows早期版本中的应用程序.

Windows 8 Desktop applications are built just like applications on previous versions of Windows.

Windows Phone 8 SDK尚未发布,但很有可能与Windows 8应用程序具有相同的限制.

The Windows Phone 8 SDK has not been released yet, but it will most likely have the same limitations as Windows 8 apps.