Something like
| CODE |
#include #include "XKUtils.h" #include "XKEEPROM.h" XKUtils m_xkutils; XKEEPROM m_xkeeprom; void main( void ) { m_xkutils.MountAllDisks(); m_xkeeprom.ReadFromXBOX(); m_xkeeprom.WriteToCFGFile("c:\\eeprom.cfg"); sleep (1000); m_xkutils.XBOXPowerOff(); }
|
No way to build anything so all I can do is give an idea, cant even compile to see if it builds
EDIT: \\ escape corrected
i contacted him and he knows that source should be fine , but he cannot compile , msg me if u can compile
thanks
eepromdump error LNK2019: unresolved external symbol "public: static void __cdecl XKUtils::XBOXPowerOff(void)" (?XBOXPowerOff@XKUtils@@SAXXZ) referenced in function _main
eepromdump error LNK2019: unresolved external symbol "public: int __thiscall XKEEPROM::WriteToCFGFile(char const *)" (?WriteToCFGFile@XKEEPROM@@QAEHPBD@Z) referenced in function _main
eepromdump error LNK2019: unresolved external symbol "public: void __thiscall XKEEPROM::ReadFromXBOX(void)" (?ReadFromXBOX@XKEEPROM@@QAEXXZ) referenced in function _main
eepromdump error LNK2019: unresolved external symbol "public: static void __cdecl XKUtils::MountAllDisks(void)" (?MountAllDisks@XKUtils@@SAXXZ) referenced in function _main
eepromdump error LNK2019: unresolved external symbol "public: __thiscall XKUtils::XKUtils(void)" (??0XKUtils@@QAE@XZ) referenced in function _$E1
eepromdump error LNK2019: unresolved external symbol "public: __thiscall XKEEPROM::XKEEPROM(void)" (??0XKEEPROM@@QAE@XZ) referenced in function _$E4
eepromdump error LNK2019: unresolved external symbol "public: virtual __thiscall XKUtils::~XKUtils(void)" (??1XKUtils@@UAE@XZ) referenced in function _$E2
eepromdump error LNK2019: unresolved external symbol "public: __thiscall XKEEPROM::~XKEEPROM(void)" (??1XKEEPROM@@QAE@XZ) referenced in function _$E5
eepromdump fatal error LNK1120: 8 unresolved externals
These are my errors, after removing the sleep function (I dont know the include for the sleep function). I have no idea how to resolve these refrences.
--BlaKforGE
were XKUtils.c and XKEEPROM.c included in the project and compiled?
| QUOTE (swolsten @ Dec 10 2004, 12:59 PM) |
| were XKUtils.c and XKEEPROM.c included in the project and compiled? |
no they werent. I just refrenced the .h files properly. I need a .sln file or some type of proper code. Additionaly, I tried to include <unistd.h> for sleep(); , but the .h file that I used didnt work properly (unix (posix/cygwin) based). is there some type of generic pause type of command I can use?
--BlaKforGE
Use Sleep(x) instead of sleep(x)
did any1 come up with a solution yet?
| QUOTE (RoCk-Box @ Dec 13 2004, 02:07 AM) |
| did any1 come up with a solution yet? |
did you check your pm's before posting?
Its nice to know when you do something for someone they ignore you.
I WILL delete what I have done in 2 days if you dont get back to me......
EDIT: 1 day now (edit to save the bump)
This post has been edited by swolsten: Dec 16 2004, 02:20 PM
| QUOTE (swolsten @ Dec 15 2004, 11:32 AM) |
Its nice to know when you do something for someone they ignore you.
I WILL delete what I have done in 2 days if you dont get back to me...... |
too bad the code doesnt work
| QUOTE (BlaKforGE @ Dec 15 2004, 12:20 PM) |
| too bad the code doesnt work |
Doesnt compile or doesnt work?
There is always a need for debugging even in the simplest app
Strange you say it doesnt work, I compiled it first time (once I changed sleep to Sleep - Thanx fghjj).
Fixed my debug box, booted the xbox, 1 second later the xbox powered off, FTPed in and got eeprom.cfg from C:\
| CODE |
#Please note ALL fields and Values are Case Sensitive !!
[EEPROMDATA] XBOXSerial = "301923000000" XBOXMAC = "00:0D:44:55:DD:AA"
OnlineKey = "FE:EF:FE:EF:FE:EF:FE:EF:FE:EF:FE:E5:AE:AA:EF:B7"
#ONLY Use NTSC or PAL for VideoMode VideoMode = "PAL"
#ONLY Use 01, 02 or 04 for XBE Region XBERegion = "04"
HDDKey = "69:0B:A8:53:F8:8F:40:78:2B:F2:AA:BB:CC:DD:EE:FF" Confounder = "01:23:45:67:89:0A:BC:DE"
|
DO NOT USE - Its beed edited
Hey , i could REALLY still use that app so if u can , please pm me on irc at irc.efnet.net Nick : RoCK-BoX
or e-mail me it at [email protected]
QUOTE(BlaKforGE @ Dec 15 2004, 12:48 PM)
too bad the code doesnt work
I changed the sleep and it still wouldnt compile. I assume it would work fine if it compiled.
--BlaKforGE
QUOTE(BlaKforGE @ Dec 27 2004, 02:21 PM)
I changed the sleep and it still wouldnt compile. I assume it would work fine if it compiled.