在精简框架调用从ASP C#DLL(Windows CE的) [英] Calling C# DLL from ASP on Compact Framework (Windows CE)

查看:223
本文介绍了在精简框架调用从ASP C#DLL(Windows CE的)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写Windows CE上,将需要调用存在于.NET的DLL(C#)业务逻辑ASP应用程序。

I am writing an ASP application on Windows CE that will need to call business logic that exists in a .NET DLL (C#).

看来好像虽然精简框架允许我们调用从托管code本地code时,CF不允许我们调用从本地code管理code。 - 不过,我对这个不知道100%

It appears as though although the Compact Framework allows us to call native code from managed code, the CF doesn't allow us to call managed code from native code. - But, I'm not 100% sure on this.

有没有人有使用COM互操作调用从托管的dll从ASP的CF方法成功?如果是这样,你可以点我在哪里可以学习如何做呢?

Has anyone had success using COM Interop to call methods from a managed dll from ASP on CF? If so, can you point me to where I can learn how to do it?

如果不是,因为我必须使用ASP(上CF)和我被困在一个托管程序的业务逻辑,还能怎么我得到的数据出来组装成ASP应用程序?

If not, given that I must use ASP (on CF) and I'm stuck with the business logic in a managed assembly, how else can I get data out of the assembly into the ASP application?

推荐答案

我只是通知由约翰Spaith(WinCE的团队成员),一篇博客文章中的 -

I was just notified of a blog post by John Spaith (WinCE Team Member) -

...的Compact Framework不
  允许您调用从托管code
  本地人,所以你不能有你
  ISAPI / ASP页面调用伸到管理。
  (你可以做管理code->本地
  呼叫,而不是相反。)

...the Compact Framework does not allow you to call managed code from native, so you can't have your ISAPI/ASP page call out into managed. (You can do managed code->native calls, but not the other way around.)

这里的链接Spaith的帖子

这篇关于在精简框架调用从ASP C#DLL(Windows CE的)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆