在调用非托管类Windows.Graphics.Printing3D.dll时总是提示错误。

weixin_38060280 2017-05-17 03:05:29
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Runtime.InteropServices;


namespace WindowsFormsApplication7
{
[DllImport("Windows.Graphics.Printing3D.dll",
EntryPoint = "Print3DManager", SetLastError = true,
CharSet = CharSet.Unicode, ExactSpelling = true,
CallingConvention = CallingConvention.StdCall)]

public static extern XXXXX
代码XXXX位置应该怎么写?
另外微软官方的例子使用了using Windows.Graphics.Printing3D;
那么托管DLL去哪里可以下到,在网上和
...全文
19 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
Chapter 1: Application Development ....................................................................... 1 Chapter 2: Data Manipulation ................................................................................ 53 Chapter 3: Application Domains, Reflection, and Metadata ................................ 103 Chapter 4: Threads, Processes, and Synchronization ......................................... 149 Chapter 5: Files, Directories, and I/O ................................................................... 205 Chapter 6: XML Processing ................................................................................. 261 Chapter 7: Windows Forms.................................................................................. 307 Chapter 8: Graphics, Multimedia, and Printing .................................................. 369 Chapter 9: Database Access ................................................................................ 423 Chapter 10: Networking ....................................................................................... 479 Chapter 11: Security and Cryptography .............................................................. 543 Chapter 12: Unmanaged Code Interoperability .................................................... 597 Chapter 13: Commonly Used Interfaces and Patterns ........................................ 619 Chapter 14: Windows Integration ........................................................................ 683 Chapter 15: Parallel Programming ...................................................................... 729 Chapter 16: Using LINQ ........................................................................................ 749 Chapter 17: Windows Presentation Foundation ................................................. 789

476

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧