proplem initialization

i have put together this code with the help of a textbook
(trying to leanr directx)
and i havn't been able to find any errors between the code i have writen and what they had.
i have 4 errors
was wondering if anyone could tell me where i'm going wrong?
[294 byte] By [ZeroNerv] at [2007-11-19 19:33:09]
# 1 Re: proplem initialization
This page should help you out.

http://externalweb.exhedra.com/DirectX4VB/TUT_DX8Start.asp
dglienna at 2007-11-10 3:49:35 >
# 2 Re: proplem initialization
thanks i'll give it a look

but i'd still like it if someone could take a look at the code i have writen so far

and perhaps find out the problem......

its very short just an initialization of a window, direct3d9 and make the screen black.

thanks again for any help anyone can give me
ZeroNerv at 2007-11-10 3:50:35 >
# 3 Re: proplem initialization
woops lol never mind i have come up withe the answer.
stupidly i was forgeting to include the d3d9.lib and d3d9x.lib

i have no problems now :)
ZeroNerv at 2007-11-10 3:51:42 >