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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by joeGrammar

  1. joeGrammar

    delphi syntax

    Sorry... it does work... I didn't notice the ;'s
  2. joeGrammar

    delphi syntax

    Oh... and I'm using Delphi 5
  3. joeGrammar

    delphi syntax

    OK, it doesn't work for me, here's my code function TCPHADataModule.createXML(): boolean; type TPart = record name: String; size: Integer; dt: Integer; end; const arry: array[0..1] of TPart = ( (name:'test',size:4,dt:4), /*line 100*/...
  4. joeGrammar

    delphi syntax

    ok wait, that doesn't work either... no I have two things that don't work: type TPart = record name: String; size: Integer; dt: Integer; end; const cpha30_11: array[0..2] of TPart = ( ('A0101', 6, 0), ('A0203', 2, 0), ('A0303', 2, 1) ) and const...
  5. joeGrammar

    delphi syntax

    Man that's a waste of my time, crappy delphi! Thanks!
  6. joeGrammar

    delphi syntax

    Can anyone tell me why this is not ok and what I have to do to make this initialization work? I'm more of a C guy type TPart = record name: String; size: Integer; dt: Integer; end; const cpha30_11: array[0..2] of TPart = ( ('A0101', 6, 0), ('A0203', 2, 0)...
  7. joeGrammar

    TApi components

    Hi there, I am writing a application in delphi which needs to receive data over a modem. My question is, is there a way to read the data from the modem and store it in a variable for manipulation? thanks
  8. joeGrammar

    Async component libraries

    Hi guys, I'm trying to use the async component library to read data coming in from a modem. Does anyone know how I get get the data and store it in a string for manipulation? Thanks
  9. joeGrammar

    variable parameters

    Sorry, the szBuff IS declared and initialized
  10. joeGrammar

    variable parameters

    Does anyone see anything wrong with this code? CALL: printDetailLine(0,szLine,0); (szLine is a zero-terminated string) FUNCTIONS: inline LOGIC Report::printDetailLine( int dummy, ... ) { va_list argptr; LOGIC bStatus; va_start( argptr, dummy ); bStatus =...
  11. joeGrammar

    checking for directory

    cool dude, thanks
  12. joeGrammar

    checking for directory

    Is there a way in C++ to check if a filename is a directory?
  13. joeGrammar

    FILE*

    Thanks Dave.. you da man cool guy
  14. joeGrammar

    FILE*

    Sorry I wasn't being clear, this stuff was written in C so I have to use printf, I can't use cout.
  15. joeGrammar

    FILE*

    I want to compare the value of a file pointer after subsequent operations. I have a situation where I have a FILE* as a private member of a class and it doesn't seem to be retaining its value between member functions. So: How do I display the value of a file pointer?

Part and Inventory Search

Back
Top