Jump to content

Recommended Posts

Posted

Half of these DLL examples would be usefull if they included information about what they accomplish. For those that can read most of what is posted and instantly understand it, you probably didn't need it posted. Those who can't instantly understand are half the time still in the dark as to whether the call is what they have sought.

  • 2 months later...
  • Replies 45
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted (edited)

hi all from Ukraine!

I need help.

I have one programm with api-functions.

I need help with sintaxis.

So:

- access to all function  using one interface:  IRunpadShell
- all function return S_OK if successful  and other code in other results
- all function is not Unicode

As Example how i may use this api function?:

HRESULT TurnShell(BOOL bNewState);

Turn On or Turn Off Shell (TRUE/FALSE).
Turn On Shell can only if shell state is RSS_OFF, and Turn Off if RSS_ACTIVE.

If i understand this example i understand other function of this program and teach little more Autoit.

ps: sorry for my Enlgish!!!

Edited by kpuk
  • 2 months later...
Posted

He posts July 28th... here it is 3 months later and no replies. hehe

Well yeah, if he posts a request for help in the developers forum... I'm just wondering why he wasn't redirected.

  • 5 weeks later...
Posted

Hi,

I would be grateful if some body could tell me how to pass a pre-allocated buffer to a DLL function?

Eg.

DllCall("user32.dll", "int", "wsprintf", "str", "", "str", "%s", "str", "Hello World")

Note:

1)I need to pass the pre-allocated buffer as the first argument.

2)How do I call a Dll function with a calling convention other than __stdcall

Drive C:\ is not ready, close the door!

  • Moderators
Posted

Hi,

I would be grateful if some body could tell me how to pass a pre-allocated buffer to a DLL function?

Eg.

DllCall("user32.dll", "int", "wsprintf", "str", "", "str", "%s", "str", "Hello World")

Note:

1)I need to pass the pre-allocated buffer as the first argument.

2)How do I call a Dll function with a calling convention other than __stdcall

Support questions should be asked in the support forum, besides, you'll get more of a response there, and far less flaming ;)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...