Click here to Skip to main content
15,891,951 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reg - Edit Box [modified] Pin
Rajesh R Subramanian22-Dec-09 23:42
professionalRajesh R Subramanian22-Dec-09 23:42 
GeneralRe: Reg - Edit Box Pin
KingsGambit22-Dec-09 23:52
KingsGambit22-Dec-09 23:52 
GeneralRe: Reg - Edit Box Pin
LunaticFringe23-Dec-09 6:33
LunaticFringe23-Dec-09 6:33 
AnswerRe: Reg - Edit Box Pin
Rajesh R Subramanian22-Dec-09 23:21
professionalRajesh R Subramanian22-Dec-09 23:21 
AnswerRe: Reg - Edit Box Pin
Rajesh R Subramanian22-Dec-09 23:48
professionalRajesh R Subramanian22-Dec-09 23:48 
GeneralRe: Reg - Edit Box Pin
KingsGambit22-Dec-09 23:54
KingsGambit22-Dec-09 23:54 
GeneralRe: Reg - Edit Box Pin
Paulraj G23-Dec-09 0:27
Paulraj G23-Dec-09 0:27 
QuestionObject reference not set to an instance of an object. Pin
Anu_Bala22-Dec-09 22:29
Anu_Bala22-Dec-09 22:29 
After converting my project from VC6.0 to VS2008.Im getting continouly error.I dont have error in building the exe.
When im running this exe i got lot of errors.Mostly on System.AccessViolation,System.NullRefernceException like this.Now i get

An unhandled exception of type 'System.NullReferenceException' occurred in InstructorStation.exe

Additional information: Object reference not set to an instance of an object.

error in this fucntion.

void CMainFrame::UpdateOprs(CTrans *pData)
{
IsNewOpr = TRUE;
WriteDebug("UpdateOprs() - Begin");
.
.
}

THis function get called as follow
CTrans tData;
CMainFrame* tFrm = (CMainFrame*)AfxGetMainWnd();
for(i=0;i<LiveDataCount.Count;i++)
tData.m_sData.Insert(i,LiveArray[i]);
tFrm->UpdateOprs(&tData);

Whats the problem in converting?I thought converting project should be simple likethat.I don't know whether i did any wrong?
Pls guide me on this issue.

Anu

AnswerRe: Object reference not set to an instance of an object. Pin
Adam Roderick J22-Dec-09 23:07
Adam Roderick J22-Dec-09 23:07 
GeneralRe: Object reference not set to an instance of an object. Pin
Anu_Bala22-Dec-09 23:23
Anu_Bala22-Dec-09 23:23 
GeneralRe: Object reference not set to an instance of an object. Pin
Adam Roderick J22-Dec-09 23:27
Adam Roderick J22-Dec-09 23:27 
GeneralRe: Object reference not set to an instance of an object. Pin
Anu_Bala22-Dec-09 23:33
Anu_Bala22-Dec-09 23:33 
GeneralRe: Object reference not set to an instance of an object. Pin
Anu_Bala22-Dec-09 23:59
Anu_Bala22-Dec-09 23:59 
Questionrunning time Pin
danzie22-Dec-09 21:46
danzie22-Dec-09 21:46 
AnswerRe: running time [modified] Pin
Adam Roderick J22-Dec-09 22:08
Adam Roderick J22-Dec-09 22:08 
AnswerRe: running time Pin
Alan Balkany23-Dec-09 4:19
Alan Balkany23-Dec-09 4:19 
Questionbrother and sister, can you help me? Pin
nenfa22-Dec-09 21:24
nenfa22-Dec-09 21:24 
QuestionRe: brother and sister, can you help me? Pin
Adam Roderick J22-Dec-09 21:41
Adam Roderick J22-Dec-09 21:41 
AnswerRe: brother and sister, can you help me? Pin
nenfa23-Dec-09 0:07
nenfa23-Dec-09 0:07 
AnswerRe: brother and sister, can you help me? Pin
sashoalm23-Dec-09 0:27
sashoalm23-Dec-09 0:27 
AnswerRe: brother and sister, can you help me? Pin
rp_suman23-Dec-09 8:59
rp_suman23-Dec-09 8:59 
QuestionMSMQ: Problem with qInfo-&gt;PathName setting Pin
PankajB22-Dec-09 20:51
PankajB22-Dec-09 20:51 
AnswerRe: MSMQ: Problem with qInfo-&gt;PathName setting Pin
Adam Roderick J22-Dec-09 21:42
Adam Roderick J22-Dec-09 21:42 
GeneralRe: MSMQ: Problem with qInfo-&gt;PathName setting Pin
PankajB22-Dec-09 22:08
PankajB22-Dec-09 22:08 
GeneralRe: MSMQ: Problem with qInfo-&gt;PathName setting Pin
Adam Roderick J22-Dec-09 22:12
Adam Roderick J22-Dec-09 22:12 

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.