|
How about creating a game called "LIFE" that we all are playing. It should be simple enough.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
We need to play a different game.
|
|
|
|
|
like AOM
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hello to all,
In my project I am uploading some data on to the ftp server and for this I am using classes CFtpConnection and CInternetSession, means through function "GetFtpConnection" of class CInternetSession I am getting pointer of class CFtpConnection and then using that pointer I am using function "PutFile" of class CFtpConnection which actually uploads data of my computer to the server folder mentioned.But now the problem is that, uploading is getting failed and if traced the error through "GetLastError" I am getting error code "12031" which indicates "Manifest Parse Error:Incorrect syntax was used in a comment"(as per MSDN help) but I am not getting actual meaning of this error,can anyone tell me exact meaning of this error? why my data is not getting uploaded on to the server? actually internet speed is also good but still uploading is getting failed,can anybody help me please? its very urgent,please help me.
Thanks and Regards,
Anay
|
|
|
|
|
AnayKulkarni wrote: ...if traced the error through "GetLastError" I am getting error code "12031" which indicates "Manifest Parse Error:Incorrect syntax was used in a comment"(
Are you sure that's not 14031?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
No I have checked it many times,it is 12031,please can you help me?
Anay
|
|
|
|
|
AnayKulkarni wrote: No I have checked it many times,it is 12031,
Where? I just checked here and this it what it has:
#define ERROR_SXS_XML_E_COMMENTSYNTAX 14031L
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
AnayKulkarni wrote: I am getting error code "12031" which indicates "Manifest Parse Error:Incorrect syntax was used in a comment"(as per MSDN help)
Where do you get that? MSDN states:
ERROR_INTERNET_CONNECTION_RESET
12031
The connection with the server has been reset.
(Source: WinINet Error Codes[^])
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
I am doing a project on applications of ip camera.I would like to know how to connect an ipcamera to the application using vc++.Is mpeg4 format supported in VC++/MFC?
Please reply.
|
|
|
|
|
hi,
i have same problem in connecting to ip camera,
please help me.
|
|
|
|
|
Hi Friends,
please reply ......
Windows Vista provides a slider control to resize icons ( thumbnails) in My Computer Explore view.
I need such resizing in my Windows XP application. Please provide what should be the logic to achieve the things smoothly.
One solution that I think is:-
1) create and delete the ImageList of current view as user resizes but overhead of creating and deleting is very high.
I need smooth resizing.
Any help is highly appreciated.
Thanks in advance.
Subhash Madhukar
|
|
|
|
|
Why don't you draw the image scaled with some Image Drawing API that draws scaled like GDI+ DrawImage, StretchBlt, ...
|
|
|
|
|
Please let me know how can I get the following date and time format using VC++..
2007.11.21 16:36:46.094+00:00
Thank you
|
|
|
|
|
Please let me know. How do I go about it, to get the mentioned format . Plz let me knw what shud iuse in my program to get it.
|
|
|
|
|
I can get you about 78% of what you require using strftime() , but those last few items are unknown to me:
YYYY.MM.DD HH:MM:SS.ms+??:??
Are you referring to GMT, perhaps? If so, some offsets are negative.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
As David Crow said, strftime gets you most of what you need.
I'm assuming you're wanting a UTC time, and the +00:00 bit is the time zone offset?
If so, GetTimeZoneInformation could be your friend.
Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
|
|
|
|
|
I am facing the following error while compiling my programme.
fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Error executing xicl6.exe.
Rajesh
|
|
|
|
|
First do one thing ,
In your workspace goto Menu=>Build=>Batch Build=>Check Both debug and relaese =>Click on Clean button and again rebuld all workspace.
If not soleved then close worksapce delete release and debug folder,delete .opt,.ncb files and again try to rebuild all.
if problem still persist then reinstall VC.
abhi
|
|
|
|
|
I don't remember the error no. ....but it was INTERNAL COMPILER ERROR.
I had declared a struct RGB{} in one of my local project file.
But struct with same name was already present in one of the system header file.
Try to check newly added struct and other data types names.
Regards.
|
|
|
|
|
rajeshgupta1253 wrote: fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
OK - what does google return?
Millions of people will have had the same issue.
And please, please - do not reinstall Visual Studio as you were advised! There is no point in that, as your problem is almost certainly some code construct VC++ could not swallow. Your new installation would end up choking on the same line of code.
Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all. Douglas Adams, "Dirk Gently's Holistic Detective Agency"
|
|
|
|
|
Yes like jhwurmbach said do not reinstall VC++ it wont solve the problem. Try to find out which statement is causing the error by commenting code selectively. Then try to re-write the faulty statement.
-Saurabh
|
|
|
|
|
Start commenting out code (preferably in reverse order of how it was added) until the compiler is happy. Then you will know the offending statement(s).
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi Genius,
i have created one dialog based MFC application in that i have to register the window class name and then i have to use FindWindow()
API to find that window by using that registered class name.i have coded like this in InitInstance() section.
WndClass wc;
wc.lpszclassname="sample class name";
AfxRegisterWindow(&wc);
After that in tht onInitDialog section iam trying to use FindWidow API like.
::FindWindow(_T("sample class name"),NULL);
its not woking i cant find that window,but by using title i can find that window.any can help me to use findwindow API with my own class name.
Thanks in advance,
Nothing is Impossible...
|
|
|
|
|
In your created program, trace the software into the AfxRegisterClass, making sure that the values for wc are set sensibly. Then trace into the CreateWindow class bit to make sure that it actually uses your class, not some default one that happens to work.
Lastly, use spy++ to check out your window, and that it does have the class correctly. (ok, do this first too!)
Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
|
|
|
|
|
kmani_soft wrote: AfxRegisterWindow(&wc);
You mean AfxRegisterClass ?
Just registering a Window Class doesnot create a window of the class or doesnot associate already created window with the class name. I guess you misuderstood that when calling AfxRegisterClass your dialog app window is associated with the window class, you have to create the window with the class name.
|
|
|
|