Click here to Skip to main content
15,913,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Copying structs into a BYTE array Pin
Wheatbread23-Apr-04 11:47
Wheatbread23-Apr-04 11:47 
GeneralRe: Copying structs into a BYTE array Pin
Rick York23-Apr-04 11:57
mveRick York23-Apr-04 11:57 
GeneralRe: Copying structs into a BYTE array Pin
Tim Smith23-Apr-04 16:04
Tim Smith23-Apr-04 16:04 
GeneralRe: Copying structs into a BYTE array Pin
Rick York23-Apr-04 20:52
mveRick York23-Apr-04 20:52 
GeneralRe: Copying structs into a BYTE array Pin
Tim Smith24-Apr-04 4:05
Tim Smith24-Apr-04 4:05 
GeneralRe: Copying structs into a BYTE array Pin
Paul Ranson24-Apr-04 4:37
Paul Ranson24-Apr-04 4:37 
GeneralRe: Copying structs into a BYTE array Pin
Wheatbread25-Apr-04 5:55
Wheatbread25-Apr-04 5:55 
GeneralPlease help!!! Dialogs problem Pin
Anton P. Ivanov23-Apr-04 9:55
Anton P. Ivanov23-Apr-04 9:55 
Please, anybody help me.
I'm a beginner in MFC.
And I'm sorry for my english if it's not good. I'm from Russia.

Now I'm making a simple database program and I'm need to provide a search mechanism for it.
Well, for instance, my general view class is CDBView and search dialog class is CSearch.
Search dialog is called by CDBView::OnSearch() function (Menu item). It's look like this:

CDBView::OnSearch()
{
CSearch dialog;
dialog.DoModal();
...
"search mechanism"
}

But I can't provide "search mechanism" by calling DoModal() in CDBView::OnSearch() and by writing

"search mechanism code" in CSearch::OnOK() (OK is the button for search in dialog). Why??? I've

got "Debug Assertion Failed ..." or something like that. What does this mean?

My search mechanism uses CRecordset m_pSet variable that also defined in CDBView class.
NOTE: search mechanism fully work if defined in CDBView class.

Confused | :confused:
GeneralRe: Please help!!! Dialogs problem Pin
Jeff Bogan23-Apr-04 10:38
Jeff Bogan23-Apr-04 10:38 
GeneralCreating a user login Pin
BrockVnm23-Apr-04 9:41
BrockVnm23-Apr-04 9:41 
GeneralRe: Creating a user login Pin
l a u r e n23-Apr-04 11:20
l a u r e n23-Apr-04 11:20 
GeneralRe: Creating a user login Pin
BrockVnm23-Apr-04 11:39
BrockVnm23-Apr-04 11:39 
GeneralRe: Creating a user login Pin
BrockVnm26-Apr-04 5:54
BrockVnm26-Apr-04 5:54 
GeneralRe: Creating a user login Pin
l a u r e n26-Apr-04 8:57
l a u r e n26-Apr-04 8:57 
GeneralRe: Creating a user login Pin
BrockVnm26-Apr-04 9:01
BrockVnm26-Apr-04 9:01 
GeneralHelp on dynamically creating UI elements based on XML data required Pin
Kamal Shankar23-Apr-04 9:14
Kamal Shankar23-Apr-04 9:14 
GeneralRe: Help on dynamically creating UI elements based on XML data required Pin
l a u r e n23-Apr-04 11:20
l a u r e n23-Apr-04 11:20 
GeneralHiding application from the ALT CTLR DEL list Pin
Arnav23-Apr-04 9:01
Arnav23-Apr-04 9:01 
GeneralRe: Hiding application from the ALT CTLR DEL list Pin
Dominik Reichl23-Apr-04 10:11
Dominik Reichl23-Apr-04 10:11 
GeneralRe: Hiding application from the ALT CTLR DEL list Pin
Gary R. Wheeler23-Apr-04 11:16
Gary R. Wheeler23-Apr-04 11:16 
GeneralRegisterServiceProcess not working in VC++ Pin
Arnav24-Apr-04 8:47
Arnav24-Apr-04 8:47 
GeneralRe: RegisterServiceProcess not working in VC++ Pin
Gary R. Wheeler27-Apr-04 14:31
Gary R. Wheeler27-Apr-04 14:31 
GeneralMultiple threads and ADO Pin
nanukos23-Apr-04 8:22
nanukos23-Apr-04 8:22 
GeneralRe: Multiple threads and ADO Pin
valikac23-Apr-04 12:30
valikac23-Apr-04 12:30 
GeneralRe: Multiple threads and ADO Pin
nanukos23-Apr-04 15:37
nanukos23-Apr-04 15:37 

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.