|
why would you do that?
rrrado
|
|
|
|
|
...and how would you expect that to work? And why would you write a Win16 app?
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Hi All,
How to get the status of all ports on the remote system? I need to give a list of ports that are listening, opened, waiting to close etc. Almost the same output as:
netstat -o
The only thing is that, I need to get the information of remote system. I am trying WMI, but, no luck yet. Any help is greatly appreciated.
Regards,
KVRN Kiran Kumar.
|
|
|
|
|
I would like to print some text using the default printer.
(by a MFC C++ program)
Please help me with some related coding or web pages.
Thanks!
|
|
|
|
|
Printing is built into MFC. If you made your application, you can select to have printing and print previewing in, and then its the same as drawing to the screen.
Or look on codeproject, and there are many articles on print preview, and printing.
Iain.
|
|
|
|
|
|
|
|
You're welcome.
|
|
|
|
|
I would like to print some text using the default printer.
(by a MFC C++ program)
Please help me with some related coding or web pages.
Thanks!
|
|
|
|
|
Dont need to same question.
|
|
|
|
|
Hiii all
i want to know what is the structure of a vc dll if you want to make an independent dll that can be assesble from some asp page how can it be done....
Thanks in advance
vikas da
vikas da
|
|
|
|
|
|
Hi All,
I am new to this forum ....
can any body tell me how inheritence can be achieved in structure..
Thanks in advance
vikas da
|
|
|
|
|
If you are aware of inheritence using classes then replace the class keyword with struct.(Note: Try this with C++ only)
Ex:
struct a{ } ;
struct a : public b{
private:
----
protected :
-----
public :
-----
} ;
|
|
|
|
|
Thanks Mahesh...
But I really didnt understand what is the difference between struct and class other then by default visibility... can u plzzz explain me...
Thanks
Vikas da
vikas da
|
|
|
|
|
The basic difference between a class and struct is with respect to scope.
The class members are default private and struct members are public.
In addition to this a struct should be used the way it is done in c and use class where you need attributes and behaviours.
|
|
|
|
|
so if i start giving always public,private and protected modifier then i can do everything what ever am doing in class and i can replace the class with structure where ever am explicitly specifying the acess modifiers .... is it???
Thanks
vikas da
|
|
|
|
|
|
Oke. Thanks Mahesh i will try this at home...
vikas da
|
|
|
|
|
C Mahesh wrote: In addition to this a struct should be used the way it is done in c and use class where you need attributes and behaviours.
Hi can you please make bit clear about this.
Nice talking to you. If you judge people, you have no time to love them. -- Mother Teresa
|
|
|
|
|
C Mahesh wrote: struct a : public b{
You don't even need the public keyword there - with struct inheritance is public by default.
|
|
|
|
|
If you have worked with classes then replace class with struct.
Ex:
struct a{ } ;
struct b : public a{ };
|
|
|
|
|
Please ignore this, as my browser had some problem.
thanks
Mahesh
|
|
|
|
|
wat functionality is needed to convert midi to wave using MFC ???
|
|
|
|