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 DataJanitor

  1. DataJanitor

    36 bit Comparison

    Check out the long long or __int64 type in VC++ 7. Before that you could use a structure (there was one defined in the Windows.h header already) to deal with the two 32-bit chunks. DJ
  2. DataJanitor

    Return only records that match a specifc date.

    Well, those are some interesting suggestions. But, in implementing the between clause, if you do, WHERE myDate between '5/7/2003 12:00 AM' and '5/7/2003 12:00 PM', you'll only get the rows where the times are in the morning hours (12pm is noon). What you really want, is something more like...
  3. DataJanitor

    Retrieving ProductVersion from stringtable

    I've created a little object wrapper for this; I hope it wraps correctly :-) First the Header file: // Declarations for Version from Version Resource class // Written by Frank Solomon 2000 // #ifndef __ver_h #define __ver_h #include <windows.h> namespace fss { class VersionResource {...
  4. DataJanitor

    Visual C++ .NET and Visio XP

    When correctly installed, you'll have a choice under the Visual Studio .NET &quot;Project&quot; menu called &quot;Visio UML&quot; and a submenu labelled &quot;Reverse Engineer&quot;. You might want to check with MS about their products, the version of Visio that I'm using came bundled with the...
  5. DataJanitor

    Problem with Output Parameter

    It could be because the return type of @@Identity is numeric rather than Integer. But, there could be other problems. . . DJ
  6. DataJanitor

    Slowdown in the middle of calculations

    Figuring something like this out with incomplete source and data is very difficult. My suggestion is that you use the VC++ profiler to find out where the program is spending most of its time. My first suspicion is that this has something to do with memory allocation for the CString, but that's...
  7. DataJanitor

    Do I need to Build a custom list box to make that work

    Although nearly anything is possible if you work at it hard enough, I don't think that there's an &quot;easy way&quot; to get multiple lines in a list box to be treated as a single line unless you take over drawing the listbox yourself. Usually, when things are hard to do, it means that you...
  8. DataJanitor

    newbie - vectors - tearing my hair out

    Modern C++ has a concept known as namespaces. In order to keep the names in the standard template library from conflicting with those that may already be in your program they are declared as belonging to the &quot;std&quot; namespace. To use such names you need to specify which namespace they...
  9. DataJanitor

    newbie - vectors - tearing my hair out

    Yes, your problem is that vector is in the namespace std:: Try changing the line vector<int> blob; to std::vector<int> blob; or you can do something like this: using std::vector; vector<int> blob;
  10. DataJanitor

    Finding Application Components

    Try looking at the &quot;Depends.exe&quot; utility. If you don't have it, I believe it's available as a free download from MS. It's DLL oriented instead of &quot;component&quot; oriented, but it does show you the entry points of each DLL. Since most COM programmers tend to package their...
  11. DataJanitor

    Telnet Program

    Look up the CreateProcess or CreateProcessAsUser function on the MSDN CD or MS site. Pay special attention to the structure: STARTUPINFO Described in the documentation as follows: The STARTUPINFO structure is used with the CreateProcess, CreateProcessAsUser, and CreateProcessWithLogonW...
  12. DataJanitor

    C++ Clear Screen Code- Please Help

    You might want to look at MS Knowledge base article: PSS ID Number: Q99261 Article Last Modified on 12-14-2001 MS furnishes some code for a clear screen that doesn't depend on the ANSI control codes being available. The console.h header is one of the things I miss from my old Borland compiler...
  13. DataJanitor

    Problem while compilation in VC++.

    It sounds like you don't have the stub library for the DLL's linked in. The libraries are included with the developer's tools for SQL Server. On my system they're in the path: C:\Program Files\Microsoft SQL Server\80\Tools\DevTools\Lib Find them on your system, then try adding that to the...
  14. DataJanitor

    On mfc42ud.lib

    This is one of the unicode libraries with debug symbols. It is included in the distribution of VS 6 but it's optional during the install. Go back and check that you installed the unicode libraries.
  15. DataJanitor

    WIN32: *.c *.cpp compilation difference ???

    C++ does much stricter type-checking that plain-old C. I recommend that you read Stroustrup's &quot;The C++ Programming Language&quot;.

Part and Inventory Search

Back
Top