Click here to Skip to main content
       

C / C++ / MFC

 
GeneralRe: How to create a DLL for mini2440 to run Labview Application Pinmembersunil8800894-Dec-12 20:46 
GeneralRe: How to create a DLL for mini2440 to run Labview Application PinmvpRichard MacCutchan4-Dec-12 22:17 
QuestionCComboBox for lots and lots of options PinmemberMattias G4-Dec-12 4:09 
AnswerRe: CComboBox for lots and lots of options PinmvpRichard MacCutchan4-Dec-12 5:40 
GeneralRe: CComboBox for lots and lots of options PinmemberMattias G4-Dec-12 10:56 
GeneralRe: CComboBox for lots and lots of options PinmvpRichard MacCutchan4-Dec-12 22:15 
GeneralRe: CComboBox for lots and lots of options PinmemberRolf Kristensen5-Dec-12 8:13 
QuestionCString assignment crashes on Windows 7 [modified] Pinmemberpandit843-Dec-12 4:57 
Hi
I have a function
void TakeData(myStruct &structRef)
{
  CString str = TmpFileMgr->TmpFilePathName() ; //Returns file path 
  structRef.cstrFilePath = str ;                //Crashes at this point on Windows 7
}

 
in a dll which takes Temporary folder path and assign it in a CString variables. This CString variable is member of structure object which is passed as a reference to TakeData(myStruct &structRef)function.
I am able to print temporary folder path in TakeData function and CString assigment works perfectly on Windows XP. But when I run this code on Windows 7 it crashes at the point where I am doing assigment of temp folder path in a CString variable. I have all admin rights on Windows 7 System , also I have put UAC to OFF.
 
Please provide any input in this regard. Thanks

modified 3-Dec-12 10:16am.

SuggestionRe: CString assignment crashes on Windows 7 PinmemberDavidCrow3-Dec-12 5:08 
AnswerRe: CString assignment crashes on Windows 7 PinmvpCPallini3-Dec-12 5:15 
AnswerRe: CString assignment crashes on Windows 7 PinmvpRichard MacCutchan3-Dec-12 6:02 
GeneralRe: CString assignment crashes on Windows 7 Pinmemberpandit843-Dec-12 6:41 
GeneralRe: CString assignment crashes on Windows 7 PinmvpRichard MacCutchan3-Dec-12 7:22 
AnswerRe: CString assignment crashes on Windows 7 PinmemberStephen Hewitt4-Dec-12 7:34 
GeneralRe: CString assignment crashes on Windows 7 Pinmemberpandit844-Dec-12 20:44 
GeneralRe: CString assignment crashes on Windows 7 [modified] PinmemberStephen Hewitt5-Dec-12 4:49 
AnswerRe: CString assignment crashes on Windows 7 Pinmemberpandit8418-Dec-12 8:48 
GeneralRe: CString assignment crashes on Windows 7 PinmemberStephen Hewitt18-Dec-12 18:44 
QuestionSegmentation Fault in GTK library files PinmemberSrivathsanRaghavan2-Dec-12 20:20 
AnswerRe: Segmentation Fault in GTK library files PinmvpRichard MacCutchan2-Dec-12 22:47 
GeneralRe: Segmentation Fault in GTK library files PinmemberSrivathsanRaghavan2-Dec-12 23:11 
GeneralRe: Segmentation Fault in GTK library files PinmvpRichard MacCutchan2-Dec-12 23:28 
GeneralRe: Segmentation Fault in GTK library files PinmemberSrivathsanRaghavan3-Dec-12 1:25 
GeneralRe: Segmentation Fault in GTK library files PinmvpRichard MacCutchan3-Dec-12 1:55 
Questioncan i use mem_fun like this? PinmemberFalconapollo1-Dec-12 18:37 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 24 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid