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 strongm 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: *

  • Users: ahoodin
  • Order by date
  1. ahoodin

    access violation in this function?

    Per, I applaud you for doing your best. >promoting the writing of clear and unobfuscated code on >several levels Noted.
  2. ahoodin

    access violation in this function?

    Well, If you are learning C and you are typing: char* foo, bar; You are makeing a fundamental mistake, because bar is now type char and foo is type pointer to char. However if you look at this line: parse(char *cSrc, char *cRet, int nSubstr, char* cDelimeter) You see that the first two...
  3. ahoodin

    access violation in this function?

    PerFnurt, I looked in K & R Vol2, and it did not cover this subject. Thank you for clearing that up. I ran some tests, and found no functional differences.
  4. ahoodin

    access violation in this function?

    >No man am not talking about two spaces ! >You wrote in your function declaration: >char* cDelimeter while semantically you may be right and this may mean pointer to char. >Try the following: char *cDelimeter and this may be pointer to an array of characters if I increment *cDelimeter++ in...
  5. ahoodin

    access violation in this function?

    ...- if p is NULL, there is no strlen(p) Sorry I meant if ep==NULL then but p!=NULL then that could be the last field. >size_t strspn(const char *s, const char *accept); >size_t strcspn(const char *s, const char *reject); I will look at those now. >But watch out - they return counts of chars...
  6. ahoodin

    access violation in this function?

    >Seems OK, except I would use strncpy instead of a while >loop Ok, I understand, but I like the while loop. Cant think of a reason not to do it. >This needs to be guarded against p being NULL as well I think if p == NULL but ep != NULL then ep could be set to p+strlen(p). That way the last...
  7. ahoodin

    access violation in this function?

    ...here is a new function based on a previous post of yours i believe. I added a little that I think works great. ahoodin void find_field ( char *line, char* cRet, char delim, int count ) { char *p = line; char *ep; int i,imax; for ( i = 0 ; i < count && p != NULL ; i++ )...
  8. ahoodin

    access violation in this function?

    I dont think that is the access violation. equivalently: This should be: char *cDelimeter this should really be: This should be: char *cDelimeter Two spaces after any colon, Thanks. Seriously lets not fight over it, it's pointless and borin. ahoodin
  9. ahoodin

    access violation in this function?

    ...about it. Normally solid dialogs will blink a bit when using data returned from it. Can anyone see anything? TIA, ahoodin int parse(char *cSrc, char *cRet, int nSubstr, char* cDelimeter){//can use negative number to get last string in block int nRetval = 0, nstrCtr=0; char...
  10. ahoodin

    Script Controllable Host Mode program

    Anybody know of a good communications program that also happens to be freeware? Haven't had to use serial communications for a while and probably should have saved some software. I will be doing direct communications to COM1, with both Windows 98 and Windows 2000 and maybe XP in the near...
  11. ahoodin

    remote debugger debug info for explicitly linked dll

    The working dirctory is unimportant as the dll is explicitly linked in...this means no .lib required nor working directory. With the remote debugger I just dont get source on stepping in. ahoodin
  12. ahoodin

    remote debugger debug info for explicitly linked dll

    I am trying to remote debug my app, I can't get debugging information on a DLL that I have explicitly linked to the application. I need to step into that code! I get these errors: Loaded symbols for 'my.dll' Preloaded symbols may not match 'h:\GetBlock\Debug\GetBlock.exe'. LDR: Automatic...
  13. ahoodin

    Bitmap

    Well, you could just do an FTP. Look up FTP in the help files in MSDN, before you ask how. Do you want to rewrite the code to send a binary file with your own proprietary method? ahoodin
  14. ahoodin

    memory mapped files

    ...The writers of this application suite took special note to lock out as much external integration as possible. The the application suite is an *open* application suite when it is really open on a need to open basis. How do I modify this on a permanant basis? THXE09, ahoodin //declare...
  15. ahoodin

    registry editing software missing?

    I really am looking for REGDMP.EXE AND REGINI.EXE. Jocosta, thank you very much. ahoodin
  16. ahoodin

    registry editing software missing?

    I don't seem to have the regdmp.exe or the regini.exe programs on my 2000 Workstation. How do I get these files..? Are they in the installation disk, and if so what setup option are they under? thanks, -ahoodin
  17. ahoodin

    Power Point -&gt; Web Page

    Additionally I used a fully qualified path just as a trial and it still didn't work on my machine. Whats goin on???? ahoodin
  18. ahoodin

    Power Point -&gt; Web Page

    Is there a good online reference on VML/XML??? I don't really know that technology. >Have you set an option somewhere to hide GIFs? I have not, is there a setting for Ekplorer that does this. >Or are the gifs on the website but not on your local >machine?check the paths. Currently the gifs...
  19. ahoodin

    Power Point -&gt; Web Page

    I have converted a powerpoint presentation to HTML. This also contains XML and Java. I can not see the GIFs in my explorer on my computer, however I can on other peoples computer. How do I fix this? I want to work on the web page from my pc. ahoodin
  20. ahoodin

    International dlls &amp; end of days.

    I now believe that now the Kernel32.dll has been superceded by a 3rd party application that was installed on my machine as a demo for my boss. No wonder I was having so much trouble. Gotta dig up the W2k cd and start prayin.... This is a nice piece of code that you have sent me. >I have...

Part and Inventory Search

Back
Top