Click here to Skip to main content
15,899,124 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get File Extension ....Help out great guys. Pin
igor196026-Aug-03 18:40
igor196026-Aug-03 18:40 
GeneralRe: Get File Extension ....Help out great guys. Pin
Dave Bryant26-Aug-03 18:47
Dave Bryant26-Aug-03 18:47 
GeneralRe: Get File Extension ....Help out great guys. Pin
rohit.dhamija26-Aug-03 19:45
rohit.dhamija26-Aug-03 19:45 
GeneralRe: Get File Extension ....Help out great guys. Pin
Abin26-Aug-03 21:18
Abin26-Aug-03 21:18 
GeneralRe: Get File Extension ....Help out great guys. Pin
rohit.dhamija26-Aug-03 22:55
rohit.dhamija26-Aug-03 22:55 
GeneralRe: Get File Extension ....Help out great guys. Pin
Abin27-Aug-03 0:26
Abin27-Aug-03 0:26 
GeneralRe: Get File Extension ....Help out great guys. Pin
rohit.dhamija27-Aug-03 1:19
rohit.dhamija27-Aug-03 1:19 
GeneralRelease version crashing Pin
act_x26-Aug-03 17:18
act_x26-Aug-03 17:18 
I have a VC++ Dialog application that creates a COM object and also spawns a thread using the AfxBeginThread Call.

from within my thread I do a PostMessage to my main thread to perform a function of the com object which usually crashes from within the thread . My code works perfect in the debug configuration


When i wanted to build the release version . My code is crashing after the point where I perfom POstmessage . 7 in 10 times my code crashes , remaining 3 times it works as expected . I really am not able to figure out what the error is . I have turned off optimizations(disable debug)for the release and still nothing is different .


The exact windows message while crashing is this :

the instruction at "0x(some address) " referenced memory at "0x(some address)". the memory could not be written !


Is there a way I can trap some error in the debug version . My debug version reports of one first chance exception . I really couldnt figure why that came ?

If someone has had experience with such cases it would be great if u can advise .

Thanks
GeneralRe: Release version crashing Pin
Matt Newman26-Aug-03 17:54
Matt Newman26-Aug-03 17:54 
GeneralRe: Release version crashing Pin
act_x26-Aug-03 18:05
act_x26-Aug-03 18:05 
GeneralRe: Release version crashing Pin
ZoogieZork26-Aug-03 18:09
ZoogieZork26-Aug-03 18:09 
GeneralRe: Release version crashing Pin
Abin26-Aug-03 18:13
Abin26-Aug-03 18:13 
GeneralRe: Release version crashing Pin
act_x26-Aug-03 18:42
act_x26-Aug-03 18:42 
GeneralRe: Release version crashing Pin
Abin26-Aug-03 19:04
Abin26-Aug-03 19:04 
GeneralClasses already exist Pin
phaedrus26-Aug-03 17:17
phaedrus26-Aug-03 17:17 
Questionmemory manager hate 1024 and 2048? Pin
novachen26-Aug-03 17:08
novachen26-Aug-03 17:08 
AnswerRe: memory manager hate 1024 and 2048? Pin
igor196026-Aug-03 18:51
igor196026-Aug-03 18:51 
GeneralRe: memory manager hate 1024 and 2048? Pin
novachen26-Aug-03 19:43
novachen26-Aug-03 19:43 
GeneralRe: memory manager hate 1024 and 2048? Pin
igor196026-Aug-03 21:08
igor196026-Aug-03 21:08 
GeneralRe: memory manager hate 1024 and 2048? Pin
novachen26-Aug-03 21:47
novachen26-Aug-03 21:47 
GeneralEdit Box Pin
DanYELL26-Aug-03 16:17
DanYELL26-Aug-03 16:17 
GeneralRe: Edit Box Pin
Neville Franks26-Aug-03 16:41
Neville Franks26-Aug-03 16:41 
Generalcome into possession of the operating system Pin
Hellin26-Aug-03 15:58
Hellin26-Aug-03 15:58 
GeneralRe: come into possession of the operating system Pin
Christian Graus26-Aug-03 16:16
protectorChristian Graus26-Aug-03 16:16 
GeneralRe: come into possession of the operating system Pin
Anonymous26-Aug-03 16:23
Anonymous26-Aug-03 16:23 

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.