Click here to Skip to main content
15,910,886 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Return value from a stored procedure in ADO Pin
youssef20-Sep-02 3:14
youssef20-Sep-02 3:14 
GeneralRe: Return value from a stored procedure in ADO Pin
TyMatthews20-Sep-02 5:36
TyMatthews20-Sep-02 5:36 
GeneralRe: Return value from a stored procedure in ADO Pin
youssef20-Sep-02 5:48
youssef20-Sep-02 5:48 
GeneralRe: Return value from a stored procedure in ADO Pin
TyMatthews20-Sep-02 5:50
TyMatthews20-Sep-02 5:50 
GeneralRe: Return value from a stored procedure in ADO Pin
Carlos Antollini20-Sep-02 6:09
Carlos Antollini20-Sep-02 6:09 
GeneralRe: Return value from a stored procedure in ADO Pin
youssef20-Sep-02 7:38
youssef20-Sep-02 7:38 
GeneralRe: Return value from a stored procedure in ADO Pin
youssef20-Sep-02 10:16
youssef20-Sep-02 10:16 
Generalout of memory Pin
SamirSood19-Sep-02 7:15
SamirSood19-Sep-02 7:15 
When I Insert the records into the database which contain files using the following code:-

CSplit splt;
HGLOBAL hGlobal;
int m_r;
tst.Open(CRecordset::dynamic);
tst.AddNew();
tst.m_Split_ID ="128888211111";
CString m_strMid;
m_r = f.GetLength();
hGlobal = GlobalAlloc(GPTR,m_r);
tst.m_Split_Eng_Text.m_dwDataLength = m_r;
tst.m_Split_Eng_Text.m_hData = GlobalLock(hGlobal);
f.ReadHuge(tst.m_Split_Eng_Text.m_hData,m_r);
tst.SetFieldDirty(&tst.m_Split_Eng_Text);
tst.SetFieldNull(&tst.m_Split_Eng_Text,FALSE);
tst.Update();
f.Close();
tst.Close();

But When I repeat the above lines of code
It is giving me error as
"Out of Memory"
Can anyone suggest the solution for it


Samir Sood
GeneralRe: out of memory Pin
jmkhael19-Sep-02 7:42
jmkhael19-Sep-02 7:42 
GeneralRe: out of memory Pin
SamirSood19-Sep-02 20:37
SamirSood19-Sep-02 20:37 
GeneralTwo dimensional array Pin
needhelp5719-Sep-02 7:04
needhelp5719-Sep-02 7:04 
GeneralRe: Two dimensional array Pin
User 988519-Sep-02 7:04
User 988519-Sep-02 7:04 
GeneralRe: Two dimensional array Pin
needhelp5721-Sep-02 10:55
needhelp5721-Sep-02 10:55 
GeneralRe: Two dimensional array Pin
Michael Dunn19-Sep-02 7:53
sitebuilderMichael Dunn19-Sep-02 7:53 
GeneralRe: Two dimensional array Pin
valikac19-Sep-02 10:00
valikac19-Sep-02 10:00 
Generalmemory mapped file Pin
User 988519-Sep-02 6:43
User 988519-Sep-02 6:43 
GeneralRe: memory mapped file Pin
valikac19-Sep-02 10:06
valikac19-Sep-02 10:06 
GeneralRe: memory mapped file Pin
Neville Franks19-Sep-02 11:27
Neville Franks19-Sep-02 11:27 
GeneralRe: memory mapped file Pin
User 988519-Sep-02 15:35
User 988519-Sep-02 15:35 
GeneralRe: memory mapped file Pin
Neville Franks20-Sep-02 11:07
Neville Franks20-Sep-02 11:07 
GeneralRe: memory mapped file Pin
User 988520-Sep-02 12:11
User 988520-Sep-02 12:11 
GeneralRe: memory mapped file Pin
Neville Franks20-Sep-02 12:23
Neville Franks20-Sep-02 12:23 
GeneralAssigning character string to LPCWSTR Pin
abhinarulkar19-Sep-02 6:32
abhinarulkar19-Sep-02 6:32 
GeneralRe: Assigning character string to LPCWSTR Pin
dabs19-Sep-02 6:40
dabs19-Sep-02 6:40 
GeneralRegisterClass problem Pin
saekth19-Sep-02 6:30
saekth19-Sep-02 6:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.