Click here to Skip to main content
15,867,750 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionEntity Framework going in to infinite loop Pin
indian14316-Dec-11 10:20
indian14316-Dec-11 10:20 
AnswerRe: Entity Framework going in to infinite loop Pin
Not Active16-Dec-11 13:50
mentorNot Active16-Dec-11 13:50 
AnswerRe: Entity Framework going in to infinite loop Pin
Pete O'Hanlon19-Dec-11 0:56
subeditorPete O'Hanlon19-Dec-11 0:56 
QuestionOPENING THE VBA EDITOR ON CLICK ON OLEOBJECTS BUTTON Pin
archana jain15-Dec-11 2:43
archana jain15-Dec-11 2:43 
Questionreference and this in .net Pin
messages13-Dec-11 20:13
messages13-Dec-11 20:13 
AnswerRe: reference and this in .net Pin
Richard MacCutchan13-Dec-11 22:04
mveRichard MacCutchan13-Dec-11 22:04 
AnswerRe: reference and this in .net Pin
Abhinav S14-Dec-11 6:32
Abhinav S14-Dec-11 6:32 
QuestionThread sync Pin
columbos1492712-Dec-11 21:52
columbos1492712-Dec-11 21:52 
Hello,
I am writing an application that perform image acquisition frome a camera.

The image aqcuisition is done by a DLL Supplied by the camera manufactorer.

Basicaly im initializing the DLL and then i start capture,in my application i defened a function that is called by the DLL every captured frame,this "OnFrameCapturedHandler" function gets the frame as the parameter.
Then i perform some calculation on the frame and i display it on the GUI.

But the problem is that the grabbing is faster then my calculation so what happens is that a new frame comes in while the previous is still processed.So what i need is some way to block or to make "OnFrameCapturedHandler" not to do anything while previos frame is Processed.
I tried to put boolean at the begining of "OnFrameCapturedHandler" and set it to false while still processing and at the end set it to true.
And before entering the "OnFrameCapturedHandler" check it.but it freezes my app.



???
Thnaks.
AnswerRe: Thread sync Pin
Pete O'Hanlon12-Dec-11 22:16
subeditorPete O'Hanlon12-Dec-11 22:16 
GeneralRe: Thread sync Pin
columbos1492712-Dec-11 22:25
columbos1492712-Dec-11 22:25 
GeneralRe: Thread sync Pin
Pete O'Hanlon12-Dec-11 22:32
subeditorPete O'Hanlon12-Dec-11 22:32 
GeneralRe: Thread sync Pin
Albert Holguin13-Dec-11 3:21
professionalAlbert Holguin13-Dec-11 3:21 
AnswerRe: Thread sync Pin
Shameel21-Dec-11 2:47
professionalShameel21-Dec-11 2:47 
QuestionVisual Studio 2010 Pin
Gagnon Claude11-Dec-11 7:17
Gagnon Claude11-Dec-11 7:17 
AnswerRe: Visual Studio 2010 Pin
Pete O'Hanlon11-Dec-11 7:51
subeditorPete O'Hanlon11-Dec-11 7:51 
AnswerRe: Visual Studio 2010 Pin
Abhinav S11-Dec-11 18:30
Abhinav S11-Dec-11 18:30 
GeneralRe: Visual Studio 2010 Pin
Albert Holguin13-Dec-11 5:27
professionalAlbert Holguin13-Dec-11 5:27 
AnswerRe: Visual Studio 2010 Pin
Nolan Sunico15-Dec-11 15:42
Nolan Sunico15-Dec-11 15:42 
QuestionProblem with configuration reading Pin
Łukasz Nowakowski10-Dec-11 13:47
Łukasz Nowakowski10-Dec-11 13:47 
Questiontest question Pin
infobeena9-Dec-11 17:52
infobeena9-Dec-11 17:52 
AnswerRe: test question Pin
clientSurfer9-Dec-11 18:10
professionalclientSurfer9-Dec-11 18:10 
AnswerRe: test question Pin
Dave Kreskowiak9-Dec-11 19:05
mveDave Kreskowiak9-Dec-11 19:05 
GeneralRe: test question Pin
Rajesh Anuhya11-Dec-11 21:18
professionalRajesh Anuhya11-Dec-11 21:18 
AnswerRe: test question Pin
Luc Pattyn10-Dec-11 0:17
sitebuilderLuc Pattyn10-Dec-11 0:17 
AnswerRe: test question Pin
thatraja11-Dec-11 23:10
professionalthatraja11-Dec-11 23:10 

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.