![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
naruto2017
ABCDEFG
展开
-
C#高级用法
【代码】【代码】【代码】【代码】【代码】原创 2022-09-08 17:55:37 · 225 阅读 · 0 评论 -
ILSpy:Project file is incomplete. Expected imports are missing 错误解决方案
【代码】ILSpy:Project file is incomplete. Expected imports are missing 错误解决方案。原创 2022-09-06 14:55:30 · 656 阅读 · 0 评论 -
C++ SQL 不存在则插入
查询记录,若不存在则插入,存在则不做任何操作:CString strsql="INSERT INTO PRDLIST(productkey) SELECT distinct '"+articleKey+"' from PRDLIST WHERE NOT EXISTS(SELECT * FROM PRDLIST WHERE productkey = '"+articleKey+"')";((static_cast<CMyApp *>(AfxGetApp()))->g_pDb)-...原创 2020-12-30 10:49:46 · 121 阅读 · 0 评论 -
C++ SQL 复制同一张表中的记录,并修改某个字段信息
复制通一张表的记录,并修改某个字段信息://复制记录CString strsql ="INSERT INTO terminal(column1,column2) SELECT column1,column2 FROM terminal WHERE terminalname='"+::G_Term+"'";((static_cast<CMyApp *>(AfxGetApp()))->g_pDb)->Execute(strsql);//修改SELECT出来的记录的字段信...原创 2020-12-30 10:58:51 · 734 阅读 · 0 评论 -
DllImport中的EntryPoint
C#引用C++写的dll文件时,是否需要EntryPoint参数,要看C++声明方式是一下哪一种:一、若为C-Style方式的声明,则C#引用时不需要EntryPoint参数://cpp头文件声明,C-style方式声明,C#引用时不需要EntryPoint参数extern "C" { void API_EXPORT _cdecl printC(char* msg); int API_EXPORT _stdcall addC(int a, int b);}***********...原创 2020-05-25 14:16:19 · 2648 阅读 · 0 评论