First-chance exception in NetMsgServer.exe (NTDLL.DLL): 0xC00000FD: Stack Overfl,该如何处理
First-chance exception in NetMsgServer.exe (NTDLL.DLL): 0xC00000FD: Stack Overfl
不会解决,单步进不到app就错了,望大神看看。
需要完整解决方案的 请qq249698417.
分不够了可以再加。
注:(网上下载-学习) 类似于qq的局域网聊天。 这个部分是server部分。client没有错误所以没法。
#include "stdafx.h"
#include "NetMsgServer.h"
#include "NetMsgServerDlg.h"
#include <odbcinst.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#define WM_ICON_NOTIFY WM_USER+10
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App About
#define DATA_BUFSIZE 1024
#define MAX_BUFF_SIZE 1024
#define MAX_NAME_LEN 128
#define MAX_PWD_LEN 128
#define MAX_ONLINE_NUM 50
#define MAX_REQ_LEN 256
#define WSA_RECV 0
#define WSA_SEND 1
#define LOGGED_IN 230
#define LOGIN_FAILED_AT_PWD 231
#define LOGIN_FAILED_AT_ID 232
#define LOGIN_FAILED_TOOMANY_ONLINEUSER 233
#define LOGIN_FAILED_BECAUSE_LOGAGAIN 234
#define LOGIN_FAILED_BECAUSE_DB 235
#define UPDATE_SUCCESS 240
#define UPDATE_FAIL 241
#define REGT_SUCCESS 250
#define REGT_FAIL_BECAUSE_DBREAD 251
#define REGT_FAIL_BECAUSE_DBWRITE 252
#define NETMSG_QUIT 221
#define SERVER_PORT 4000
------解决方案--------------------
看一下函数调用堆栈吧
------解决方案--------------------
刚刚跟了一下,在初始化那边出错了。
路程超出了256的成度
------解决方案--------------------
路径太长,超过了256,可以直接放在c盘根目录下
不会解决,单步进不到app就错了,望大神看看。
需要完整解决方案的 请qq249698417.
分不够了可以再加。
注:(网上下载-学习) 类似于qq的局域网聊天。 这个部分是server部分。client没有错误所以没法。
#include "stdafx.h"
#include "NetMsgServer.h"
#include "NetMsgServerDlg.h"
#include <odbcinst.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#define WM_ICON_NOTIFY WM_USER+10
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App About
#define DATA_BUFSIZE 1024
#define MAX_BUFF_SIZE 1024
#define MAX_NAME_LEN 128
#define MAX_PWD_LEN 128
#define MAX_ONLINE_NUM 50
#define MAX_REQ_LEN 256
#define WSA_RECV 0
#define WSA_SEND 1
#define LOGGED_IN 230
#define LOGIN_FAILED_AT_PWD 231
#define LOGIN_FAILED_AT_ID 232
#define LOGIN_FAILED_TOOMANY_ONLINEUSER 233
#define LOGIN_FAILED_BECAUSE_LOGAGAIN 234
#define LOGIN_FAILED_BECAUSE_DB 235
#define UPDATE_SUCCESS 240
#define UPDATE_FAIL 241
#define REGT_SUCCESS 250
#define REGT_FAIL_BECAUSE_DBREAD 251
#define REGT_FAIL_BECAUSE_DBWRITE 252
#define NETMSG_QUIT 221
#define SERVER_PORT 4000
------解决方案--------------------
看一下函数调用堆栈吧
------解决方案--------------------
刚刚跟了一下,在初始化那边出错了。
路程超出了256的成度
------解决方案--------------------
路径太长,超过了256,可以直接放在c盘根目录下