标题:程序运行不了了,大家看看什么原因
取消只看楼主
赤冰
Rank: 1
等 级:新手上路
帖 子:397
专家分:0
注 册:2007-1-22
 问题点数:0 回复次数:6 
程序运行不了了,大家看看什么原因
我的程序现在运行不了了,出现下面提示,怎么回事啊,大家救救我啊
搜索更多相关主题的帖子: 运行 
2007-04-28 20:34
赤冰
Rank: 1
等 级:新手上路
帖 子:397
专家分:0
注 册:2007-1-22
得分:0 

2007-04-28 20:35
赤冰
Rank: 1
等 级:新手上路
帖 子:397
专家分:0
注 册:2007-1-22
得分:0 
大家快帮我看看怎么回事啊,很着急 阿
2007-04-28 20:36
赤冰
Rank: 1
等 级:新手上路
帖 子:397
专家分:0
注 册:2007-1-22
得分:0 

是啊,之前还行呢,急死我了,有什么办法可以找到错误么,刚才重装系统了,这个程序我好像也没做过什么啊。有什么办法么?

2007-04-28 20:50
赤冰
Rank: 1
等 级:新手上路
帖 子:397
专家分:0
注 册:2007-1-22
得分:0 

我找到了,可是不知道什么错误啊

BOOL CChickensApp::InitInstance()
{
AfxEnableControlContainer();
AfxOleInit();//初始化com
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable, you should remove from the following
// the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

// Change the registry key under which our settings are stored.
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization.
SetRegistryKey(_T("Local AppWizard-Generated Applications"));

LoadStdProfileSettings(); // Load standard INI file options (including MRU)

// Register the application's document templates. Document templates
// serve as the connection between documents, frame windows and views.

CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINFRAME,
RUNTIME_CLASS(CChickensDoc),
RUNTIME_CLASS(CMainFrame), // main SDI frame window
RUNTIME_CLASS(CChickensView));
AddDocTemplate(pDocTemplate);

// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);

// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;

// The one and only window has been initialized, so show and update it.
m_pMainWnd->ShowWindow(SW_SHOWMAXIMIZED);
m_pMainWnd->UpdateWindow();

return TRUE;
}

///////////////////////////////////////////////////////////////////////////
if (!ProcessShellCommand(cmdInfo))
是这句出的错,怎么办啊

2007-04-28 20:59
赤冰
Rank: 1
等 级:新手上路
帖 子:397
专家分:0
注 册:2007-1-22
得分:0 

那位高手能帮帮我啊

2007-04-28 21:51
赤冰
Rank: 1
等 级:新手上路
帖 子:397
专家分:0
注 册:2007-1-22
得分:0 
找到了,是我的数据库没有了,重做了系统,可是没有数据库应该在数据库连接那里告诉我呀,奇怪?
2007-04-30 08:41



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




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

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