Hi,

I've written a DLL in C (dos), which I need for the communication with my DSP. I call the DLL from VB, which is no problem. Afther I initialized my DSP and placed him in run mode (function freerun), I need to constant receive data from the DSP!! The problem is that when de DSP runs, I can't use( can't click any button) my program anymore until the DSP stops running. I think the sollution is to use threats!

Does somebody know how I can do it????

Here's my code from the toolbar:

Private Sub tbToolBar_ButtonClick(ByVal Button As MSComCtlLib.Button)
On Error Resume Next
Select Case Button.Key
Case "Start"
' Initialize DSP
InitializeMonitor
' load DSP file to DSP
LoadDsk
' initialize registers
InitRegister
'Place DSP in run mode
FreeRun
' receive data from DSP, needed to put pixels
' on my screen
' I need to display a meteosat picture
ReceiveData
End Select
End Sub
TNX

Greeting
Viperken