|
Thanks guy
I was suposing that "your solution" is the ONLY correct solution.
I'll have to convert my code to a thread.
Dr.pi
|
|
|
|
|
I only know of 2 solutions. This worker-thread solution and the ::PeekMessage() solution. You'll have to choose the one based on your needs. For example if your task is running often or the entire time, you should not even consider the ::PeekMessage() solution.
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Hi,
what are good code profilers to use with Visual C/C++ 2003?
|
|
|
|
|
|
|
Thanks to all! Tried the free profiler and it rocks!
|
|
|
|
|
Hello all
I am planning to start making activeX control using MFC.
can you please suggest some good books.
regards
Anil:
|
|
|
|
|
"Understanding ActiveX and OLE" by David Chappell - Microsoft Press
SkyWalker
|
|
|
|
|
Thanks for your quick response
I will have a look at it
|
|
|
|
|
anil wrote: I am planning to start making activeX control using MFC.
Developer's Workshop to COM and ATL 3.0 [^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Thanks for your quick responce.
The book you suggested is on ATL.
MFC based book.
there is something difference between ATL based and MFC based I think.
if not then tell me. I am totaly new to this area.
|
|
|
|
|
If you are going to develop a COM component...
then ATL is an easier way...
the idl files and guids are generated automatically
MFC is basically for win32 program development using API's
if ur developing com components... go for ATL
|
|
|
|
|
have a look at this:
COM and COM+ programming primer
i dont remember the author's name
this will help with ATL and MFC
|
|
|
|
|
hello all,
i am using one of the third patry tool of Microsoft INET (Microsoft Internet Transfer Control) through app wizards for FTP Application. But the problem is most of the parameters are in VARIANT. I worked the same in VisualBasic it worked well and i got the result. When i ported my application to VC++, Its giving some error while using OpenURL() method. In VisualBasic all, 1st parameter of this method is Optional where we need to give the URL. i had given the URL separetly for that.
Could any one plz say me how to use this class? plz.
I did the same application using CInternetSession and CFTPConnection. I got it worked. But i want to use this method.
Plz say how to do.
Thank u all in advance.
regards,
Basheer.
|
|
|
|
|
You MUST provide a valid URL when calling OpenURL(yourURL, icString)
SkyWalker
|
|
|
|
|
But i am giving that URL through separate property. that is there we have SetRemoteHost() through that i am giving the URL such as ftp://.....
and SetUserName() for giving Username and SetPassword() for giving password.
Then why do i need to give the URL. if it is so how do i give?. is it like
ftp://username:password@ftpsite
that means this has to be converted to Variant to transfer this.
is it?. Could u plz check this.
Thanking u.
Basheer.
|
|
|
|
|
You pass the url as a string to the OpenURL() function.
Remember always this: OpenURL 's return value depends on the target of the URL. For example, if the target URL is the directory of the FTP server, the directory will be returned. On the other hand, if the target is a file, the file will be retrieved.
(and not speaking that the url must be a valid one )
|
|
|
|
|
... and check the above (I do not know why it appears under Anonymous, as I was already logged-in) by passing this :
"ftp://ftp.microsoft.com/disclaimer.txt"
SkyWalker
|
|
|
|
|
hey i am having problems displaying integer/long variables in form of exponents....plz help
thanks
|
|
|
|
|
what ... problems?
SkyWalker
|
|
|
|
|
cast them to float or double and then display them
"Do first things first, and second things not at all."
— Peter Drucker.
|
|
|
|
|
Hi,
For creating Restore point we use below structure,
typedef struct _RESTOREPTINFO {
DWORD dwEventType;
DWORD dwRestorePtType;
INT64 llSequenceNumber;
TCHAR szDescription[MAX_DESC];
} RESTOREPOINTINFO, *PRESTOREPOINTINFO
In it why is it necessary to specify 2nd param 'dwRestorePtType'
whatever I install or do... system shud take restore point...I think so...Do tell Ur comments... is there any specific reason???
coz if I dont set this parameter, system gives me error code-13 i.e DATA IS INVALID
thanks in advance
Supriya Tonape
-- modified at 2:30 Wednesday 19th October, 2005
|
|
|
|
|
Ussualy, an application passes a pointer to such an object to the SRSetRestorePoint() function and needs to know what action to take on certain events. For example, to cancel the creation of a restore point, you could call SRSetRestorePoint() with dwRestorePointType set to CANCELLED_OPERATION, dwEventType set to END_SYSTEM_CHANGE, and llSequenceNumber set to the sequence number of the restore point.
SkyWalker
|
|
|
|
|
I wanted to know why SRSetRestorePoint() does not work in Vista? Do we need to specify any other parameters?
SRSetRestorePoint() returns true in XP but false in Vista (I'm executing the same piece of code in the two m/cs). Please help!
|
|
|
|
|
How to get the size of a removable disc connected on the USB port
|
|
|
|