Search results

  1. W

    Copy an object?

    AFAIK you have to do the copy yourself. Wade
  2. W

    SDL error messages are not helpful...

    Several clues there: warning: Unable to read symbols from "@executable_path/../Frameworks/SDL.framework/Versions/A/SDL"; reading from memory. This likely means the version of SDL you have installed in the Frameworks folder of your app's bundle was not compiled with debugging support...
  3. W

    gotoxy substitute in os x?

    Correct. Correct - if you don't include the library, it won't work. There should be no problem compiling at the command line. Take the sample project I posted, pull out the main.cpp file and throw everything else away. You should be able to compile that at the command line without...
  4. W

    SDL error messages are not helpful...

    If you run the app outside of Project Builder, you should have a stack trace pop up on your screen when the app crashes. Post that here and we'll have some clues. (If you haven't enabled CrashReporter functionality, you need to do so in order to get the stack trace popping up. Go into your...
  5. W

    gotoxy substitute in os x?

    Sabsar, What kind of graphics? If they're that DOS oriented, there's a good chance they don't know what exists on Unix. Most colleges teach concepts that are platform-independent. I'm very surprised they'd teach something like DOS graphics. Now if they're teaching something modern...
  6. W

    editor like dreamweaver but fast?

    Freeway gets pretty good reviews. Wade
  7. W

    Multiple threads...

    I think a named pipe would be the most simple if your needs aren't complex. See: http://unix.about.com/gi/dynamic/offsite.htm?site=http://www.erlenstar.demon.co.uk/unix/faq%5F3.html%23SEC40 Wade
  8. W

    USB Driver: get encapsulated response

    I am in no way a USB driver guru, but a brief look at the documentation for IOUBDevRequest showed me this: wLength Length of data part of request, 16 bits, host endianess pData Pointer to data for request - data returned in bus endianess see...
  9. W

    gotoxy substitute in os x?

    Sabsar, Check out: http://homepage.mac.com/wadesworld/FileSharing8.html There you'll find an example project builder project. Note that I used Project Builder from Panther, so if it won't open under an earlier OS - just copy the main.cpp file into a new project and add...
  10. W

    Multiple threads...

    In general, user interface work should all be done on the main thread. Not all of the UI is thread-safe. I believe that doing a fork will solve your problem - since it will create a complete copy of your current process. Wade
  11. W

    gotoxy substitute in os x?

    sabsar, I'll see if I can put together a quick example later tonight. Wade
  12. W

    gotoxy substitute in os x?

    To do this in Unix (i.e. OS X), you'll need to use the ncurses library. You initialize the library and then use the move() function to move the cursor. So, for your project, you'll want to write your own implementation of gotoxy() that calls move(). See the ncurses man page for complete...
  13. W

    How Do I Go About Writing This Program?

    I would assume the instructor is going to give you some data file which contains all the plays and the results. You would then parse that file and use the data to derive the statistics required.
  14. W

    [HOWTO] - Launch and run VNC server remotely

    There's a much easier way than that. Download this implementation of VNC (which is the best): http://www.redstonesoftware.com/vnc.html Put it in your applications directory. Run it once and set your passwords and other options. Then you can run it remotely by SSH'ing in and doing...
  15. W

    Panther = slower computer?

    Panther should be far better than Jaguar in terms of speed. While most upgrade installs go fine, I've seen a few people complain of slow response after an upgrade. So, I'd echo what the others said. Backup, reformat and reinstall. Wade
  16. W

    LGPL Question

    Slur is correct. From a technical standpoint, make sure you link it as a dynamic library. Wade
  17. W

    Help on creating package installer

    I don't remember whether Applescripts can be used, but shell scripts definitely can, as can scripts for pre-installed scripting environments, such as Perl. Wade
  18. W

    libpcap and OS X?

    I wasn't suggesting it was his fault - just that he has intimate knowledge of the code. Doh! I assumed you were showing a case of the only routine which didn't link, not that it was the only routine you were trying to link. Yes, you always have to tell the compiler to actually link...
  19. W

    libpcap and OS X?

    Yep, that's very strange. Running "nm" on the library clearly shows it's not in there. I'd contact Assar Westerlund, whose email address you can find in: http://www.opensource.apple.com/darwinsource/10.2.6/libpcap/libpcap/CHANGES Since he made the last changes to that routine, maybe he...
  20. W

    the doubt ...

    Generally a crash at program termination involves a problem with an object's destruction.
Back
Top