Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DLL command caused C0000005 error
Message
From
20/05/2004 09:46:14
 
 
To
20/05/2004 09:29:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00905585
Message ID:
00905593
Views:
6
>I am using VFP6SP5 on a NT4.0 machine.
>
>I am calling a DLL created by another programmer in my company. The DLL function that I call modifies one of the strings that I pass to it by reference. As soon as it does the modification, I get the C0000005 error. I have padr() with " " to the lentgh needed and one beyond, trying to stop this error, but it does not work at the moment.
> I did a search both in FAQ and these threads back to the first of the year (maybe I should go back farther) and could not find anything like this. I found one thread close, but it had to do with an object, not a DLL call.
> Anyone have any idea?
>
>TIA
>Beth

hi Beth,

(1) what does that dll do ?

(2) What are the parameters to the dll ( at least a pointer to the string and the length of the string)

I suspect that the dll does modifications outside the string boundaries. If so, it will corrupt the vfp memory which may cause the c000005
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform