|
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.
|
|
|
|
|
Hello friends,
I am using VC6.0 IDE with Platform SDK Sp3.
I am using Winsock api for client server programming.
I want to develop a server which is responds (i.e. send/receive packets, getting acknowledgment when client closed or net down or network) for atleast 8000 clients.
The following are my problem:
1) For 8000 clients maintaining an array of socket handle is difficult and takes lot of unwanted memory or may show memory excpetion.
2) On Server side, it may possible that server PC having 2 to 3 network adapters with different IP address range (e.g. one adapter for internal LAN and another is connected to ISP through router etc…)
3) Some PC are connected by Host, NAT
4) Some (HR or Company managers) PCs are connected through wi-fi wireless network or used VPN.
So I want to consider all these possibility.
Please give me a suggestion that, what strategy at the time of development is better for me so my server can be error prone and it should work in all condition.
abhi
modified on Monday, April 21, 2008 5:34 AM
|
|
|
|
|
hai,
u told that u are using win sock api... if ur server want to serve more then 8000 clients means..u have to step into IOCP method.
Using Iocp 55000 clients we can connect simultanously...
In our code project site itself so many articles are there to refer IOCP..
This is the basic link to learn IOCp...
http://msdn2.microsoft.com/en-us/library/ms810434.aspx[^]
Hope ur first problem will be solved...!
Thanks.
Manivannan@Congruent
Born to win...!
|
|
|
|
|
Hi All.
1) I am getting Current time in the format "hhmmss".
2) I read a parameter minute for example 5 minutes(i.e Duration)..
Now i want to add this two time.
suppose first is current time
second is duration
I want add this(current Time + Duration) and get the result....
can u plz help me
thank you in advance...
sharan
Hi,,
I am sharan.Working as a software Engineer in Indo-Fuji Software Company located in BTM Layout.Bangalore.India.
I have Completed my B.E(COmputers)in 2006.ANd I am having 2 years of Exp in VC++.
thanking you
sharan
|
|
|
|
|
If you're using MFC , then CTime and CTimeSpan will do the magic. See [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Hi..
I am using COleDateTime....
I am getting the current time in format hhmmss..
I am a reading a parameter which has only minutes Example 10 min..
I have to add 10 min to current time i.e hhmmss..
Note) The parameter in code csDuration is in minutes
here is my code
////////////////////////////////////////////////////////////////
COleDateTime StartTime;
StartTime = COleDateTime::GetCurrentTime();
CString StTime;
StTime.Format("%02d:%02d:%02d",StartTime.GetHour(),StartTime.GetMinute(),StartTime.GetSecond());
COleDateTimeSpan ts1(Sttime);
COleDateTimeSpan ts2(csDuration);
COleDateTimeSpan ts3 = ts1 + ts2;
////////////////////////////////////////////////////////////////////
plz help me
thank you
Hi,,
I am sharan.Working as a software Engineer in Indo-Fuji Software Company located in BTM Layout.Bangalore.India.
I have Completed my B.E(COmputers)in 2006.ANd I am having 2 years of Exp in VC++.
thanking you
sharan
|
|
|
|
|
What about
COleDateTime StartTime;
COleDateTime EndTime;
StartTime = COleDateTime::GetCurrentTime();
COleDateTimeSpan ts(0,0,csDuration,0);
EndTime += ts;
EndTime = StartTime + ts;
?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
modified on Monday, April 21, 2008 8:44 AM
|
|
|
|