Search:

Type: Posts; User: nocturna_gr

Search: Search took 0.00 seconds.

  1. Solution: i set the "subsystem" parameter to...

    Solution: i set the "subsystem" parameter to "console", instead of "windows"
  2. i am posting the source... However, i suspect...

    i am posting the source... However, i suspect that the problem has to do with the Release configuration... I use MFC by the way. I am really newbie on this, so if anyone can make any assumptions or...
  3. Have tried from command line too. There are also...

    Have tried from command line too. There are also no uninitialized vars...
  4. VC++ release exe exits immediately after execution

    Hi,
    i have written a simple daemon program in Visual Studio 2003 C++ -a loop basically. When i execute it as a Debug executable, it work OK. However, as a Release executable, it exits immediately...
  5. debug error on opening network connection

    Hi,
    i am trying to send an ID to a server. The ID is sent more than once during the execution of the program. Each time i need to send the ID the following code is called:


    void...
  6. Replies
    4
    Views
    5,519

    unresolved externals

    Hi,
    i compile my program and get the following linker errors... As far as i can understand, they have to do with the outputstream -i have defined "iostream" OK i think. What's wrong?



    ------...
  7. Replies
    5
    Views
    1,233

    logical operators on objects?

    Hi,
    i saw this somewhere:


    mysqlpp::Row row;
    mysqlpp::Result result = query.store();


    if
    (result && (result.num_rows() > 0) && (row = result.at(0))) {
  8. Replies
    7
    Views
    26,982

    convert char* to const char*

    Hi,
    how do i convert char* to const char* in the following example?


    UCHAR ucar[3];
    ucar[0]='a';
    ucar[1]='b';
    ucar[2]='c';

    //convert char* to const char*
  9. Thanks Bubba! I had: #include "common.h"...

    Thanks Bubba!
    I had:


    #include "common.h"
    #include "StdAfx.h"
    #include <afxstr.h>
    #include "NDKClient.h"

    and changed to:
  10. I post my header files, which may help: StdAfx.h...

    I post my header files, which may help:
    StdAfx.h


    // stdafx.h : include file for standard system include files,
    // or project specific include files that are used frequently, but
    // are...
  11. multiple errors generated by socket headers

    Hi,
    i include in my code some header files from another projects. These is basically networking codel; wrapers around sockets, etc.

    However, i get an output full of errors like this, while...
  12. Replies
    7
    Views
    14,803

    afxstr and atlstr CString ambiguity

    Compiling gets me with multiple


    c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxwin.h(4722) :
    error C2872: 'CString' : ambiguous symbol
    could be 'c:\Program...
  13. Replies
    1
    Views
    3,589

    linking errors

    Hi,
    i get the following linking errors... I have read the about the errors in MSDN, but i cannot find anything useful... Can somebody help/guide me?



    ------ Rebuild All started: Project:...
  14. Replies
    3
    Views
    12,716

    I understand what you mean now... sorry, i am not...

    I understand what you mean now... sorry, i am not a native speaker and i understood sth else
  15. Replies
    3
    Views
    12,716

    char 1:0 char 2:x char 3: ? char 4: ? char 5:...

    char 1:0
    char 2:x
    char 3: ?
    char 4: ?
    char 5: \0

    What do you mean by hex digits? "x" or "X" is the representation for hex digits and the result of what you describe doesn't match the "0x%02X"...
  16. Replies
    3
    Views
    12,716

    convert string to hexadecimal

    Hi,
    i am using the following code, in order to convert a char array (or string) to its hexadecimal representation:



    byte hexval=0x00;
    cout << "sscanf: ";
    char car2[2];
    car2[0]='1';...
  17. VC++ 2003: stack corrupted around variable

    Hi,
    i am using some working code from an already existing example program. I use Visual C++ 2003. Here is the method i am using:


    void CIDAdmin::CStrToUchar(CString str, UCHAR *ucBuffer, ULONG...
  18. vc++ 2005 switch for compatibility with vc++ 2003

    Hi,
    i am a newbie in both C++ and the Visual Studio world.
    I try to use some headers and static libs, that i suspect they were made with vc++ 2003 and now throw errors and warnings when i try to...
  19. failure to import external C libraries in C++ project

    Hi,
    i use Visual Studio 2005 and i am trying to import some C libs statically in C++ code. In my StdAfx.h, i include the following:


    ...
    extern "C"{

    #include <ok.h>

    #include <scardcl.h>
Results 1 to 19 of 19