Find Jobs
Hire Freelancers

Fix function bug in VS2008 c++

$10-30 USD

已关闭
已发布超过 5 年前

$10-30 USD

货到付款
Here is the function __________________________________ CString CRDoc::GetChairNo(CString strAcctNum, CString strDepNum, CString strSequence) { CString strChairNo; TCHAR sql[300]; TCHAR temp[32]; void* val; SWORD type; int size; // [login to view URL] memset(temp, 0, sizeof(temp)); val = temp; size = sizeof(temp); type = SQL_C_CHAR; // [login to view URL] the patient email from resp table. // 2.1 Create the sql. memset(sql, 0, sizeof(sql)); sprintf_s(sql, sizeof(sql), "select first chair from [login to view URL] where acctnum='%s' and depnum='%s' and sequence in (%s) ", strAcctNum, strDepNum, strSequence); // 2.2 Execute the sql. CSCISet::GetSQLValues(sql, &val, &size, &type, 1); strChairNo = temp; return strChairNo; } ___________________________________________________________ Most times it return the correctly but sometimes it returns zero (which is incorrect) Need knowledge of VS2008 c++ and sql
项目 ID: 17944158

关于此项目

5提案
远程项目
活跃5 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
5威客以平均价$30 USD来参与此工作竞价
用户头像
Hello I'm interesting your project very well I'm a Good expert of C++, C#, PHP, Node.JS, Angular.JS, Java, Swift, Object C, Android, iOS, HTML5, Mathmatics, Algorithm. I m quite well experienced in these jobs. Let's go ahead with me I want to service for you continously. Thanks
$35 USD 在1天之内
4.9 (56条评论)
7.1
7.1
用户头像
Hello I have 17 years of experience with C++, Windows API and Microsoft Visual Studio. Also, I have installed VS2008 on my computer
$25 USD 在1天之内
5.0 (97条评论)
5.9
5.9
用户头像
Hi. I have read your description and have interests in your project. I would like to have a discussion with chat to get more about your project. Thanks.
$35 USD 在1天之内
4.9 (36条评论)
5.3
5.3
用户头像
Maybe the SQL is not right, I havn't seen the first key word in SQL syntax. Which database are you using? MySQL? If MySQL, select the first column, using the following SQL: SELECT column_name(s) FROM table_name WHERE condition LIMIT number; If sometimes return zero and you can insure the data is correct, maybe the problem is not the GetChairNo function, I guess maybe it is CSCISet::GetSQLValues. You can Debug the function.
$25 USD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Phoenix, United States
5.0
100
付款方式已验证
会员自5月 7, 2004起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。