Path: chuka.playstation.co.uk!ganymedae From: jean-luc.deltombe@alt.lu (jean-luc.deltombe) Newsgroups: scee.yaroze.programming.codewarrior Subject: Re: MWbload problems Date: 12 Jun 1997 10:53:07 GMT Organization: Advanced Logic Technology (ALT) Lines: 52 Message-ID: <5nokej$rv52@chuka.playstation.co.uk> References: <339C4714.5E96@netcomuk.co.uk> <5nmvb8$rv51@chuka.playstation.co.uk> NNTP-Posting-Host: 194.154.193.201 X-Newsreader: News Xpress Version 1.0 Beta #4 Foolowing-up to myself to mention I found what's wrong. If you are using C++ (ie c++ activated in compiler settings), you should modify MWDebugIO.h to encapsulate all functions prototyping with extern "C" {}. The good old C++ function name decoration issue again. Once done, it does work and successfully transfert data files from PC to psx BUT so far exclusively using the MW debugger. I didn't manage to get it to work with siocons nor PSXComUtil although the PSXComUtil application is displaying some messages about I/O host directory which suggest it is somewhere a planned feature of PSXComUtil. Please let me know if you have more success with PSXComUtil Regards Jean-Luc SFME (Sorry For My English) In article <5nmvb8$rv51@chuka.playstation.co.uk>, jean-luc.deltombe@alt.lu (Jean-Luc Deltombe) wrote: >I do have similar problem (link error, undefined MWbload(char*,void*) ) while >properly including the MWDebugIO.lib file in the project files. > >Looking at the .lib file with a binary editor shows that somewhere there is a >MWbload function in the library. So what's wrong ? > >Could it be related to project settings ? > >Regards >Jean-Luc > >In article , >hunt@metrowerks.com (Eric Hunt) wrote: >>In article <339C4714.5E96@netcomuk.co.uk>, Ira Rainey >> wrote: >> >>> I'm having probs using the MWbload function. >>> >>> Whenever I stick it in my code, together with the #include , >>> or the #include , it compiles but won't link. It just comes >>> up with an error saying it is undefined. >>> >>> Anybody else had this problem, this is on the Mac version. >> >>Make sure you have the MWDebugIO.lib in your project. It's located in the >>:Metrowerks CodeWarrior:Playstation(tm) Support:Lib folder. >> >>Thanks, >> >>Eric Hunt >>Metrowerks Technical Support