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 TouchToneTommy 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 Iceman2005

  1. Iceman2005

    Product Version Comparision

    Guys, is there an already good product version comparsion function i can use? Or do i need to write one? if so, how should i do it? I would like to determine if a product version is <, >, ==, >=, <= to another version... Like how would i write a function that compares and determine if ver1 >=...
  2. Iceman2005

    Help with Application control

    Hi, can anyone direct me to where i can find a good c++ API that allows me to control the actions of another application running on my pc? like i want to automate the actions of an application and sending messages, simulate button clicks, menu management, that sort of stuff. is there such an...
  3. Iceman2005

    Help with char string conversion

    thanks guys. it WORKS !!!
  4. Iceman2005

    Help with char string conversion

    i'm afraid i am stuck with char* and strings only. and i need to covert them to string. my char* contains a string of binary data. perhaps utf8 or just any arbituary binary data. so there is no way i can call any functions which assumes \0 is the end of the string which it is NOT.
  5. Iceman2005

    Help with char string conversion

    okay, this is driving me nuts... how do i convert a multibyte binary char* string into an std string? i have two function that returns an... char* function(); unsigned char* function(); how do i assign them to an std::string ??? it doesnt seem to copy it since the char* may contain...
  6. Iceman2005

    hecka long integer?

    guys, i need to fit a very long number into a variable, how do i do that? let say about 12 digits unsigned. so how? i cant seem to be able to fit it into long num; or unsigned long num; or int or anything. seems like max number i can put in any integer is 2147483647 i need to put a much...
  7. Iceman2005

    Simple XML I/O i cant figure out....going nuts here.

    okay i wrote a simple XML program.... everything COMPILES and its fine. when i ran it... it CRASHES.... #include <stdlib.h> #include <string.h> #include <libxml/tree.h> #include <libxml/xmlmemory.h> #include <libxml/parser.h> int main(int argc, char **argv) { xmlDocPtr doc = NULL; /*...
  8. Iceman2005

    Porting WIN32 to Linux

    cpjust..... well... if you copy/paste this code in windows... it will work.. but not in linux.... template <class _Ty, class _Diff, class _Pointer, class _Reference> class MyClass : public std::_Ranit<_Ty, _Diff, _Pointer, _Reference> { }; int main() { return 0; }
  9. Iceman2005

    Porting WIN32 to Linux

    guys,,.... i am trying to port a windows code to linux. i nailed it down to ONE last error i cant seem to fix, because of this...nothing works. the windows version had poart of the code that does this... class ClassName : public std::_Ranit<_Ty, _D> ..... but it does not compile in...
  10. Iceman2005

    Not Aggregate type? what is that.... help compile

    ahhhh... thank you very much. this indeed helped me. =)
  11. Iceman2005

    Not Aggregate type? what is that.... help compile

    Hi... i wrote a very simple peice of code in windows.. it compiles and works perfectly... but when i port the code to linux... virtually no code change... it does NOT compile.... it gives me the error.... enum.cpp:14: error: `AA::MyEnum' is not an aggregate type enum.cpp: In function `int...
  12. Iceman2005

    Unresolved external Symbol Xran Xlen

    hi i am porting a project from vc6 to vc7. it compiles perfectly in vc6... (both debug/release) and when i port to vc7 and compile... it worked on debug.... but in release... i am getting unresolved external systrems for xlen/xran... can anyone help me get it to compile in vc7? useapi error...
  13. Iceman2005

    How to check HandleCounts....

    Guys..... i am writing a program...and inside i am doing some heavy COM related stuff (use for parsing XML) in C++. Seems like COM is giving me lots of Handle leaks... i am not sure how to deal with this. I would first like to write a simple program (without COM) just a very simple program...
  14. Iceman2005

    C++ how to get rid of dos window?

    hi guys... i am writing a VERY simple C++ program.... something like print HELLO WORLD to a FILE. very easy.... good.... but how do i make the program RUN without brining up a DOS window...... you see.... when i run the program, it executes with a flash of the dos window and finishes. i dont...
  15. Iceman2005

    NERD code driving me NUTs at work!!!!!!!!!!!!!

    guys.... i have taken over a project from my coworder and i need to do some coding on whatever was left there...... i came upon this peice of code and heck i didnt understand what the guy was thinking or trying to do here.... anyone can help me here? WIN32_FIND_DATA st = {0}; ...

Part and Inventory Search

Back
Top