|
How To Execute OS Commands Using CreateProcess To Any Whom Can Answer, Hello. I was successfully executing the command "mode com6 baud=19200 parity=n data=8' using the system() function. What I wanted though was for the console window to not show up every time ran the function. So after reading posts on the net, I tried using CreateProcess() which gave the ... 18 Jun 2008 23:06
signed extended bitvalues ? (int x : 1; has value -1 !) Hello, is there any way to avoid sign extension of bitvalues? When i use int x : 1; x=1; then x has the value of -1 (0xffffffff). When i use unsigned int x : 1 ; everythings behaves as expected. #include <stdio.h> template <class BaseInt> class Foo { //------------------------------------------... 18 Jun 2008 23:06
SetWindowsHookEx - CBTProc I've been "playing" with SetWindowsHookEx for the past several days trying to accomplish something. I'm not sure what I'm doing wrong, but what I would like to do is have a window that hosts an app's main window as a child of my window. I was going to do this by trapping HCBT_CREATWND using SetWindowsHookEx and ... 18 Jun 2008 23:06
Why am I getting ACCESS_VIOLATION exception with C# linking native I have a C# user interface which needs to link in and use an existing C/C++ DLL. I am using a managed C++ layer which calls the C/C++ code. The problem appears to be when I attempt to call the 3rd party library. Let's call the DLL which I wrote A.DLL and the 3rd party code B.DLL Using A.DLL w/o calling B.DLL wo... 16 Jun 2008 16:17
init (via ctor) of function local static var : not thread safe ???? Hello, I have a function which creates a (function-)local static data member. this function is called by multiple threads, and as it appears to me, VC++ 9.0 does not create thread safe code when the local static is initialized. sample: Foo & getFoo() { static Foo aFoo return aFoo; } As as... 20 Jun 2008 09:10
instantiate templates by template class<args>; fails without /Zi ! ?? Hello, In the following sample a template is instantiated by "template class<type>". This should create a static class member and initialize it by calling getNum(). This operates as expected only when /Zi is used. (independent of /O compile settings! ) When i compile cl Prob54.cpp Prob54 -- no output... 16 Jun 2008 13:12
Unable to link (static MFC) Hi, I trying to build an application(http://www.naughter.com/smtp.html - it uses OpenSSL) by statically linking the MFC. It builds fine if set to use MFC in shared DLL ( I don't have a choice here. MFC must be statically linked) I get errors like these Error 1 error LNK2005: _strncmp already defined ... 17 Jun 2008 10:38
Upgrade from VS6 to VS9 Recently I've upgraded my project from VS6 to VS9. My problem is that VS9 seems to work very heavily. While debugging, for example, stepping over functions (F10) takes about half a second to a second till the cursor goes to the next line while in VS6 it was very fast. Is this a known issue? Is there an upgr... 17 Jun 2008 09:36
ANY PROBLEM WITH LATEST VERSION OF WINDOWS VISTA!!!!!!! ALSO TO FREE DOWNLOAD VISTA SUPPORTING SOFTWARES ONLY ON http://polticsinfs.blogspot.com/ ... 15 Jun 2008 09:09
program caueses computer restart once in a while Hi, I have a Program in VC. Once in a while it restarts the computer. The computer does not start then and needs a hardware reset to start properly. I have 2 Data Acquision boards, a usb protection dungeon and a video grabber in my Program.Any idea what the problem can be and how to detect it? Thanks, Beh... 16 Jun 2008 10:38 |