Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_dsstp関数が動かない #1

Open
nikolat opened this issue Nov 10, 2021 · 1 comment
Open

_dsstp関数が動かない #1

nikolat opened this issue Nov 10, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@nikolat
Copy link
Owner

nikolat commented Nov 10, 2021

_dsstp がまるで動かない
関数を実行するとそこで処理が止まって以降の処理が走らない

公式ドキュメントの用例

speak2( string s )
{
array request;
request += "SEND SSTP/1.4";
request += "Sender: akari";
request += "ID: "+_systemdict["uniqueid"]["Reference0"];
request += "HWnd: "+_systemdict["hwnd"]["Reference0"];
request += "Charset: Shift_JIS";
request += "Script: "+s;
request += "";
request += "";
_dsstp( request, _systemdict["hwnd"]["Reference0"] );
}

の通りに記述してもダメ

ちなみに_systemdict["hwnd"]["Reference0"]はバイト値1区切りで各スコープのhwndが入るので_bytechar(1)で_strsplitして第一要素をint型にキャストしないといけない
それはそれとして_dsstp自体まるで動かない

現状の回避策は存在しない
HandUtil.dll等、同等の機能を持つSAORIを使うしかない

@nikolat nikolat added the bug Something isn't working label Nov 10, 2021
@nikolat
Copy link
Owner Author

nikolat commented Nov 10, 2021

ちなみに_speak関数は正常に動作する

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant