Results 1 to 4 of 4

Thread: Error message

  1. #1

    Thread Starter
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking Error message

    Ok, does anyone know what this means. i got it as an error message when compiling:

    Sound.obj error LNK2001: unresolved external symbol _DirectSoundCreate@12

    thanks
    sql_lall

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    It means you called a function DirectSoundCreate, but you never supplied any code for it.

    You need to link with the DirectX library files, MSDN will tell you which ones are needed (look up that function), and then add it to the Linker section of Project Settings.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking OK

    Thanks for that. I will try to correct it, and if any more problems come about, i will post again.
    However, tomorrow i'll just delete this if it works
    sql_lall

  4. #4
    Fanatic Member McCain's Avatar
    Join Date
    Jan 2002
    Location
    Sweden/Denmark
    Posts
    802
    You shouldn't delete messages. Leave them here for future reference. Someone might have the same problem and when they search the forums and find this post they don't have to ask it again...
    Never argue with fools, they will only drag you down to their level, and beat you with experience.

    Q: How do you tell an experienced hacker from a novice?
    A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer

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