I need many infos about Overlays.
1st of all, if i ask the question, it's because it didn't work of course on my computer. What is the recommended hardware for Overlays?
2nd, i used GetCaps
DD...
I intend to write a program that has an ability to monitor all the file activities such as
file deletion and creation. Do you have any idea on how I should start working on it ? Is VXD requir...
I have three header files one containing the following
pre-processor directives:
#ifdef __STDC__
#include <headerA.h>
#else
#include <headerB.h>
#endif
The other two:
headerA.h: contains fu...
I need to call a program from c++, help needed QUICKLY!
/Michael
This is what the help of VC++ about CreateIcon
HICON CreateIcon(
HINSTANCE hInstance, // handle to application instance
int nWidth, // icon width
int nHeight, // icon height
BYTE cPlanes, ...
To convert a BSTR to char type, I was told to use:
// bstrTEXT comes in through function (e.g. function( BSTR bstrTEXT ))
char *charTEXT;
*charTEXT = ConvertBSTRToString(bstrTEXT);
But the c...
I am attempting to use a single CDatabase object across two threads. I have two different CRecordSet objects that are instantiated on the stack of each thread. The thread that hits the CReco...
I have Turbo C++ 3.0, and after trying it, I could obviously tell that it has a dos interface. I am new at Turbo C++ and I want to know all the differences in Turbo C++ 3.0 and the newest C++.
Is it possible to change the date and time of a directory with the founction SetFileTime. This founction need a file handle obtained by CreateFile but I am unable to open a directory. What is ...
i want use the SetTimer function to create a timer that will call WM_TIMER every 60th of a second. But:
If i enter a number greater than 50 milliseconds as the timeout parameter for the funct...
What must I do for exequting syntax coloring in the
my Editor. I use a class derived from CRichEditCtrl.
How to test existence of serial mouse on com port
(the best way is using assembly language)
please tell some API function about hardware device or documents about it.
Is there a way to specifiy a relative File Path when using the function GetPrivateProfileString?
The documentation(VC++ 6) states if the file name doesn't contain a full path to the file, it ...
Hi,
1. I need a simple sample for opening/reading a file with IStream.
2. Is IStream equal to istream?
In my application I need to transfer a function pointer as a parameter.
I trayed the following syntax :
class SourceObject
{
private:
int func1();
public:
int func2();
}
class UtilObject
...
I'm looking at STL library. There is something I don't understand. In STL/functional library, there is such a implementation.
template <class Arg1, class Arg2, class Result>
struct binary_f...
What is the function that I need to provide to recognize Windows resize BY THE USER .... so that I can go and update
my Client Rect ...
What is .ax file? How to create it?
how do I simply show a picture in a normal dialog based window in Visual C++ 6.0?
Show me a sample function for it, please!
Hello.
I'm trying to use ActiveX , But my application is NOT using MFC at all.
When I use MFC, I know it is possible to call
AfxEnableControlContainer
or
AfxOleInit
(BTW - What is the dif...
just don't bother reading the manuals. Has anybody used the makeswap utility before? I tried it once by issuing a command like makeswap 12M, it then spontaneously created a file called edpmi.s...
I am a student and just installed Borland's C++ 5.01
The problem I have is that whatever I open up to edit in the compiler, I can't use the Backspace, Delete, Home, End, Pageup, Pagedown, and ...
On a view control, when you resize the window or when you hide this window, the content of the view is not repainted. I know that it is related to the WM_PAINT handler message but I would like...
Is there any relatively straightforward way to tell if memory is allocated on the heap (in VC++)?
What I would like is to be able to do something like:
void X::AdoptThing(Thing* t)
{
asser...
I need a keyboard handler use DirectInput.
Can you give me a simple program use C++ Builder
not Visual C++? Because I don't have a Visual C++
I need it very immediately for my final exam.
Plea...