Results 1 to 2 of 2

Thread: Threats

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2000
    Location
    Antwerp
    Posts
    20

    Angry

    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


  2. #2

    Thread Starter
    Junior Member
    Join Date
    Apr 2000
    Location
    Antwerp
    Posts
    20

    Threads with a "d"

    I'm sorry, threads is with a "d"

    Viperke

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width