Hy, im adding Audittrail to a project, that uses .nettiers. I know, that its possible to implement audittrail with the EF. But is it possible to do this, when you didnt use the EF for your O/R-Mapping? Thanks a lot for answers! andreas
andreas schaerer
Posts
-
O/R -Mapping with .netTiers and Audittrail with Entity Framework?? -
Audit Trail and Entity FrameworkHy, im evaluating how to implement Audit trail in a multi-tier .NET 3.5 Database driven Webapplication based on nettiers and SQL-Server 2008. I read a lot about the subject, but im still not sure whats the easiest way to do it. Is it possible at all to implement it (without refactoring everything) with the entity framework if the rest of the application never used the EF? Or do you guys think, that triggers would do the job just fine? Ah, and a 2nd question: Do I get this right, that frameworks like log4net are just for logging debug-infos and not for audittrail? thanx a lot for any input! Andreas
-
question to the pros: nasty ASSERTION in BOOSTHy there! i have a hughe problem in my company. i have a quite complex application (distributed, corba, mulithreaded, Boost, QT 3.3) and after closing the program (int closeevent() pApp->exit()) the program closes but after ca 5 sec. there comes an ASSERTION attached_thread_count == 0 in tss_hooks.cpp the code in boost looks like that: attached_threadcount == 0 in tss_hooks.cpp. the code there looks like this: it is in on_process_exit().. catch( ... ) { boost::call_once(init_threadmon_mutex, once_init_threadmon_mutex); boost::mutex::scoped_lock lock(*threadmon_mutex); BOOST_ASSERT(attached_thread_count == 0); return -1; even with the help of some c++ gurus and DevPartnerStudio we could not find the problem. actually it isnt that annoying because only at exit it happens. but we cant deliver it to the customer like that. does enyone has an idea what to do against it, even a trick to just dont show the assertion? unfortunately i cant make a release-version for different reasons. ideas? suggestions?? thanx for any input!! p.s. someone gave me the following input in an other board: Anyway, the assertion comes from the thread_specific_ptr machinery. It means that something registered a thread-exit handler but it wasn't called. This might happen if, for example, you use a thread_specific_ptr from a thread that wasn't created with boost::threads. andreas
-
how to extract a single bitmap from .avi file?hy, the samplecode worked, and it could do what i wanted, but i am sure there is a easier way, isnt it? arent there any MFC classes, or tricks, to do this easyer? thanx andreas
-
is there ANYBODY who could ever compile the Vision SDK?everybody i know , cant compile it! i did all the steps over and over (like adding the paths etc), but i always get build errors like: error C2086: 'T2::size_type size_type' : redefinition error C2086: 'T4::reference reference' : redefinition and then some 100 more.. im getting crazy! there is nowhere any support, or written about this problems, am i so stupid, and doing something wrong??? maby it does not work with VS.NET 2003 ??? thanx for any input!
-
how to extract a single bitmap from .avi file?hy, thanx a lot, i could download it. the code seems quite complicated, could you maby tell me shortly, how i can grabb a picture from an avi? for instance load an avi, and get the 4th bitmap of the movie and store it in a CBitmap object. thanx a lot!
-
how to extract a single bitmap from .avi file?hy, sorry, but i didnt found anything with this search string(not on the net and also not in the MSDN)! and i also didnt found the sample prog AviView. could you give me more details or an exact link? thanx
-
diffucult: how can i measure velocity with a webcam?ah, ok, but i think that would be difficult, because every frame you capture is basically different, even if nothing moves, because of the signal/noise ratio..ok, thanx for your help!
-
how to extract a single bitmap from .avi file?hy, i didnt found out, how i can do this. none of the classes i know, can load a .avi movie and then get a certain frame as a bitmap, does anybody has an idea, how i could do this? thanx a lot!
-
diffucult: how can i measure velocity with a webcam?maby youre right! nevertheless ill try to do it in 3 days:-) could you maby explain me shortly what means to compute a CRC over both images? thanx
-
diffucult: how can i measure velocity with a webcam?3 years,oh my gosh!? i thought i could do this in an afternoon:-) but im convinced there is an easy approach! and remember, all i want is relative velocity, not abolute. i just want to know if the hand moves slow or fast. so i was thinking about making every x ms a bitmap, and then compare them. lets say i wear a white t-shirt, and my hand is black. so when i move the hand up and down i could detect, how many light or dark pixels are in lets say 4 zones of the bitmap. so i could detect the position of the hand, and with that also the velocity. i think i could do this in 2 days, ;-) what do you think??
-
diffucult: how can i measure velocity with a webcam?hy,so you mean i should basically reduce the imagesize of the images i compare? but in the end i must compare pixels etc? i think youre right, maby even black/white pictures will do the job. what do you mean with "You could even be really elegant and sample as per a comb filter at the Nyquist frequency!" ? thanx, greez
-
diffucult: how can i measure velocity with a webcam?hy, i have a sample program, in which i can grab bitmaps or avis from any webcam. now, what im trying to do is to measure the velocity of movements, like lets say the movement of a hand. so when you shake your hand in front of the webcam, the program should put out a factor between 1-4 1 for slow and 4 for fast. i tryed several things, like comparing 2 bitmaps every 200ms, etc. but it all didnt worked . and also performance is a big issue. i compare the bitmap with bmpPicture.GetPixel(nW,nH) etc. so i need to compare every pixel. does anybody has an idea of how i can solve this problem? maby there is some code out there i can use, or a simpler approach? thanx a lot!
-
How to change background color of CDialog and it's elementshy, try to overwrite OnEraseBkg, and also OnCTLColor try something like this: HBRUSH CBaseView::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { switch (nCtlColor) { case CTLCOLOR_STATIC: case CTLCOLOR_LISTBOX: case CTLCOLOR_BTN: pDC->SetBkColor(GetSysColor(COLOR_BTNFACE)); return (HBRUSH)m_grayBrushPtr->GetSafeHandle(); break; default: return CFormView::OnCtlColor(pDC, pWnd, nCtlColor); break; } }
-
class member have no valid adress!!please help!hy, i dont think the problem is the debugger,or how could this be? what am i doing wrong? im working with visual c++ since 2 years now, and never experienced a similar problem. how can i solve the problem?
-
class member have no valid adress!!please help!hy, sorry, i do not understand your answer at all, could you please explain? thanx, greetz
-
neuronal networkhy there,i would like to make a software, who can learn if a .jpg of a human is male or female. the software should use a neuronal network. the idea is, that first i view some hundret pictures of people, and always click male or female, then, the network tryes to learn, and should be able to decide if a picture is male or female. does anybody can give me tips, how i can do this? is there code available for the neuronal network things? i would be very happy for input! thanx a lot!
-
class member have no valid adress!!please help!hy, i have written an exe and a dll. the exe uses a class in the dll. in this dll- class i have some CString members. now, when i debug i see the following: in the constructor, everything is fine, all strings got initialized and have valid adresses. now in a subsequent functioncall, every CString Member has the adress 0x000000 except the one who was first declared in the class. i have no idea, what the problem could be! has it something todo with the dll? please help me!! thanx