|
Thanks for the reply,
yes,I've checked the value of p and it contains the valid value.
The access violation occures at the next line after p has been intialized.
ritz1234
|
|
|
|
|
How v is declared?
Why don't you use accessor methods (i.e. int getCount() , void setCount(int x) )?
Have you made a test with a not-shared variable?
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
|
|
|
|
|
Thanks cPallini,
It works for me.
See you tomorrow.
ritz1234
|
|
|
|
|
i have a simple game i need creating to help later on with my course, can any one please help ASAP! thank you
|
|
|
|
|
dinozulf wrote: i have a simple game i need creating to help later on with my course, can any one please help ASAP!
Yes, someone can.
dinozulf wrote: thank you
You're welcome.
BTW have you read forum guidelines?
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
|
|
|
|
|
You will have to ask a question for someone to help you.
-Saurabh
|
|
|
|
|
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.
|
|
|
|