Click here to Skip to main content
11,479,170 members (57,946 online)

C / C++ / MFC

 
AnswerRe: Image Processing Algorithms. [modified] Pin
April Fans22-Dec-12 22:01
memberApril Fans22-Dec-12 22:01 
QuestionMouse procedure On Multiple Window Pin
yogeshs4-Dec-12 19:20
memberyogeshs4-Dec-12 19:20 
AnswerRe: Mouse procedure On Multiple Window [ setCapture Not Releasing] how to deal with two Windows. Pin
yogeshs4-Dec-12 21:00
memberyogeshs4-Dec-12 21:00 
QuestionAbout set share directory Pin
tida014-Dec-12 17:06
membertida014-Dec-12 17:06 
QuestionHow to create a DLL for mini2440 to run Labview Application [modified] Pin
sunil8800894-Dec-12 5:00
membersunil8800894-Dec-12 5:00 
AnswerRe: How to create a DLL for mini2440 to run Labview Application Pin
Richard MacCutchan4-Dec-12 5:36
mvpRichard MacCutchan4-Dec-12 5:36 
GeneralRe: How to create a DLL for mini2440 to run Labview Application Pin
sunil8800894-Dec-12 20:46
membersunil8800894-Dec-12 20:46 
GeneralRe: How to create a DLL for mini2440 to run Labview Application Pin
Richard MacCutchan4-Dec-12 22:17
mvpRichard MacCutchan4-Dec-12 22:17 
QuestionCComboBox for lots and lots of options Pin
Mattias G4-Dec-12 4:09
memberMattias G4-Dec-12 4:09 
AnswerRe: CComboBox for lots and lots of options Pin
Richard MacCutchan4-Dec-12 5:40
mvpRichard MacCutchan4-Dec-12 5:40 
GeneralRe: CComboBox for lots and lots of options Pin
Mattias G4-Dec-12 10:56
memberMattias G4-Dec-12 10:56 
GeneralRe: CComboBox for lots and lots of options Pin
Richard MacCutchan4-Dec-12 22:15
mvpRichard MacCutchan4-Dec-12 22:15 
GeneralRe: CComboBox for lots and lots of options Pin
Rolf Kristensen5-Dec-12 8:13
memberRolf Kristensen5-Dec-12 8:13 
QuestionCString assignment crashes on Windows 7 [modified] Pin
pandit843-Dec-12 4:57
memberpandit843-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 Pin
DavidCrow3-Dec-12 5:08
memberDavidCrow3-Dec-12 5:08 
AnswerRe: CString assignment crashes on Windows 7 Pin
CPallini3-Dec-12 5:15
mvpCPallini3-Dec-12 5:15 
AnswerRe: CString assignment crashes on Windows 7 Pin
Richard MacCutchan3-Dec-12 6:02
mvpRichard MacCutchan3-Dec-12 6:02 
GeneralRe: CString assignment crashes on Windows 7 Pin
pandit843-Dec-12 6:41
memberpandit843-Dec-12 6:41 
GeneralRe: CString assignment crashes on Windows 7 Pin
Richard MacCutchan3-Dec-12 7:22
mvpRichard MacCutchan3-Dec-12 7:22 
AnswerRe: CString assignment crashes on Windows 7 Pin
Stephen Hewitt4-Dec-12 7:34
memberStephen Hewitt4-Dec-12 7:34 
GeneralRe: CString assignment crashes on Windows 7 Pin
pandit844-Dec-12 20:44
memberpandit844-Dec-12 20:44 
GeneralRe: CString assignment crashes on Windows 7 [modified] Pin
Stephen Hewitt5-Dec-12 4:49
memberStephen Hewitt5-Dec-12 4:49 
AnswerRe: CString assignment crashes on Windows 7 Pin
pandit8418-Dec-12 8:48
memberpandit8418-Dec-12 8:48 
GeneralRe: CString assignment crashes on Windows 7 Pin
Stephen Hewitt18-Dec-12 18:44
memberStephen Hewitt18-Dec-12 18:44 
QuestionSegmentation Fault in GTK library files Pin
SrivathsanRaghavan2-Dec-12 20:20
memberSrivathsanRaghavan2-Dec-12 20:20 
AnswerRe: Segmentation Fault in GTK library files Pin
Richard MacCutchan2-Dec-12 22:47
mvpRichard MacCutchan2-Dec-12 22:47 
GeneralRe: Segmentation Fault in GTK library files Pin
SrivathsanRaghavan2-Dec-12 23:11
memberSrivathsanRaghavan2-Dec-12 23:11 
GeneralRe: Segmentation Fault in GTK library files Pin
Richard MacCutchan2-Dec-12 23:28
mvpRichard MacCutchan2-Dec-12 23:28 
GeneralRe: Segmentation Fault in GTK library files Pin
SrivathsanRaghavan3-Dec-12 1:25
memberSrivathsanRaghavan3-Dec-12 1:25 
GeneralRe: Segmentation Fault in GTK library files Pin
Richard MacCutchan3-Dec-12 1:55
mvpRichard MacCutchan3-Dec-12 1:55 
Questioncan i use mem_fun like this? Pin
Falconapollo1-Dec-12 18:37
memberFalconapollo1-Dec-12 18:37 
AnswerRe: can i use mem_fun like this? Pin
Richard MacCutchan1-Dec-12 21:56
mvpRichard MacCutchan1-Dec-12 21:56 
AnswerRe: can i use mem_fun like this? Pin
Stephen Hewitt2-Dec-12 5:45
memberStephen Hewitt2-Dec-12 5:45 
AnswerRe: can i use mem_fun like this? Pin
goumuli2-Dec-12 7:21
groupgoumuli2-Dec-12 7:21 
AnswerRe: can i use mem_fun like this? Pin
Stefan_Lang3-Dec-12 3:14
memberStefan_Lang3-Dec-12 3:14 
AnswerRe: can i use mem_fun like this? Pin
Stefan_Lang3-Dec-12 4:45
memberStefan_Lang3-Dec-12 4:45 
GeneralRe: can i use mem_fun like this? Pin
Falconapollo4-Dec-12 15:43
memberFalconapollo4-Dec-12 15:43 
Questionclient server for running the program Pin
danielsutopo1-Dec-12 16:09
memberdanielsutopo1-Dec-12 16:09 
AnswerRe: client server for running the program Pin
Albert Holguin1-Dec-12 18:22
memberAlbert Holguin1-Dec-12 18:22 
QuestionLimiting selected checkbox items in a CListCtrl Pin
softwaremonkey1-Dec-12 2:40
membersoftwaremonkey1-Dec-12 2:40 
SuggestionRe: Limiting selected checkbox items in a CListCtrl Pin
DavidCrow1-Dec-12 4:51
memberDavidCrow1-Dec-12 4:51 
AnswerRe: Limiting selected checkbox items in a CListCtrl Pin
Jochen Arndt2-Dec-12 0:56
memberJochen Arndt2-Dec-12 0:56 
GeneralRe: Limiting selected checkbox items in a CListCtrl Pin
softwaremonkey2-Dec-12 23:45
membersoftwaremonkey2-Dec-12 23:45 
QuestionUsing VISUAL C++ 6.0 with OLE Pin
ForNow30-Nov-12 10:06
memberForNow30-Nov-12 10:06 
AnswerRe: Using VISUAL C++ 6.0 with OLE Pin
jschell30-Nov-12 11:46
memberjschell30-Nov-12 11:46 
SuggestionRe: Using VISUAL C++ 6.0 with OLE Pin
DavidCrow30-Nov-12 15:24
memberDavidCrow30-Nov-12 15:24 
GeneralRe: Using VISUAL C++ 6.0 with OLE Pin
ForNow4-Dec-12 14:48
memberForNow4-Dec-12 14:48 
AnswerRe: Using VISUAL C++ 6.0 with OLE Pin
Stephen Hewitt2-Dec-12 5:54
memberStephen Hewitt2-Dec-12 5:54 
AnswerRe: Using VISUAL C++ 6.0 with OLE Pin
Cristian Amarie3-Dec-12 9:52
memberCristian Amarie3-Dec-12 9:52 
QuestionDll injection and hooking Pin
miniman0630-Nov-12 8:47
memberminiman0630-Nov-12 8:47 

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
Web02 | 2.8.150520.1 | Last Updated 22 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid