Skip to content

Instantly share code, notes, and snippets.

@kumatti1
Created June 30, 2015 20:49
Show Gist options
  • Save kumatti1/a8f2867e798aad6f1e51 to your computer and use it in GitHub Desktop.
Save kumatti1/a8f2867e798aad6f1e51 to your computer and use it in GitHub Desktop.
OutputDebugStringW
Option Explicit
Private Declare Function OutputDebugStringW Lib "kernel32.dll" (ByVal lpOutputString As LongPtr) As LongPtr
Sub hoge()
Dim ret As LongPtr
ret = OutputDebugStringW(StrPtr("あいうえお"))
MsgBox ret
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment