|
It's quite a new information for that PSDK congtains a 64 bit compiler.
In the system requirements section, it's saying like this
Development Tools. To build the C/C++ samples, you must have a C/C++ compiler. If you are using Microsoft Visual C/C++®, run it at least once before installing the SDK. This will ensure that the environment variables are correctly configured. To build the Visual Basic samples, you must have Microsoft Visual Basic®. This SDK does not support working with Microsoft Visual C/C++®, 6.0 as support for VC 6.0 has ended. The last SDK that will work with VC 6.0 is the February 2003 Edition, you can order a CD on the fulfillment site. Side by side installations are not supported.
I'm still confused with your reply
-Sarath.
"Unhappiness is best defined as the difference between our talents and our expectations" - Edward De Bono
|
|
|
|
|
I'm pretty sure the MS one is in the Windows SDK for Vista RC1. You should be able to use it with Visual C++ 2005 Express Edition.
Anna
Currently working mostly on: Visual Lint
Anna's Place | Tears and Laughter
"Be yourself - not what others think you should be"
- Marcia Graesch
"Anna's just a sexy-looking lesbian tart"
- A friend, trying to wind me up. It didn't work.
|
|
|
|
|
Thank u 4 ur in4mation but i do not hv Vista yet so i m not abl 2 work vth it.
4 u.
|
|
|
|
|
hiral_shah wrote: Thank u 4 ur in4mation but i do not hv Vista yet so i m not abl 2 work vth it.
People all over the world, listen up !
The above message is a fine specimen of office correspondence in India. Can you stomach this stuff ?
|
|
|
|
|
Vivek Rajan wrote: Can you stomach this stuff ?
Yes, but it induces an involuntary reaction which involves the said stuff retracing it's steps.
As of how to accomplish that have you ever tried Google?
Failing that try .
|
|
|
|
|
"The above message is a fine specimen of office correspondence in India. Can you stomach this stuff ? "
Can u make it clear?
|
|
|
|
|
learn to use words the way they are spelled in a dictionary. reading '4' as 'for' is really painful. i see absoultely no reason why a "with" can be replaced by "vth". is it that difficult to type in a few extra letters ?
|
|
|
|
|
avsrivastava wrote: is it that difficult to type in a few extra letters ?
Ofcourse not, but since he is quite new to here thats why.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Actually when you post something here, use complete english words for that. Here people don't use to write short forms of the words.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Thank you so much,
I really didn't know that over here shortcuts of the words should not use. I will take care of it in the future. And one more thing I am Ms. not Mr.
Thank you once again.
|
|
|
|
|
Always welcome..
hiral_shah wrote: And one more thing I am Ms. not Mr.
May be I got confused with the name..
Best Regards,
Apurva Kaushal
|
|
|
|
|
Can you repeat that in English (or even German or Thai)???
Please don't use text-speak in the Lounge!
Anna
Currently working mostly on: Visual Lint
Anna's Place | Tears and Laughter
"Be yourself - not what others think you should be"
- Marcia Graesch
"Anna's just a sexy-looking lesbian tart"
- A friend, trying to wind me up. It didn't work.
|
|
|
|
|
This forum uses the English language. Please respect the language of the board.
|
|
|
|
|
Hi,
I got some compilation errors when including both winsock.h && Ws2tcpip.h in my .cpp file.
Eg:
"C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\Ws2tcpip.h(28) : error C2011: 'ip_mreq' : 'struct' type redefinition
1> C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winsock.h(372) : see declaration of 'ip_mreq'
1>C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\Ws2tcpip.h(71) : warning C4005: 'IP_TOS' : macro redefinition
1> C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winsock.h(361) : see previous definition of 'IP_TOS'"
so on.....
I am using visual studio-2005.
Thanx in Advance.
|
|
|
|
|
Instead of winsock.h include winsock2.h
#include "winsock2.h"
#include "ws2tcpip.h"
|
|
|
|
|
|
Hi, Experts,
I'm implementing a shell extension COM dll, to create a Encrypt folder, user can put some file into this folder and excute them.
when user put their file in my folder, I'll encrypt those file, and when user double click the file,
I can hook the open action because I'm in a shell extension, I'll decrypt file to a temp file, then use shell extension to open the decrypt temp file.
Follow is my code, I use a hidden window to perform shellexcute:
HWND hHiddenWnd = CreateWindow(_T("EDIT"), _T(""), 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL);
ShellExecute(hHiddenWnd,L"open",wszNewModifiedFilePath,0,0, SW_SHOWNORMAL);
DestroyWindow(hHiddenWnd);
But after user close the file, when user try to delete the file, it will occur this file is "lock by another process" message.
And when I close the explorer, then open explorer again to open my shell extension folder, the the file won't lock.
I think it maybe because, I use shellexcute in shell extension COM dll, and it load by explorer process.
so explorer lock the file.
Please tell me how to solve this problem, Thanks!!
|
|
|
|
|
Within a project work I have to print rich text files from a console program. Did anyone know a solution for this problem and can provide me a sample code or a library to do this or give me a link to an article that helps? It would really help, because I stepped to articles here on the site and since now didn't get the clue.
|
|
|
|
|
can anyone help me out in clearly understanding the concept of COPY CONSTRUCTORS and VIRTUAL DESTRUCTORS. I have gone through lots of books but still i am not much clear as why we go for COPY CONSTRUCTORS and VIRTUAL DESTRUCTORS.
Kindly help me out.
|
|
|
|
|
Virtual destructors have the same meaning of virtual methods.
Those are useful if you use a base class pointer to hold a derived class pointer.
if base class destructor is not virtual :
class A
{
public:
~A() { cout << "Class A destructor"; }
};
class B : public A
{
public:
~B() { cout << "Class B destructor"; }
};
B *Bobj = new B;
A *Aobj = Bobj;
delete Aobj;
Only the A destructor is invoked.
if you make A destructor Virtual, the destructors of derived class and base class (in this order) are invoked.
Copy constructors are used to copy an object, in these cases:
MyClass obj;
MyClass obj2(obj); // Copy constructor invoked
MyClass obj = obj2; // Copy construcotr invoked
obj = obj2, in this case the assignment operator is used ...
|
|
|
|
|
copy constructor have an explicit enough name ! it gets another instance of its class, and duplicate it into "this"...
imagine in one class, you have a pointer to an object. if you make a simple copy, you would duplicate actually the address, ,not the object pointed. a copy constructor allow you to make a deep copy...
virtual destructors is another topic, with no relation with the first one. in a general mean, you tell a destructor to be virtual if you think that you class can be derived.
|
|
|
|
|
Subramaniam s.V. wrote: COPY CONSTRUCTORS
A copy constructor is used to copy the contents of one object to another. A copy constructor unlike the assignment operator is also responsible for creating the object alongwith the initialization.
Ex:
class sample
{
public:
sample()
{
}
sample(sample &s)
{
cout<<"In Copy Constructor:"<<endl;
}
};
void main()
{
="" sample="" s;
="" *s1="s;" copy="" constructor="" is="" called
="" s2(s);="" called="" in="" this="" case="" also
="" s3;
="" s3="s;" overloaded="" assignment="" called
}
="" a="" differs="" from="" an="" operator="" terms="" of="" creation="" object="" alongwith="" the="" initialization="" variable="" class.in="" there="" piece="" meal="" copying="" contents.
when="" we="" are="" using="" creating="" deep="" object.="" create="" shallow="" object.
so="" use="" constructor.
<blockquote="" class="FQ">Subramaniam s.V. wrote: VIRTUAL DESTRUCTORS.
We need virtual destructors to perform memory cleanup from derived class to the base class.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
See here[^] and here[^] maybe it is some helpful to you
|
|
|
|
|
Hi all,
I would need to close a pop-up menu when the current session expires automatically in my application.
This pop-up menu is displayed by TrackPopupMenu() when the user presses the right button on a window. On the other hand, when a time-out occurs (OnTimer()) the current session expires, and I would like to close all possible pop-up menus.
Could anyone help me?
Thank you.
Ser.
|
|
|
|
|
seanru wrote: and I would like to close all possible pop-up menus.
May be you can send a WM_LBUTTONDOWN message to the main window.
|
|
|
|