|
Hi,
I think the problem with your code is the name mangling done by the C++ complier . so make your function "C" specific.ie extern C tells compiler that it's C style function.
thanks
Nitheesh
|
|
|
|
|
Hi,
I am getting the following error 0xC0000005: Access Violation., is there is a reason why I am getting, my code compiles correctly but while debugging i am getting this error.
With Regard
Mytheensha
|
|
|
|
|
mytheen wrote: is there is a reason why I am getting
There could be milions of reasons for it to happen. The best thing you can do to fix the problem is to use your debugger properly and to see what is happening in your code.
|
|
|
|
|
I got this error when I use malloc and free
It means you are reaching and doin smt in memory at wrong place.
what is your code where did you get this error...
most of the time pointers can do that if you point wrong address
|
|
|
|
|
The debugger should be a clue here, try looking at the screen when the crash has occured and see what the debugger is pointing at.
The code, call stack and locals windows should help.
regards,
|
|
|
|
|
Did you use of breakpoints for trace your code line to line?
|
|
|
|
|
mytheen wrote: is there is a reason why I am getting, my code compiles correctly but while debugging i am getting this error.
Yes, you got a runtime error, never heard about?
There's a wonderful tool, called debugger, that greatly helps in such cirmcumstances.
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
|
|
|
|
|
I got it, i just refer the memory which i had deleted. Thanks for reply.
With Regard
Mytheensha
|
|
|
|
|
In an MFC project, want to set the length of the printed page 10cm.
bijumon mathew
kattappana
|
|
|
|
|
|
Hi,
All how can I use URLDownloadToCacheFile() or URLDownloadToFile() to perform a resumable download of files from http?
For example I am downloading a 500mb zip file then at 200mb i got disconnected, Can i reconnect and start at 200mb? Can I use this without MFC?
Thanks,
Jayjay
|
|
|
|
|
It dependes to that site that does it support resume or no?
|
|
|
|
|
Hi Hamid,
It is just an http site, I will not use an FTP site
Thanks
|
|
|
|
|
FTP supports the RETRIEVE and REST commands. I do not know of an HTTP equivalent.
"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
|
|
|
|
|
|
Where does that article talk about resuming a download?
"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
|
|
|
|
|
Request you to please help me get the following date and time format...
2007.11.21 16:36:46.094+00:00
Also how do I get the milliseconds.
Please give a syntax for this.
THANKS
|
|
|
|
|
As you can see the format is (2007.11.21 16:36:46.094+00:00)
year 4 digit . month 2 digit . day 2 digit [space one] hour:minute:second.milisecond +/-GTM time (based on London)
if this is a string than you have to get substring of milisecond place
|
|
|
|
|
How do I do that. Can you post the syntax please?
THANKS
|
|
|
|
|
what is your variable type?
like char*, CString, LPTSTR or anyting else?
|
|
|
|
|
|
pl_kode wrote: Request you to please help me get the following date and time format...
2007.11.21 16:36:46.094+00:00
Have you looked at strftime() ?
"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
|
|
|
|
|
I have a simple application (SDI) where I am drawing almost 200000 points on the view (inserted code to draw point in OnDraw function of view class). It is taking several seconds to draw to points on client area. In mean time if I double clicked on the client area the points are getting drawn again. And if I keep doing the same (double clicking on the client area) points are getting drawn again and again.
Please any one can explain this..?
Thanks in advanced
Sandip
|
|
|
|
|
Hi Sandip,
The think problem is that when you double click on the client area the client is drawing. So when a draw is needed the system calls the onDraw function. that is why the points are getting drawn when you double click on the client area. Have you written any code for handling the dbl click???. try using a thread to plot the points you will get a faster drawing.
thanks
Nitheesh
|
|
|
|
|
Hi Niteesh,
Thanks for your reply.
I have not written any code dbl click handler.
Thanks
Sandipan
Sandip
|
|
|
|