Solution: i set the "subsystem" parameter to "console", instead of "windows"
Type: Posts; User: nocturna_gr
Solution: i set the "subsystem" parameter to "console", instead of "windows"
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...
Have tried from command line too. There are also no uninitialized vars...
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...
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...
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?
------...
Hi,
i saw this somewhere:
mysqlpp::Row row;
mysqlpp::Result result = query.store();
if
(result && (result.num_rows() > 0) && (row = result.at(0))) {
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*
Thanks Bubba!
I had:
#include "common.h"
#include "StdAfx.h"
#include <afxstr.h>
#include "NDKClient.h"
and changed to:
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...
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...
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...
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:...
I understand what you mean now... sorry, i am not a native speaker and i understood sth else
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"...
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';...
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...
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...
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>