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 Chriss Miller 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: tcollins
  • Content: Threads
  • Order by date
  1. tcollins

    Dynamic Server Pushing from Perl to the webpage

    I need to display something like a status bar when pulling information from a data base that takes some time to perform. This is easily accomplished with a table code like: print &quot;<table width = 100% border = \&quot;1\&quot;><hr><td width = &quot; . $size ...
  2. tcollins

    An unknown device has exceeded he current limits of its hub port

    What method exists to handle this Windows popup dialog box through application program control: **** USB Hub Current Limit Exceeded An unknown device has exceeded he current limits of its hub port. Recommendation Disconnect the device and then click 'Reset' to re-enable the...
  3. tcollins

    ORA-00918: column ambiguously defined

    I have two tables, one with this weeks data, one with last weeks data. Both are identical except for the dates. I need to pull data from both tables, but I keep getting a &quot;ORA-00918: column ambiguously defined&quot; error message. This, of course, is because I told it to pull from the...
  4. tcollins

    newline in a TEdit or TMemo control

    Its a kinda silly question, but how do you tell a TEdit or TMemo control to use a newline character properly? I've tried the usuals of \r, \n, 10, 13, etc. I need to programatically fill the control, and newlines will be important. I'm passing an AnsiString argument: frmChat->memoChat->Text...
  5. tcollins

    Address of Methods

    Also, does anyone know how to take the Address of a Method? I have a method inside a C++ Class that another function needs to call as a function pointer.
  6. tcollins

    WSAAsyncSelect and WindowProc

    Ok, I have WSAAsyncSelect() sucessfully registered and I'm getting asynchronous callbacks from the socket to WindowProc() which is good. My problem is, since I'm only allowed to register one event, I must decode from WPARAM wParam, LPARAM lParam what is actually going on. Anyone got a chart...
  7. tcollins

    Conditional #include's

    I'm trying to compile for different cases. In some cases I have a desired library installed, in others I don't. I want the same piece of code to manage both. So if I have: #include <dataacq.h> and this file exists, everything is fine. If it does not exist, I get a [pre]compiler error...
  8. tcollins

    Comport callbacks or objects

    I need to know how to do Com/SerialPorts in Borland C++ 5. From what I see, its pretty easy to set one up and write to it using the Win32SDK (CreateFile(), ReadFile(), WriteFile()), however, a callback function for incoming data would be welcome...byte per byte would be better. Or if I could...
  9. tcollins

    Graphics effects

    Anyone know of any good sites that delivers good/fast/free C/C++ code for graphics processing? Such as Bluring images, etc??? Thanks. Taylor
  10. tcollins

    Textures anyone?

    Ya, attempting textures right now...I understand the concept behind them, I have my 'surface' created and delared as a texture, but the SetTexture method keeps failing me in Dx7. Any good web resources to consult or any takers? Thanks.
  11. tcollins

    3D Rotations

    Ok, I'm confusecd about the mathematics required for 3D rotations. I have: void xrot(D3DMATRIX &mat, double rot) { mat._11 = 1; mat._12 = 0; mat._13 = 0; mat._14 = 0; mat._21 = 0; mat._22 = cos(rot); mat._23 = sin(rot); mat._24 = 0; mat._31 = 0; mat._32 = -sin(rot); mat._33...
  12. tcollins

    DirectX Books

    I personally own: Inside DirectX Inside Direct3D Windows Game Programming for Dummies I found the two Inside books to be very helpful with my intro to DirectX programming. The &quot;For Dummies&quot; book helped fill in a couple of voids that Inside DirectX had and it had a more 'gaming'...
  13. tcollins

    How do I create a non-wrapper project?

    Yup. I'm doing DirectX programming, and don't really need/want any of these forms/units and such that Builder 'helps' me with. I need to open a BLANK project. I need to manage my own WinMain and WinProc functions. Any one know? Thanks Taylor
  14. tcollins

    struct verses class in ANSI C

    Say, does anyone know if ANSI C supports class like structures??? I'm trying to do a: struct Complex { int num; me(){printf(&quot;%d\n&quot;,6);} }; and it keeps comming up with: syntax error; found 'identifier' expecting '}'. syntax error; found '{' expecting ';'. syntax error; found...
  15. tcollins

    Creating a textbox...the good old way.

    Ok, before the day's of Visual this and Visual that, one created instances of windows with the CreateWindow() function. This I know, and I'm happy. Does one know how to create textboxes and other such controls within the newly created window as well? True, I could go forth using the 'visual'...
  16. tcollins

    Nested SELECT's in Access and MSSQL problems.

    Does anyone know why the following code doesn't run in Access? SELECT a FROM (SELECT a FROM b WHERE c=1); I know it doesn't make a lot of sense, but its the basis for what I have to do.I have one SELECT statement producing the results that I need, however, I now need to find a mins and maxs of...

Part and Inventory Search

Back
Top