Click here to Skip to main content
15,906,625 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: String Comparing Pin
Cedric Moonen5-Feb-09 20:10
Cedric Moonen5-Feb-09 20:10 
GeneralRe: String Comparing Pin
brucewayn5-Feb-09 20:53
brucewayn5-Feb-09 20:53 
GeneralRe: String Comparing Pin
tasumisra5-Feb-09 21:08
tasumisra5-Feb-09 21:08 
AnswerRe: String Comparing Pin
cmk5-Feb-09 20:53
cmk5-Feb-09 20:53 
GeneralRe: String Comparing Pin
brucewayn5-Feb-09 20:59
brucewayn5-Feb-09 20:59 
GeneralRe: String Comparing Pin
cmk6-Feb-09 8:55
cmk6-Feb-09 8:55 
AnswerRe: String Comparing Pin
«_Superman_»5-Feb-09 21:12
professional«_Superman_»5-Feb-09 21:12 
QuestionWhy CString is Not Relasing memory in Release mode Pin
Ramasani5-Feb-09 17:55
Ramasani5-Feb-09 17:55 
Its very Urgent for me In my program CString is not Releasing the memory in Release mode in vc6.0 only it's working fine in debug mode and later versions of visual studio here i am sending a sample application can any one send replay its very urgent for me.

#include "stdafx.h"
#include "afx.h"
#include "afxwin.h"

#include <windows.h>
#include "fixalloc.h"


#pragma warning (disable:4786)
#pragma warning (disable:4503)
#include<list>
#include<string>
#include<vector>

using namespace std;



void test()
{
vector<CString> stldmlist;
CString a;

FILE *fp=fopen("E:\\log1.txt","r");
char str[1000];

while(!feof(fp))
{
fscanf(fp,"%s\n",str);
a=str;
stldmlist.push_back(a);
}
fclose(fp);

AfxMessageBox("Memory");

}

UINT32 main(int argc, char* argv[])
{
AfxMessageBox("Start ");

test();

AfxMessageBox("End");

return 1;
}

Hi this Ravinder

AnswerRe: Why CString is Not Relasing memory in Release mode Pin
Stuart Dootson5-Feb-09 19:58
professionalStuart Dootson5-Feb-09 19:58 
AnswerRe: Why CString is Not Relasing memory in Release mode Pin
CPallini6-Feb-09 3:32
mveCPallini6-Feb-09 3:32 
AnswerRe: Why CString is Not Relasing memory in Release mode Pin
Rajesh R Subramanian6-Feb-09 4:14
professionalRajesh R Subramanian6-Feb-09 4:14 
Questionwindows services and windows 2008 Pin
vikramlinux5-Feb-09 17:51
vikramlinux5-Feb-09 17:51 
AnswerRe: windows services and windows 2008 Pin
daniel_zy5-Feb-09 21:35
daniel_zy5-Feb-09 21:35 
GeneralRe: windows services and windows 2008 Pin
vikramlinux5-Feb-09 22:16
vikramlinux5-Feb-09 22:16 
GeneralRe: windows services and windows 2008 Pin
daniel_zy5-Feb-09 23:20
daniel_zy5-Feb-09 23:20 
GeneralRe: windows services and windows 2008 Pin
vikramlinux6-Feb-09 0:11
vikramlinux6-Feb-09 0:11 
AnswerRe: windows services and windows 2008 Pin
Stuart Dootson5-Feb-09 21:38
professionalStuart Dootson5-Feb-09 21:38 
Question64 bit equivalent of flex grid control and chart control Pin
raji_ushus5-Feb-09 17:46
raji_ushus5-Feb-09 17:46 
QuestionInvalidate() [modified] Pin
gemini5jun5-Feb-09 17:32
gemini5jun5-Feb-09 17:32 
Question[Message Deleted] Pin
regnwald5-Feb-09 15:44
regnwald5-Feb-09 15:44 
AnswerRe: Calling an existing form from another existing form Pin
Cedric Moonen5-Feb-09 20:06
Cedric Moonen5-Feb-09 20:06 
GeneralRe: Calling an existing form from another existing form Pin
regnwald6-Feb-09 15:31
regnwald6-Feb-09 15:31 
QuestionOperating system location (drive letter) Pin
FloatingMarc5-Feb-09 15:00
FloatingMarc5-Feb-09 15:00 
AnswerRe: Operating system location (drive letter) Pin
PIEBALDconsult5-Feb-09 15:18
mvePIEBALDconsult5-Feb-09 15:18 
AnswerRe: Operating system location (drive letter) Pin
David Crow5-Feb-09 15:26
David Crow5-Feb-09 15:26 

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.