标题:程序“[12760] kkkkk.exe: 本机”已退出,返回值为 1 (0x1)。
取消只看楼主
ren1375342
Rank: 2
等 级:论坛游民
帖 子:33
专家分:46
注 册:2012-12-4
结帖率:100%
已结贴  问题点数:20 回复次数:1 
程序“[12760] kkkkk.exe: 本机”已退出,返回值为 1 (0x1)。
#include "stdio.h"
#include <afxwin.h>
#include <afx.h>


int main(int argc, _TCHAR* argv[])
{
     HANDLE hCom=CreateFile((_T("COM7")), GENERIC_READ|GENERIC_WRITE,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL|FILE_FLAG_OVERLAPPED,NULL);
    if(hCom==(HANDLE)-1){
        AfxMessageBox(_T("打开COM失败!"));
        return FALSE;
}
     return TRUE;
}
“kkkkk.exe”: 已加载“D:\系统文件\文档\Visual Studio 2010\Projects\kkkkk\Debug\kkkkk.exe”,已加载符号。
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\ntdll.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\kernel32.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\KernelBase.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\mfc100ud.dll”,已加载符号。
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\msvcr100d.dll”,已加载符号。
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\oleaut32.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\user32.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\gdi32.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\shlwapi.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\WinSxS\x86_microsoft.\comctl32.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\msimg32.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\msvcrt.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\combase.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\rpcrt4.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\advapi32.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\sspicli.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\sechost.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\cryptbase.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\bcryptprimitives.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\imm32.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\msctf.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\uxtheme.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\dwmapi.dll”,Cannot find or open the PDB file
“kkkkk.exe”: 已加载“C:\Windows\SysWOW64\mfc100chs.dll”,未使用调试信息生成二进制文件。
程序“[12760] kkkkk.exe: 本机”已退出,返回值为 1 (0x1)。
搜索更多相关主题的帖子: Windows include return 
2013-04-12 20:32
ren1375342
Rank: 2
等 级:论坛游民
帖 子:33
专家分:46
注 册:2012-12-4
得分:0 
回复 2楼 wp231957
解决了  

如果您想找一份编写软件的工作, 则首先您应该能够回答 "是" 的一个问题就是:"请问,您会使用c吗?"
2013-04-12 21:40



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-404016-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.446089 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved