LoginSignup
0
0

More than 5 years have passed since last update.

外部シンボルエラーの解決(Direct3DCreate9)

Posted at

DLLを作成する時にDirect3DCreate9関数について外部シンボルエラーで怒られた.
外部シンボルエラーは大抵ライブラリをリンクしていないことに因るので

#pragma comment(lib, "d3d9.lib")

を加えればリンカオプションを指定しなくても勝手にリンクしてくれる.

0
0
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
0
0