Find Jobs
Hire Freelancers

Fix function bug in VS2008 c++

$10-30 USD

Chiuso
Pubblicato più di 5 anni fa

$10-30 USD

Pagato al completamento
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
Rif. progetto: 17944158

Info sul progetto

5 proposte
Progetto a distanza
Attivo 5 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
5 freelance hanno fatto un'offerta media di $30 USD
Avatar dell'utente
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 in 1 giorno
4,9 (56 valutazioni)
7,1
7,1
Avatar dell'utente
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 in 1 giorno
5,0 (97 valutazioni)
5,9
5,9
Avatar dell'utente
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 in 1 giorno
4,9 (36 valutazioni)
5,3
5,3
Avatar dell'utente
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 in 1 giorno
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: UNITED STATES
Phoenix, United States
5,0
100
Metodo di pagamento verificato
Membro dal mag 7, 2004

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.