EDN Admin
Well-known member
After starting debug te program hangup . Moost of te time if DataGridViewLijsten_RowHeaderMouseClick is called.
Using pause butten the program is almoost in the random routine.
Private Function RandomSelect(ByVal maxwaarde As Integer) As Integer
On Error Resume Next<br/>
Dim ng As Integer<br/>
Rnd(-6)<br/>
Randomize()<br/>
ng = CInt((maxwaarde + 1) * Rnd(4) + 1)<br/>
lTest.Text = Str(ng)<br/>
RandomSelect = ng<br/>
End Function
No additional debuging packet gifs a fould code.
A few programs and with
The CLR has been unable to transition from COM context 0x4c7f78 to COM context 0x4c80e8 for 60 seconds.<br/>
The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing
<br/>
a very long running operation without pumping Windows messages. <br/>
This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time.<br/>
To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during<br/>
long running operations.
View the full article
Using pause butten the program is almoost in the random routine.
Private Function RandomSelect(ByVal maxwaarde As Integer) As Integer
On Error Resume Next<br/>
Dim ng As Integer<br/>
Rnd(-6)<br/>
Randomize()<br/>
ng = CInt((maxwaarde + 1) * Rnd(4) + 1)<br/>
lTest.Text = Str(ng)<br/>
RandomSelect = ng<br/>
End Function
No additional debuging packet gifs a fould code.
A few programs and with
The CLR has been unable to transition from COM context 0x4c7f78 to COM context 0x4c80e8 for 60 seconds.<br/>
The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing
<br/>
a very long running operation without pumping Windows messages. <br/>
This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time.<br/>
To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during<br/>
long running operations.
View the full article