HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 15,264 | Guests: 9452 | Members: 1 


   Current Location: Forums New google drive   |   Which modchip is this?   |   Anyone here capable or interested in restarting XBConnect?   |   Error code 05   |   original xbox with 0 memory   |   Why cell damage is low with ratings   |   New Game - Fursan al-Aqsa - Knights of al-Aqsa Mosque   |   Xbox-Hq.Com VIP Member Testimonials   |   XBHD: A Full-Featured Original Xbox Adapter from EON Gaming,   |   Best place for XBox ROMS?   |   
  Home | Active Topics | CD/DVD Media | Downloads | Forums | Feedback | Games | HardDrives | Homebrew | My Profile | ModChips | Reviews | Search | SoftMods | Tutorials

Xbox Forums

Discuss all aspects of the original Xbox Console in our Interactive Xbox Forums..

Get Xbox Game Pass Ultimate
Xbox-Hq.Com :: View topic - Prt1 - "Empty Code"
Xbox-Hq.Com Forum Index -> Xbox Programming
Post new topic Reply to topic    
 Prt1 - "Empty Code" View previous topic :: View next topic  
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23942
Location: NSW, Australia

Post Posted: Sat Nov 13, 2004 2:18 pm   
Post subject: Prt1 - "Empty Code"
Reply with quote
 
So you've got the XDK, and you want a little tasty of how it works, how to get your little fingers in there.

Well remember once you've installed the XDK, you start up visual C++, and you want to know where to start...this takes us the the entry point...the place where it all begins.

Code:
//Main header file for the XDK
#include <xtl.h>

//Application entry point
void __cdecl main()
{
      StartGame();
}

What did you say? .."My god what is that!", well this is the entry point for all our programs, I've put a function called StartGame() in the body of the main loop which will call our code to start the game loop.

You could take the function call out "StartGame()" and press compile and it could compile and generate a .xbe for you which would work on the xbox.

Note: If you are using a mod-chip, and evo-x and you wish to run your .xbe on the xbox you must first patch it, copy it across using an ftp package such as FlashFXP then using FlashFXP send the execute binary command and away it goes.

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
LegendaryFire
Moderator
Moderator


Joined: Jul 20, 2009
Posts: 840
Location: Canada

Post Posted: Sun May 23, 2010 9:12 pm   
Post subject: Re: Prt1 - "Empty Code"
Reply with quote
 
forahobby wrote:
So you've got the XDK, and you want a little tasty of how it works, how to get your little fingers in there.

Well remember once you've installed the XDK, you start up visual C++, and you want to know where to start...this takes us the the entry point...the place where it all begins.

Code:
//Main header file for the XDK
#include <xtl.h>

//Application entry point
void __cdecl main()
{
      StartGame();
}

What did you say? .."My god what is that!", well this is the entry point for all our programs, I've put a function called StartGame() in the body of the main loop which will call our code to start the game loop.

You could take the function call out "StartGame()" and press compile and it could compile and generate a .xbe for you which would work on the xbox.

Note: If you are using a mod-chip, and evo-x and you wish to run your .xbe on the xbox you must first patch it, copy it across using an ftp package such as FlashFXP then using FlashFXP send the execute binary command and away it goes.


Thanks a ton man, but im getting a little warning message that disables Debugging and Building. The warning message is "This project does not contain any configurations whose platforms are suppoted by this installation of Developer Studio.".

_________________


You can contact me at: LegendaryFire -at- 360-HQ.com


View user's profile Send private message Visit poster's website
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23942
Location: NSW, Australia

Post Posted: Tue May 25, 2010 5:21 pm   
Post subject: Re: Prt1 - "Empty Code"
Reply with quote
 
LegendaryFire wrote:
Thanks a ton man, but im getting a little warning message that disables Debugging and Building. The warning message is "This project does not contain any configurations whose platforms are suppoted by this installation of Developer Studio.".


Did you end up getting it sorted.. If not i can go through my development library here and tell you what i used.. Im sure i still have my old Visual Studio originals here somewhere..

You will need M$ XDK (which in on VIP SERVERS on HQ) and VS6 minimum.
Im not even sure what version of VS supports the old XDK.. Probably none, but there is also a open XDK... I never got into this due to the lack of documentation at the time.

anyway, let us know how you go..

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
Display posts from previous:   
  Post new topic  
 
  Reply to topic  
|
 All times are GMT | Page 1 of 1
Jump to:  
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
 


Get Xbox Game Pass Ultimate