Find Jobs
Hire Freelancers

Fix function bug in VS2008 c++

$10-30 USD

Mbyllur
Postuar over 5 years ago

$10-30 USD

Paguhet në dorëzim
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 e Projektit: 17944158

Rreth projektit

5 propozime
Projekt në distancë
Aktive 5 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
5 freelancers are bidding on average $30 USD for this job
Avatari i Përdoruesit
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 në 1 ditë
4,9 (56 përshtypje)
7,1
7,1
Avatari i Përdoruesit
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 në 1 ditë
5,0 (97 përshtypje)
5,9
5,9
Avatari i Përdoruesit
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 në 1 ditë
4,9 (36 përshtypje)
5,3
5,3
Avatari i Përdoruesit
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 në 1 ditë
0,0 (0 përshtypje)
0,0
0,0

Rreth klientit

Flamuri i UNITED STATES
Phoenix, United States
5,0
100
Mënyra e pagesës u verifikua
Anëtar që nga maj 7, 2004

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.