Solved

Can _Size of memcpy be 0?

Posted on 2008-06-16
7
188 Views
Last Modified: 2010-04-21
As per subject... Just wondering if this is the source of my error...

Thanks,
Uni
0
Comment
Question by:Unimatrix_001
  • 4
  • 3
7 Comments
 
LVL 53

Expert Comment

by:Infinity08
ID: 21791859
It should.
0
 
LVL 53

Expert Comment

by:Infinity08
ID: 21791866
You did mean the third parameter of memcpy, didn't you ?

        void *memcpy(void *dest, const void *src, size_t num);

(ie. num)
0
 
LVL 3

Author Comment

by:Unimatrix_001
ID: 21791865
It should....?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 53

Accepted Solution

by:
Infinity08 earned 500 total points
ID: 21791869
Meaning that there's no reason why it wouldn't accept it.


What's the error you get ?
0
 
LVL 3

Author Comment

by:Unimatrix_001
ID: 21791870
Yep.
0
 
LVL 3

Author Closing Comment

by:Unimatrix_001
ID: 31467513
Okay thanks.... The error is about accessing invalid memory. I know where the error is now.

Thank you! :)
Uni
0
 
LVL 53

Expert Comment

by:Infinity08
ID: 21791874
>> I know where the error is now.

nice :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now