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

  1. JOLESEN

    EDIFACT experience ?

    Hi, My company is in a process of replacing our ERP-system. A subproject wil be the replacement of a 'home build' environment processing some 25000 EDIFACT messages pr. month and 15000 XML messages pr. month. We (The project management) consider to use Biztalk 2004 as the new platform for...
  2. JOLESEN

    not working in ms-dos 6.22?

    It should run if you build it with a compiler that supports the target OS. /JOlesen
  3. JOLESEN

    Can you extern a namespace scope variable?

    Arrrgh ... so simple.... I made your first example work because there wasn't any real reference to the external object. As soon as I actually use (or try to ..) the object, the linker fails (It does however allow you to print the size of the object). I don't understand why you want global...
  4. JOLESEN

    Can you extern a namespace scope variable?

    If you change this line : extern NS::A obj; to this : NS::A obj; It works ok. I also did build the first version - where extern is used -and can't tell why you have to remove it in this version ... but I am working on it ... /JOlesen
  5. JOLESEN

    Can you extern a namespace scope variable?

    Nope - worked fine on my computer. /JOlesen
  6. JOLESEN

    Can you extern a namespace scope variable?

    If you change this line : extern NS::A NS::object; to this : extern NS::A object; you should be in business .... /JOlesen
  7. JOLESEN

    compilation error

    Ooops .... for(int i = 0; i < M1.size(); i++) for(int j = 0; j < M1[i].size(); j++) for(int k = 0; k < M1[i][j].size(); k++) printf(&quot;%d &quot;, M1[i][j][k]);
  8. JOLESEN

    compilation error

    This will display the content of your matrix : for(int i = 0; i < M1.size(); i++) for(int j = 0; j < M1[i].size(); j++) for(int k = 0; k < M1[i][j].size(); k++) printf(&quot;%d &quot;, M1[i][j][k]); /JOlesen
  9. JOLESEN

    Using Microsoft C++ 6.0 for DOS based program??

    Nope, A Console application is not a 16-bit app. It's a 32 bit windows application with a text-mode userinterface. You cannot create a DOS app. with VC++ 6.0. /JOlesen
  10. JOLESEN

    Display files in directory

    Use FindFirstFile() and FindNextFile() to locate files (and folders). /JOlesen
  11. JOLESEN

    function returning many value

    A typical way is to supply the function with many pointers in the parameterlist : int ival1, ival2, ival3; func(&ival1, &ival2, &ival3); printf(&quot;\nival1 = %d&quot;, ival1); ... void func(int * p1, int * p2, int * p3) { *p1 = 100; *p2 = 200; *p3 = 300; } Also you could simply...
  12. JOLESEN

    polymorphism and virtual functions

    Search MSDN for 'Run-Time Type Information' /JOlesen
  13. JOLESEN

    Why double-pointer for structure

    'Double' pointer has nothing to do with struct c. Most? often you will use this if you want a 'child' function to create a structure, and further want the child to pass the address of the created structure into a location (address)decided by the calling function. The parent calls the child...
  14. JOLESEN

    typedef masking const ?

    >>typedef const node_t *cnode_t;/* typedef a const pointer to struct */ Your comment is wrong : It's a pointer to a const object (You can modify the pointer, but not the object) Except for that I can't really help you - triggy thing ! /JOlesen
  15. JOLESEN

    DLL ERROR??? What is this?

    The error you get suggest you are trying to write to an address not belonging to your process. Could be because your dll calls strcpy(buffer, key) What exactly does buffer point to ? Show the code calling the Login function. /JOlesen
  16. JOLESEN

    object-compile woes

    Can't see the entire command in your post, but : cl /c ...options.... will do a compile only job. Try cl /? in a command-prompt to see all options available. /JOlesen
  17. JOLESEN

    index an array using a hexadecimal

    A hexadecimal number is just as good as a decimal number. When your program is compiled, it's exactly the same as a decimal numer : It's converted to some binary stuff. Hexadecimal is only a notation used to please the human eye / brain (Much easyer to read than binary (Like 1001001))...
  18. JOLESEN

    ULARGE to String conversion

    Use QuadPart (Uppercase 'P') /JOlesen
  19. JOLESEN

    iterators

    If you are doing a nested loop, and want j to start at i + 1 every time, you should write something like this : list<numbers>::const_iterator i; list<numbers>::const_iterator j; for (i = poly1.begin(); i != poly1.end(); i++){ for (j = i+1; j != poly1.end(); j++ ) { ... } } /JOlesen
  20. JOLESEN

    Message box keeps poping up.

    The file msado15.tlh is reconstructed every time a file containing the statement #import msado.dll (or so) is compiled. If the file is opened in a window, the IDE will warn you that the file has been modified outside the IDE. You don't need to have this file open (Since you shouldn't edit it)...

Part and Inventory Search

Back
Top