Jump to content



Photo

Help on graphics using sdl.dll


  • Please log in to reply
4 replies to this topic

#1 madflame991

madflame991

    Wayfarer

  • Active Members
  • Pip
  • 97 posts

Posted 22 January 2008 - 05:38 PM

Can anyone please write down an example on how to display a simple image using sdl.dll and AutoIt??? I need this for a puzzle game I'm working on and I don't want to use popup windows with $WS_EX_LAYERED anymore.





#2 Swift

Swift

    Get Linux Ubuntu Now.

  • Banned (NOT IN USE)
  • 1,706 posts

Posted 22 January 2008 - 05:55 PM

I Have No Experience Calling .dll's Sorry, Jos or Jon, Or For That Matter, Anyone Else Could Help You....Be Patient :D

#3 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 9,694 posts

Posted 22 January 2008 - 06:01 PM

Why bother posting if you are just gonna say you don't know. Also, only the first word and significant nouns need to be capitalized, not every word in the sentence.

You'll need to provide us with more information on the dll in order for us to help though. If you could give us a function listing of the dll or preferable even a document reference, we might be able to help.

#4 Swift

Swift

    Get Linux Ubuntu Now.

  • Banned (NOT IN USE)
  • 1,706 posts

Posted 22 January 2008 - 06:04 PM

Sorry Richard, I Like Capitalizing EVERYTHING... :D

#5 madflame991

madflame991

    Wayfarer

  • Active Members
  • Pip
  • 97 posts

Posted 25 January 2008 - 09:01 PM

The list of functions is in the attachement...
I have tried this:
CODE
$dll = DllOpen("sdl.dll")
$result = DllCall($dll, "int", "SDL_CDPause",'int',1)
MsgBox(0,'resut',$result)
DllClose($dll)

but MsgBox returns nothing and the DllCall won't do anything.
Thnx for bothering! :D

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users