1. RE: [REL] DirectE - DirectX for Eu

> From: stabmaster_ at hotmail.com [mailto:stabmaster_ at hotmail.com]

I've got Matrox Millenium G450, Win2000, DirectX 8.0, 1024x768x32.  All
demos give me an Error message box.
 
> >Only got a blank screen (different bg colors only) in all demos. I'm
> >running Win XP with the latest DirectX, Nvidia (GF 4 MX) and 
> ViewSonic
> >Drivers.

> >Also, it would be better to not depend on a .dll.
> 
> That's just not an option the way i see it. A lot of things 
> are done through 
> objects, and i at least don't know of any way of using C++ 
> objects directly 
> in Euphoria.

It's actually possible.  Take a look at EuCOM (there's a simple DirectX demo
included).  Also, I've been working with wxWindows, which is a C++ dll
(that's not ready for release, yet, but it's getting there).

Matt Lewis

new topic     » topic index » view message » categorize

2. RE: [REL] DirectE - DirectX for Eu

>I've got Matrox Millenium G450, Win2000, DirectX 8.0, 1024x768x32.  All
>demos give me an Error message box.
>

What does the message box say?

new topic     » goto parent     » topic index » view message » categorize

3. RE: [REL] DirectE - DirectX for Eu

> From: stabmaster_ at hotmail.com [mailto:stabmaster_ at hotmail.com]

> >I've got Matrox Millenium G450, Win2000, DirectX 8.0, 
> 1024x768x32.  All
> >demos give me an Error message box.
> >
> 
> What does the message box say?

It says "Error". :)

It's called from here:

directe.ew:806        if not
c_func(de_init,{deHWND,de_display_mode[1],de_displa
directe.ew:807            if message_box("Error","Error",MB_OK) then   

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

4. RE: [REL] DirectE - DirectX for Eu

> > What does the message box say?
>
>It says "Error". :)

Oh, heh. Guess i was too lazy to add a meaningful message.


>directe.ew:806        if not
>c_func(de_init,{deHWND,de_display_mode[1],de_displa
>directe.ew:807            if message_box("Error","Error",MB_OK) then

The only reason i can see for this error is that no D3D Device could be 
created. I'm using initialization code from various DirectX 8 tutorials on 
the web, so i find it very strange that it doesn't work for some people.

new topic     » goto parent     » topic index » view message » categorize

5. RE: [REL] DirectE - DirectX for Eu

Mic,
-Works for me, windows professional, NVIDIA. Pretty cool. But
if you just started learning Direct X yesterday and today youve got
this already...Im jealous. Whatever your doing, keep it up.
                            -J.Dube

new topic     » goto parent     » topic index » view message » categorize

6. RE: [REL] DirectE - DirectX for Eu

Mic,
cant work with them in fullscreen(but you said that, right?)
Also, do you plan on wrapping entire direct 3d?

new topic     » goto parent     » topic index » view message » categorize

7. RE: [REL] DirectE - DirectX for Eu

>Mic,
>cant work with them in fullscreen(but you said that, right?)
>Also, do you plan on wrapping entire direct 3d?

They should run in fullscreen if you pass DE_FULLSCREEN instead of 
DE_WINDOWED to deMain(). Though you may have to change the resolution in the 
programs to some standard resolution like 320x200, 320x240, 640x480, 800x600 
etc.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu