Click here to Skip to main content
15,908,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: which MFC or SDK should be used for video capturing? Pin
Ryan Binns19-Jun-03 0:12
Ryan Binns19-Jun-03 0:12 
GeneralRe: which MFC or SDK should be used for video capturing? Pin
John M. Drescher19-Jun-03 0:21
John M. Drescher19-Jun-03 0:21 
GeneralRe: which MFC or SDK should be used for video capturing? Pin
Ryan Binns19-Jun-03 0:53
Ryan Binns19-Jun-03 0:53 
AnswerRe: which MFC or SDK should be used for video capturing? Pin
John M. Drescher19-Jun-03 0:23
John M. Drescher19-Jun-03 0:23 
AnswerRe: which MFC or SDK should be used for video capturing? Pin
Trollslayer19-Jun-03 1:10
mentorTrollslayer19-Jun-03 1:10 
AnswerRe: which MFC or SDK should be used for video capturing? Pin
DengJW19-Jun-03 21:44
DengJW19-Jun-03 21:44 
QuestionWhat are CRichEditCtrl's limitations? Pin
blongtq18-Jun-03 20:19
blongtq18-Jun-03 20:19 
GeneralDomain model constraints Pin
N. Blumhardt18-Jun-03 18:45
sussN. Blumhardt18-Jun-03 18:45 
No design forum hey Chris?

Here's a puzzle for you guys & gals. Someone who's working on a domain model-based system will have a nice solution for me I hope...

The idea of building a domain model is so that the valuable parts of a system (i.e. business logic) are portable and isolated. However, I'm having trouble working out a nice way to move constraints that apply to multiple objects (multiple rows in the same table) away from the database and into the domain model.

For example, the constraint that two customers cannot be given the same names.

The obvious choice is a constraint on the table, however this moves logic out of the domain model.

Mediator classes etc are of no use, because checks cannot be made at the time of commit.

The problem might be associated with the implementation of Unit of Work that I'm using (much like Martin Fowler's) - checks need to be performed at some point in the commit process (any earlier and there is an opportunity for error) but before the end of the committing database transaction (otherwise no rollback is possible).

Hope this makes sense Unsure | :~ thanks if you can help.

Nick
GeneralAuto-restart your app.. Pin
RobJones18-Jun-03 17:31
RobJones18-Jun-03 17:31 
GeneralRe: Auto-restart your app.. Pin
Ryan Binns18-Jun-03 18:02
Ryan Binns18-Jun-03 18:02 
GeneralUndelete Pin
pranavamhari18-Jun-03 16:54
pranavamhari18-Jun-03 16:54 
GeneralRe: Undelete Pin
John M. Drescher18-Jun-03 17:00
John M. Drescher18-Jun-03 17:00 
Generalposting code to this website Pin
ke5in18-Jun-03 16:43
ke5in18-Jun-03 16:43 
GeneralRe: posting code to this website Pin
Robert Little18-Jun-03 16:54
Robert Little18-Jun-03 16:54 
GeneralRe: posting code to this website Pin
Ryan Binns18-Jun-03 17:16
Ryan Binns18-Jun-03 17:16 
GeneralRe: posting code to this website Pin
ke5in18-Jun-03 18:18
ke5in18-Jun-03 18:18 
GeneralRe: posting code to this website Pin
Ryan Binns18-Jun-03 18:28
Ryan Binns18-Jun-03 18:28 
GeneralHELP! How can I open an Excel file with Password Pin
ATC18-Jun-03 16:20
ATC18-Jun-03 16:20 
QuestionHow do I extract specific part of string needed using strstr.. Pin
IrishSonic18-Jun-03 14:58
IrishSonic18-Jun-03 14:58 
AnswerRe: How do I extract specific part of string needed using strstr.. Pin
Nish Nishant18-Jun-03 16:08
sitebuilderNish Nishant18-Jun-03 16:08 
QuestionCCombo Box and Currently Selected Item? Pin
adonisv18-Jun-03 14:54
adonisv18-Jun-03 14:54 
AnswerNevermind! Pin
adonisv19-Jun-03 14:27
adonisv19-Jun-03 14:27 
QuestionNested vectors don't work the way I had hoped - am I doing this right? Pin
kleft18-Jun-03 13:05
kleft18-Jun-03 13:05 
AnswerRe: Nested vectors don't work the way I had hoped - am I doing this right? Pin
Dave Bryant18-Jun-03 13:11
Dave Bryant18-Jun-03 13:11 
Generaltolerance :o) Pin
MemLeak18-Jun-03 9:38
MemLeak18-Jun-03 9:38 

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.