DirectX 9.0

S

scorpion53061

I downloaded the SDK and the vb.net samples run fine in the original format
but when I pull them into VS2003 there are errors all over the place....

Has anyone else encountered this?

There is no activity in the DirectX group so I posted here to see if there
would be a response..
 
A

_Andy_

I downloaded the SDK and the vb.net samples run fine in the original format
but when I pull them into VS2003 there are errors all over the place....

Has anyone else encountered this?

There is no activity in the DirectX group so I posted here to see if there
would be a response..

What errors?
 
A

Armin Zingler

scorpion53061 said:
I downloaded the SDK and the vb.net samples run fine in the original
format but when I pull them into VS2003 there are errors all over the
place....

Has anyone else encountered this?

There is no activity in the DirectX group so I posted here to see if
there would be a response..

I don't see your post in microsoft.public.win32.programmer.directx.managed
 
S

scorpion53061

You were right. I posted at the vb.directx group.

I was not aware this one existed. Thank you....
 
N

Nak

Hey, did you get it resolved?

I had problems when using the DirectX 9 SDK with VB.NET 2003, Managed
DirectX wasn't being installed. For me I resolved the issue by installing
the SDK and then using Windows Update, Managed DirectX had appeared
mysteriously in the update list!

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
I got fed up with programming because it's such a
hamster wheel. I'm glad I'm back, but its still a lot
of running just to stay where you are!

:)
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
 
A

_Andy_

Hey, did you get it resolved?

I had problems when using the DirectX 9 SDK with VB.NET 2003, Managed
DirectX wasn't being installed. For me I resolved the issue by installing
the SDK and then using Windows Update, Managed DirectX had appeared
mysteriously in the update list!

Nick.

I had a hell of a struggle too. I eventually found that msvcr71.dll
had to be moved to system32.. Jeez...

Rgds,
 
S

scorpion53061

It did for me too after I went to windows update but I still get these
compile errors(though I did not touch the samples)

C:\DXSDK\SAMPLES\VB.NET\Common\d3dutil.vb(1073): 'Begin' is not a member of
'Microsoft.DirectX.Direct3D.Font'.

C:\DXSDK\SAMPLES\VB.NET\Common\d3dutil.vb(1088): Overload resolution failed
because no accessible 'DrawText' accepts this number of arguments.

C:\DXSDK\SAMPLES\VB.NET\Common\d3dutil.vb(1102): 'End' is not a member of
'Microsoft.DirectX.Direct3D.Font'.
 
N

Nak

Hi Scorpion,
It did for me too after I went to windows update but I still get these
compile errors(though I did not touch the samples)

LOL, stupid thing can't even install properly. By the time I had managed to
get it installed I had lost all desire to program with it!
C:\DXSDK\SAMPLES\VB.NET\Common\d3dutil.vb(1073): 'Begin' is not a member of
'Microsoft.DirectX.Direct3D.Font'.

C:\DXSDK\SAMPLES\VB.NET\Common\d3dutil.vb(1088): Overload resolution failed
because no accessible 'DrawText' accepts this number of arguments.

C:\DXSDK\SAMPLES\VB.NET\Common\d3dutil.vb(1102): 'End' is not a member of
'Microsoft.DirectX.Direct3D.Font'.

Oh dear, that seems like some bad examples! LOL

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
I got fed up with programming because it's such a
hamster wheel. I'm glad I'm back, but its still a lot
of running just to stay where you are!

:)
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
 
N

Nak

Hi Andy,
I had a hell of a struggle too. I eventually found that msvcr71.dll
had to be moved to system32.. Jeez...

LOL, strange installation routine!!!

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
I got fed up with programming because it's such a
hamster wheel. I'm glad I'm back, but its still a lot
of running just to stay where you are!

:)
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
 
S

scorpion53061

Nak,

I am uninstalling everything and starting this SDK install over again.
Let me know if you know any suggestions that will make this install go
correctly this time.
 
N

Nak

Hi Scorpion,
I am uninstalling everything and starting this SDK install over again.
Let me know if you know any suggestions that will make this install go
correctly this time.

There is no certainty that it will, unfortunately. But you will probably be
assured that it will "un-install" correctly!! :)

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
I got fed up with programming because it's such a
hamster wheel. I'm glad I'm back, but its still a lot
of running just to stay where you are!

:)
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
 
S

scorpion53061

Hi Nak,

The samples seem to now compile correctly...though I didnt do anyting
different than the first time.

However I am getting a message that says:

Could not initialize Direct3D

Any ideas?
 
N

Nak

Hi there,
Could not initialize Direct3D

What is your graphics card?

Have you got the latest graphics card drivers?

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
I got fed up with programming because it's such a
hamster wheel. I'm glad I'm back, but its still a lot
of running just to stay where you are!

:)
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
 
S

scorpion53061

You were right. My graphics card was at 8 not 9 and now it worked. Why the
samples worked though and not the project when compiled is a mystery to me.

I am not real keen on using this in an app right now. If I had so much
trouble to install and get this to run how hard will it be for the end user?
 
N

Nak

Hi Scorpion,
I am not real keen on using this in an app right now. If I had so much
trouble to install and get this to run how hard will it be for the end
user?

LOL, I can understand your concern but there is no need, DirectX retail
runtimes generally install flawlessly on Windows based systems. I have
never had any problems with installing the retail runtimes, and installing
the managed components *shouldn't* be a problem either. This sort of thing
can be packaged with the application so that you can have everything you
want on 1 CD so to speak, including the .NET Framework.

The only bit that seems to be unreliable is integrating with VS.NET, I have
read many problems, most quite trivial, but once you have it working your
off!! Why not have a go at making a really small DX9 app and then try
getting it to run on a system that does *not* have the .NET framework or
DirectX 9 installed, that would be your biggest hurdle, and if you can jump
that well then your laughing! ;-)

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
I got fed up with programming because it's such a
hamster wheel. I'm glad I'm back, but its still a lot
of running just to stay where you are!

:)
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top