Click here to Skip to main content
15,867,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to create a DLL for mini2440 to run Labview Application Pin
sunil8800894-Dec-12 19:46
sunil8800894-Dec-12 19:46 
GeneralRe: How to create a DLL for mini2440 to run Labview Application Pin
Richard MacCutchan4-Dec-12 21:17
mveRichard MacCutchan4-Dec-12 21:17 
QuestionCComboBox for lots and lots of options Pin
Mattias G4-Dec-12 3:09
Mattias G4-Dec-12 3:09 
AnswerRe: CComboBox for lots and lots of options Pin
Richard MacCutchan4-Dec-12 4:40
mveRichard MacCutchan4-Dec-12 4:40 
GeneralRe: CComboBox for lots and lots of options Pin
Mattias G4-Dec-12 9:56
Mattias G4-Dec-12 9:56 
GeneralRe: CComboBox for lots and lots of options Pin
Richard MacCutchan4-Dec-12 21:15
mveRichard MacCutchan4-Dec-12 21:15 
GeneralRe: CComboBox for lots and lots of options Pin
Rolf Kristensen5-Dec-12 7:13
Rolf Kristensen5-Dec-12 7:13 
QuestionCString assignment crashes on Windows 7 Pin
pandit843-Dec-12 3:57
pandit843-Dec-12 3: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 Pin
David Crow3-Dec-12 4:08
David Crow3-Dec-12 4:08 
AnswerRe: CString assignment crashes on Windows 7 Pin
CPallini3-Dec-12 4:15
mveCPallini3-Dec-12 4:15 
AnswerRe: CString assignment crashes on Windows 7 Pin
Richard MacCutchan3-Dec-12 5:02
mveRichard MacCutchan3-Dec-12 5:02 
GeneralRe: CString assignment crashes on Windows 7 Pin
pandit843-Dec-12 5:41
pandit843-Dec-12 5:41 
GeneralRe: CString assignment crashes on Windows 7 Pin
Richard MacCutchan3-Dec-12 6:22
mveRichard MacCutchan3-Dec-12 6:22 
AnswerRe: CString assignment crashes on Windows 7 Pin
Stephen Hewitt4-Dec-12 6:34
Stephen Hewitt4-Dec-12 6:34 
GeneralRe: CString assignment crashes on Windows 7 Pin
pandit844-Dec-12 19:44
pandit844-Dec-12 19:44 
GeneralRe: CString assignment crashes on Windows 7 Pin
Stephen Hewitt5-Dec-12 3:49
Stephen Hewitt5-Dec-12 3:49 
AnswerRe: CString assignment crashes on Windows 7 Pin
pandit8418-Dec-12 7:48
pandit8418-Dec-12 7:48 
GeneralRe: CString assignment crashes on Windows 7 Pin
Stephen Hewitt18-Dec-12 17:44
Stephen Hewitt18-Dec-12 17:44 
QuestionSegmentation Fault in GTK library files Pin
SrivathsanRaghavan2-Dec-12 19:20
SrivathsanRaghavan2-Dec-12 19:20 
AnswerRe: Segmentation Fault in GTK library files Pin
Richard MacCutchan2-Dec-12 21:47
mveRichard MacCutchan2-Dec-12 21:47 
GeneralRe: Segmentation Fault in GTK library files Pin
SrivathsanRaghavan2-Dec-12 22:11
SrivathsanRaghavan2-Dec-12 22:11 
GeneralRe: Segmentation Fault in GTK library files Pin
Richard MacCutchan2-Dec-12 22:28
mveRichard MacCutchan2-Dec-12 22:28 
GeneralRe: Segmentation Fault in GTK library files Pin
SrivathsanRaghavan3-Dec-12 0:25
SrivathsanRaghavan3-Dec-12 0:25 
GeneralRe: Segmentation Fault in GTK library files Pin
Richard MacCutchan3-Dec-12 0:55
mveRichard MacCutchan3-Dec-12 0:55 
Questioncan i use mem_fun like this? Pin
Falconapollo1-Dec-12 17:37
Falconapollo1-Dec-12 17:37 

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.