Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow i use a wheel message of mouse? Pin
Member 20497-Jul-00 6:03
Member 20497-Jul-00 6:03 
GeneralPassing a CRecordset Pointer to another application through Clipboard Pin
Arvind Wadhawan7-Jul-00 2:55
sussArvind Wadhawan7-Jul-00 2:55 
GeneralRe: Passing a CRecordset Pointer to another application through Clipboard Pin
Pere Mitjavila15-Jul-00 0:07
Pere Mitjavila15-Jul-00 0:07 
GeneralRe: Passing a CRecordset Pointer to another application through Clipboard Pin
Blake Miller15-Jul-00 5:55
Blake Miller15-Jul-00 5:55 
GeneralDevice disabling Pin
cesco7-Jul-00 1:26
cesco7-Jul-00 1:26 
GeneralDoes anyone know how to start with DDK in VC6. Pin
Sajid Siraj6-Jul-00 23:52
Sajid Siraj6-Jul-00 23:52 
QuestionHow can i create an image list independent of the color supported by the system? Pin
Jiju George T6-Jul-00 23:47
Jiju George T6-Jul-00 23:47 
Generalaccess violations Pin
Member 43216-Jul-00 20:08
Member 43216-Jul-00 20:08 
Hi,
I am experiencing some strange problems. I am getting a whole bunch of access violations when I run
my program. The program doesn't crash but in the debug window you can see about 200 access violation
messages. I tracked this down to CMainFrame::OnCreate(). Infact, all of these access violations occur
at the point where the CToolBar's CreateEx function get called. Here is what App Wizard created for
my project for the CToolBar,

if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP
| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!m_wndToolBar.LoadToolBar(IDR_MAINFRAME))
{
TRACE0("Failed to create toolbar\n");
return -1; // fail to create
}

The Toolbar get created, but with a whole bunch of access violations along the way. Another thing,
this doesn't happen all the time. I would guess three out of five times I run the program, I get all of these
access violations. Anyway, I hope someone know why this is happening. I would really appreciate the help. Just in case someone was interested, here is a look at what the violation message looks like

First-chance exception in Plas.exe (GDI32.DLL): 0xC0000005: Access Violation.

Thanks
GeneralRe: access violations Pin
Paolo Messina6-Jul-00 22:40
professionalPaolo Messina6-Jul-00 22:40 
GeneralRe: access violations Pin
Sam Hobbs7-Jul-00 18:01
Sam Hobbs7-Jul-00 18:01 
GeneralRe: access violations Pin
sspcmp18-Jul-00 4:51
susssspcmp18-Jul-00 4:51 
GeneralRe: access violations Pin
Sam Hobbs18-Jul-00 6:35
Sam Hobbs18-Jul-00 6:35 
QuestionAnyoune knows differences with custom controls in NT and W98??? Pin
M.Vo.6-Jul-00 20:00
M.Vo.6-Jul-00 20:00 
AnswerRe: Anyoune knows differences with custom controls in NT and W98??? Pin
pba_6-Jul-00 23:02
pba_6-Jul-00 23:02 
GeneralRe: Anyoune knows differences with custom controls in NT and W98??? Pin
M.Vo.7-Jul-00 3:24
M.Vo.7-Jul-00 3:24 
AnswerSolved: Anyoune knows differences with custom controls in NT and W98??? Pin
M.Vo.10-Jul-00 9:51
M.Vo.10-Jul-00 9:51 
QuestionAnyoune knows differences with custom controls in NT and W98??? Pin
M.Vo.6-Jul-00 20:00
M.Vo.6-Jul-00 20:00 
AnswerRe: Anyoune knows differences with custom controls in NT and W98??? Pin
Alfadhly7-Jul-00 3:47
sussAlfadhly7-Jul-00 3:47 
GeneralRe: Anyone knows differences with custom controls in NT and W98??? Pin
M.Vo.7-Jul-00 4:01
M.Vo.7-Jul-00 4:01 
QuestionAnyoune knows differences with custom controls in NT and W98??? Pin
M.Vo.6-Jul-00 19:59
M.Vo.6-Jul-00 19:59 
QuestionHow do we window associated with a process using the process id Pin
Member 7325226-Jul-00 16:55
Member 7325226-Jul-00 16:55 
AnswerRe: How do we window associated with a process using the process id Pin
Paolo Messina6-Jul-00 22:31
professionalPaolo Messina6-Jul-00 22:31 
QuestionSDI with an MDI style close button? Pin
kumaichi6-Jul-00 13:50
kumaichi6-Jul-00 13:50 
GeneralChanging the background color of a read-only CEdit Pin
Joan Murt6-Jul-00 10:11
sussJoan Murt6-Jul-00 10:11 
GeneralRe: Changing the background color of a read-only CEdit Pin
Sam Hobbs7-Jul-00 6:07
Sam Hobbs7-Jul-00 6:07 

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.