Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. waynejfoster

    Reading the cursor x y pos in a console window

    I've got a console window open in windows xp. I can set the cursor x y position, but I can't read the current x y position. How do I read the cursor x,y pos. Here is the code to set the cursor x,y pos. The only function I have seen is GetConsoleCursorInfo but this just returns the...
  2. waynejfoster

    ABIT KG7 M/B, NEVER BOOTS UP FIRST TIME

    I HAVE AN ABIT KG7 MOTHERBOARD, WHEN I TURN THE POWER SWITCH ON, THE FANS WHIR AND EVERYTHING LOOKS LIKE IT ABOUT TO BOOT UP, BUT IT JUST SITS THERE. THE MONITOR DOES NOT SWITCH ON. IF I THEN PRESS THE RESET SWITCH IT BOOTS UP JUST FINE. FOR SOME REASON IT NEVER BOOTS UP WHEN SWITCH ON THE...
  3. waynejfoster

    SOFTWARE TO UPLOAD TO MY PORTABLE MP3 PLAYER

    Thanks for the site, but I've tried that before, It comes up with 'page not found'. Seems to be a very difficult piece of kit to get software for.
  4. waynejfoster

    SOFTWARE TO UPLOAD TO MY PORTABLE MP3 PLAYER

    Hello, I need some software to upload files to my portable mp3 player. The player is a YELO DMP64VR, I've tried the usual places, but, I can't find it. Any help would be very much appreciated. Regards, Wayne.
  5. waynejfoster

    How do I check to see if a directory is empty

    What function can I call to see if a directory is empty?
  6. waynejfoster

    how to check if directory is empty in c

    How the heck do you test if a directory is empty in c (win32/msdos) without. The only way I can think of is to use _findfirst and check if any files are normal. I'm sure the is simple... but .... Thanks in advance Wayne.
  7. waynejfoster

    how to check the existence of a directory

    Use _stat example follows:- int result; struct _stat buf; result =_stat(name,&buf); // get status of file if(result!=0){ printf("Error getting status"); return(FALSE); } if((buf.st_mode)&_S_IFDIR){ // if found directory, stack it. printf("Hello I'm a...
  8. waynejfoster

    Stdout does not work after using freopen

    It's ok i've found a solution. using _dup to preseve the stdout and stderr handles _dup2 to force the stdout and stderr to pointer to the file handle in question then _dup2 at the end to restore then old handles so there yah go...
  9. waynejfoster

    Stdout does not work after using freopen

    I'm using freopen to redirect stdin and stderr to files the redirection is fine. The problem arises when I use fclose to close the streams. This causes stdout to fail. In the example below you will see the loop of 1000000 doing fprintf(stdout,"HELLO\n"); after redirection should...
  10. waynejfoster

    conexant soft56k modem, won't work with GSM modem

    Help... Everytime is try to connect to a remote GSM modem, I get error 13..no matter what i try. It dials up and you can hear the modems talking then goes silent for a second and return the number 13 ??? ATE0 ATV1 are set. What is error 13..
  11. waynejfoster

    Connexant Modem -> GSM modem wierd...!!!!

    Help...I've got a Conexant Soft56K Data,Fax PCI modem. I'm tring to connect to a GSM modem. The Conexant modem and GSM are setup with the following initialisation strings. ATZ : Default settings ATE0 : No echo ATV0 : only return error numbers (not verbose)...
  12. waynejfoster

    Visual c++ 6 Can't update program database error?

    It's ok guys, nice to get rid of some stress. Anyway back to the original thread. I'm still having problems with the machine reporting error c2471 can't update program database. I've tried deleting the .opt,.plg and .ncb files to no avail. I've tried a 'CLEAN'. The .pdb file is NOT read-only...
  13. waynejfoster

    Visual c++ 6 Can't update program database error?

    I'm using Visual c++ 6 Standard Edition, The files for the workspace reside on a mapped network drive. When I try to do a 'build all' for example, visual c locks up for about 1min and then generates the following error, "Can't update program database" the solution is to re-boot, which...

Part and Inventory Search

Back
Top