2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

c++ builder > [未解決] SetLocalTime()実行のための設定 > 失敗

Last updated at Posted at 2016-01-08
動作確認
C++ Builder XE4

SetLocalTime()を実行する場合、administratorでないとうまく実行できないのは知っていた。

以下を見つけた。
http://ryo021021.hatenablog.com/entry/2014/01/16/151809

[コントロールパネル]-[管理ツール]-[ローカルセキュリティポリシー]-[ローカルポリシー]-[ユーザ権限の割り当て]-[システム時刻の変更]
にてユーザを追加する。

上記を設定しPCを再起動後にSetLocaltime()をやってみたが、失敗する。

ドメインユーザが問題かどうか未解決。

別途、以下の情報も見つけた。
http://d.hatena.ne.jp/s-kita/20110409/1302342240

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?