This is a good article
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnw2k/html/ntfs5.asp
Type: Posts; User: Dang
This is a good article
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnw2k/html/ntfs5.asp
If you're using an MFC dialog use the code below in OnInitDialog for all the windows you want to initialize.
CWD* pw = GetDlgItem( nID );
if( pw )
{
pw->SetWindowText( "blah blah" );
}
OK I've got it now. I'm sure there's something out there but I couldn't find it so I wrote the code below. Warning I've only tested a few cases, does not work for negative.
#include <string.h>...
I'm more than happy to help but learning something quickly is not always the best way to learn it for the long run. Take a look at your manual. Then ask a specific question and I'm more than happy to...
The const on the left is a return value to be a const and right says the member function is const.
A const return value is needed for temporary object allocation by the compiler. You never see...
With the friend keyword, you can designate either the specific functions or the classes whose functions can access not only public members but also protected and private members.
Once you've used atoi to place an ascii value in an integer you have (in a signed integer) a twos complement binary value. Typically we display this value as decimal but it can be displayed anyway...
It is a kernal object used for interprocess synchronization. Its state is set to signaled when it is not owned by any thread, and nonsignaled when it is owned. Only one thread at a time can own a...
int main ()
{
printf( "%s", "Press any key to continue" );
getchar( ); //stays here until a character is type
return 0;
}
Engineer223,
I think you meant to allocate more the one char on var.
He has a legitimate guestion. If you don't like the question don't answer it, but don't tell him to read the tutorial.
Looks like its working now. Please note the changes I've made. If your serious about programming send me an email explaining what I've change. You basically had it.
#include <iostream> ...
An import library is used with a .dll.
An import library is more like a proxy that you use to resolve the link for your function. The import library contains no code. Instead, they provide the...
There are a few syntax errors in your program please post the entire program and I will show you where your problems are.
You could use open but I open the file in the ofstream constructor.
#include <iostream>
#include <fstream.h>
using std::string;
int main()
{
Its sounds to me like as long as you are getting input from the console (possible end with esc (escape key) ) you'll create a new node populate it with the data from the console and then insert it...
Initialization is done by a constructor for public, protected, and private members to insure the object has the correct initial state.
Protected, private, and public are access modifiers. They set...
int main()
{
char ch = '5';
int nNumb = ch - '0';
return 0;
}
If you use spy to watch messages you'll see that when you use end task off of the taskmanager he sends a WM_CLOSE message when he shuts down an application.
After you wait some reasonable amount...
Tomkat,
what do you think the registry is ? Of course services are started out of it. See HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
I made a few changes to the program to get it to work correctly but it will display you hit a when an a is entered. If anything else except an esc (escape) is entered it will do nothing but get the...
It just needed a little tweeking...
#include <iostream>
using namespace std;
int main()
{
int favnum;
int nxt;
The functions you've created will work but won't really do anything. They don't return anything (void) and the argument list is empty (func1( ) ).
First:
Let's change void func1( ) to int func1(...
ActiveX is based on COM, therefore it must implement IUknown and almost always IDispatch which makes the object or control available to scripting languages. All you should have to do is a...
Even though this article uses MFC I think it will give you a good start. When in doubt search http://msdn.microsoft.com/library.
ARTICLE on clipboard:...
You can write ActiveX controls and implement IDispatch to make methods availible to scripting languages, HTML, VB (custom as well), or ASP.