Click here to Skip to main content
16,012,082 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFile ALWAYS not found ---> hr = pPropSetStg->Open(FMTID_SummaryInformation, STGM_READ | STGM_SHARE_EXCLUSIVE, &pPropStg); Pin
awbaker6222-May-05 2:28
awbaker6222-May-05 2:28 
GeneralRe: File ALWAYS not found ---> hr = pPropSetStg->Open(FMTID_SummaryInformation, STGM_READ | STGM_SHARE_EXCLUSIVE, &pPropStg); Pin
Geert van Horrik22-May-05 23:26
Geert van Horrik22-May-05 23:26 
GeneralSound output/wavetables etc. Pin
Trollslayer22-May-05 1:30
mentorTrollslayer22-May-05 1:30 
GeneralRe: Sound output/wavetables etc. Pin
Ryan Binns22-May-05 18:04
Ryan Binns22-May-05 18:04 
GeneralRe: Sound output/wavetables etc. Pin
Trollslayer23-May-05 1:20
mentorTrollslayer23-May-05 1:20 
GeneralRe: Sound output/wavetables etc. Pin
Ryan Binns23-May-05 3:54
Ryan Binns23-May-05 3:54 
GeneralCFile nad struct Pin
ALTF422-May-05 1:01
ALTF422-May-05 1:01 
GeneralRe: CFile nad struct Pin
Blake V. Miller22-May-05 2:29
Blake V. Miller22-May-05 2:29 
I bet it does work, it just is not doing what you are expecting.
If you were to TRACE("Size of my data is %u bytes.\r\n", sizeof(naslovniki)); I bet your number would be close to 24, and it would not change depending upon what text your CStrings contain. Now, why is this? Because when you write out sizeof(naslovniki) you are only writing out the contents of the CString class, not its data. In order to write out the text of the CString (unless you are using CArhive), you have to process the data yourself, writing perhaps the length of the text followed by the contents of the text itself.
GeneralRe: CFile nad struct Pin
Ravi Bhavnani22-May-05 5:56
professionalRavi Bhavnani22-May-05 5:56 
GeneralRe: CFile nad struct Pin
David Crow23-May-05 2:39
David Crow23-May-05 2:39 
GeneralProcesses Pin
Dennis L22-May-05 0:56
Dennis L22-May-05 0:56 
GeneralWM_PRINT Issue Pin
Axonn Echysttas22-May-05 0:44
Axonn Echysttas22-May-05 0:44 
GeneralInvalidating client area of a window Pin
laiju21-May-05 23:40
laiju21-May-05 23:40 
GeneralRe: Invalidating client area of a window Pin
laiju22-May-05 2:02
laiju22-May-05 2:02 
GeneralRe: Invalidating client area of a window Pin
doublebug24-May-05 10:05
doublebug24-May-05 10:05 
GeneralMultiple Reader - Single Writer - Lock for Win32 Pin
peterchen21-May-05 22:15
peterchen21-May-05 22:15 
GeneralRe: Multiple Reader - Single Writer - Lock for Win32 Pin
Ryan Binns22-May-05 18:18
Ryan Binns22-May-05 18:18 
GeneralRe: Multiple Reader - Single Writer - Lock for Win32 Pin
peterchen23-May-05 12:01
peterchen23-May-05 12:01 
GeneralPrint the program's source code Pin
ddmcr21-May-05 21:03
ddmcr21-May-05 21:03 
GeneralRe: Print the program's source code Pin
Blake V. Miller22-May-05 2:33
Blake V. Miller22-May-05 2:33 
GeneralRe: Print the program's source code Pin
donaldGuy22-May-05 10:58
donaldGuy22-May-05 10:58 
GeneralRe: Print the program's source code Pin
Christian Graus22-May-05 15:02
protectorChristian Graus22-May-05 15:02 
GeneralRe: Print the program's source code Pin
David Crow23-May-05 2:44
David Crow23-May-05 2:44 
GeneralRunning at set times Pin
Member 66746821-May-05 19:54
Member 66746821-May-05 19:54 
GeneralRe: Running at set times Pin
Trollslayer21-May-05 21:48
mentorTrollslayer21-May-05 21:48 

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.