Jump to content
  • Advertisement
Sign in to follow this  
BALIKEKMEK

framework style

This topic is 4846 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I would like to give framework class a try but i couldn't manage to create a new project like an emptyproject sample in SDK/samples/managed/direct3d. Exact copy of the solution folder and common files ( relinked ) does not work. It builds nicely but the executable file only works back in the original place of emptyproject.exe . How come an empty project require a media file on SDK installation? or should i use the classical onidle style? Help me for a GOOD and EMPTY project please.

Share this post


Link to post
Share on other sites
Advertisement
I thought by now , I would have many replies (should i have asked fot the BEST empty project :) ). There is noone even telling me that it is not even worth a reply :(

I dont think so but if someone tries the same copy approach , dont waste your hours like me on debug, here *** is the breakpoint before error:

file: dxmutmisc.cs
---------------------------------------------
778 foreach(Effect e in effectCache.Values)
*** 779 e.OnResetDevice();

Share this post


Link to post
Share on other sites
The DX SDK should install a DX AppWizard that you can use. (At least, that's what it did in the days of VC6.)

Share this post


Link to post
Share on other sites
Quote:
Original post by Promit
The DX SDK should install a DX AppWizard that you can use. (At least, that's what it did in the days of VC6.)


Yes, I Agree.

Share this post


Link to post
Share on other sites
hi,

why don't you just choose a simple dx tutorial source that you like and understand, and rip out the code you don't need for an empty project?

kp

Share this post


Link to post
Share on other sites
I have created a template file that can be used in the New vs2005 system, located on www.ircomm.net.

The empty project from the sdk needs the media directory, as well as the UI directory in the media directory. Located there are the textures and objects needed to create the GUI system.

All I have done in the past is to set up a media directory, as well as the UI directory underneath, then copy all of the files from the UI directory in the sdk to the directory I have just created. This will then work as the DX Framework classes will search for that directory.

Share this post


Link to post
Share on other sites
Thank you Myrke bu I guess I found it.

There is a samplebrowser.exe which can show a sample, its documentation and can install it to your project folder with necessary renaming and copying operations.

[edit] although it does create a faulty one [/edit]

Unaware of this utility, I had to browse through the framework codes which was very useful. BTW, these samples also use the Idle style for the loop.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!