English 中文(简体)
C++/CLI 全球功能无障碍问题
原标题:C++/CLI global function accessibility issue

当所汇编的DLL在C#中进口时,我怎么能够看到C++/CLI功能?

我可以简单地以公众的名义来对待课堂,但是,在我这样做时,这并不是职务,我会错。

最佳回答

您可以指出,《南极海生委》不支持全球职能。 你可以在C++/CLI中书写,但汇编者会产生一个特殊班子,给他们一个家。 班次名称为<Module>,C#代码无法查阅。

宣布采用公开静态方法的公共补习班,使你获得完全等同。 他们没有遇到麻烦。 在C#中作为固定类别的概念,减去检查结果。 可以通过宣布检查为抽象和密封的:

public ref class Utils abstract sealed
{
public:
    void static foo() {}
};
问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签