Click here to Skip to main content
15,921,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WriteFile / CreateThread Pin
enhzflep5-May-10 1:57
enhzflep5-May-10 1:57 
AnswerRe: Error 87, ERROR_INVALID_PARAMETER , has to do with the volume's sector size. Pin
Software_Developer5-May-10 1:45
Software_Developer5-May-10 1:45 
GeneralRe: Error 87, ERROR_INVALID_PARAMETER , has to do with the volume's sector size. Pin
Richard MacCutchan5-May-10 3:30
mveRichard MacCutchan5-May-10 3:30 
GeneralRe: Error 87, ERROR_INVALID_PARAMETER , has to do with the volume's sector size. Pin
Joe Woodbury5-May-10 18:52
professionalJoe Woodbury5-May-10 18:52 
GeneralRe: Error 87, ERROR_INVALID_PARAMETER , has to do with the volume's sector size. Pin
Richard MacCutchan5-May-10 21:19
mveRichard MacCutchan5-May-10 21:19 
GeneralRe: Error 87, ERROR_INVALID_PARAMETER , has to do with the volume's sector size. Pin
Fareed Rizkalla5-May-10 9:05
Fareed Rizkalla5-May-10 9:05 
AnswerRe: WriteFile / CreateThread Pin
Joe Woodbury5-May-10 18:43
professionalJoe Woodbury5-May-10 18:43 
QuestionMemory read - write error Pin
İsmail Kurnaz4-May-10 22:33
İsmail Kurnaz4-May-10 22:33 
Hi,
I have lots of class and I have a problem. This is,

"An unhandled exception of type 'System.AccessViolationException' occurred in TrafficSim.exe
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

I have classes and their functions.

class FollowAgent

class CreateAgent
{
FollowAgent* dFollowAgent
}

class DriveAgent
{
dCreateAgent = new CreateAgent(...);
...........
dCreateAgent->dFollowAgent= new FollowAgent(...);
}

I think the error is about usage of "dCreateAgent->dFollowAgent". if I use as "dFollowAgent= new FollowAgent(...);" it works normally, but is not my aim.

How can I solve this problem?

Have a good work!
AnswerRe: Memory read - write error Pin
Code-o-mat4-May-10 22:47
Code-o-mat4-May-10 22:47 
GeneralRe: Memory read - write error Pin
İsmail Kurnaz4-May-10 23:13
İsmail Kurnaz4-May-10 23:13 
GeneralRe: Memory read - write error Pin
Code-o-mat4-May-10 23:18
Code-o-mat4-May-10 23:18 
QuestionIntel Compiler IA-32 11.0.061 installation question Pin
Chesnokov Yuriy4-May-10 20:15
professionalChesnokov Yuriy4-May-10 20:15 
AnswerRe: Intel Compiler IA-32 11.0.061 installation question Pin
CPallini4-May-10 21:17
mveCPallini4-May-10 21:17 
AnswerRe: Intel Compiler IA-32 11.0.061 installation question Pin
Richard MacCutchan4-May-10 21:19
mveRichard MacCutchan4-May-10 21:19 
GeneralRe: Intel Compiler IA-32 11.0.061 installation question Pin
Fareed Rizkalla5-May-10 0:10
Fareed Rizkalla5-May-10 0:10 
GeneralRe: Intel Compiler IA-32 11.0.061 installation question Pin
Richard MacCutchan5-May-10 0:47
mveRichard MacCutchan5-May-10 0:47 
Questionhow to create dialogs in Console application Pin
manoharbalu4-May-10 19:16
manoharbalu4-May-10 19:16 
AnswerRe: how to create dialogs in Console application Pin
Cedric Moonen4-May-10 20:14
Cedric Moonen4-May-10 20:14 
GeneralRe: how to create dialogs in Console application Pin
manoharbalu4-May-10 20:42
manoharbalu4-May-10 20:42 
GeneralRe: how to create dialogs in Console application Pin
Fareed Rizkalla5-May-10 0:11
Fareed Rizkalla5-May-10 0:11 
AnswerRe: how to create dialogs in Console application Pin
Stephen Hewitt4-May-10 20:30
Stephen Hewitt4-May-10 20:30 
GeneralRe: how to create dialogs in Console application Pin
manoharbalu4-May-10 20:46
manoharbalu4-May-10 20:46 
GeneralRe: how to create dialogs in Console application Pin
Software_Developer4-May-10 22:18
Software_Developer4-May-10 22:18 
QuestionRe: how to create dialogs in Console application Pin
David Crow5-May-10 3:01
David Crow5-May-10 3:01 
AnswerRe: Yes Pin
Software_Developer5-May-10 6:41
Software_Developer5-May-10 6:41 

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.