Help! I'm not sure where to start.
Program Error
Declare DLL call caused an exception.
Cancel Suspend Ignore Help
I've been speculating that it's XP SP2, one of the many security patches or .NET
2.0, since that is all that has changed on my system. Luckly our users haven't
started complaining yet.
Rick
P.S. I'm also looking forward to someone coming up with the real problem and a
consistant solution!
"JP" <Z...@Z.com> wrote in message news:EIqdnXgh75Z...@gvtc.com...
--
Fred
Microsoft Visual FoxPro MVP
"Rick Bean" <rgb...@unrealmelange-inc.com> wrote in message
news:uKqh5ub...@TK2MSFTNGP12.phx.gbl...
I don't know what is going on here, but I will offer some ideas.
Is the DLL the same version on both machines? Download Dependency Walker
(http://www.dependencywalker.com/) and look at the dependencies files on
both machines. You might have a different version of a file on your home
machine when compared to the other PC.
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell
*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/
*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/gp/lifeselectindex
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003
declare RtlMoveMemory in Win32API String @st, Integer, Integer
a=replicate(chr(0),4)
RtlMoveMemory(@a,1024*1024-16,4)
Leonid
"JP" <Z...@Z.com> wrote in message news:EIqdnXgh75Z...@gvtc.com...
You can also get this error, if you use some GDI+ function
before you initialized GDI+ with GdiplusStartup(...).
This may also end up reading or wrinting to protected
memory, but the reason in this case is wrong use of the DLL...
Bye, Olaf.
Rick
"Fred Taylor" <fta...@mvps.org!REMOVE> wrote in message
news:elQXfRcI...@TK2MSFTNGP09.phx.gbl...
Rick
"Lee Mitchell" <Le...@online.microsoft.com> wrote in message
news:imGyBZcI...@TK2MSFTNGXA02.phx.gbl...
Rick
"Leonid" <leo...@NOgradaSPAM.lv> wrote in message
news:OOUj9ucI...@TK2MSFTNGP14.phx.gbl...
--
Fred
Microsoft Visual FoxPro MVP
"Rick Bean" <rgb...@unrealmelange-inc.com> wrote in message
news:%23A9K4ze...@TK2MSFTNGP09.phx.gbl...
the enumproc.dll comes with sourcecode,
just load the project into Visual Studio and build a debug version.
Set a breakpoint on the the first line of the "OpenProcList" function
Hit F5 to start debugging, select vfp9.exe as the debugging executable.
In VFP, change the current directory to "pathtoenumprocsource\debug", so
the debuggable version of the DLL is found.
DECLARE the functions and call OpenProcList from the Command window. The
debugger will come to the foregroud and then you can step through the
code to see where the real problem is.
>>> I've been speculating that it's XP SP2, one of the many security
>>> patches or .NET 2.0, since that is all that has changed on my system.
I could run the OpenProcList function on my XP machine with all
currently available patches + .NET 2.0 framework installed just fine.
I don't believe that it has anything todo with security patches nor the
NET framework.
>>> P.S. I'm also looking forward to someone coming up with the real
>>> problem and a consistant solution!
You can only find out yourself by debugging it.
Regards
Christian