Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finicky DLL
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00006267
Message ID:
00006269
Views:
43
>Would ther be a reason for a DLL to work for 6 months in one application and then suddenly fail in another?
>
>I have a C++ DLL that does some file handling functions for me. It has been working fine in my file parsing routines for months now. I needed to do something similar, so I LITERALLY cut-and-pasted(the VB method of inheritance) the code from the working routine and took out the lines I didn't need. The only things I changed were pathnames and such. Now, the thing totally blows up my (NT 3.51)workstation (completely exits VFP 3.0b or gives me the ever-so-helpfull "couldn't read memeory at..." message). I tried it from within VFP and as an exe, same effect. All 4 functions from the dll get registered, and it calls one of them fine, it crashes on the second call (I know it is failing here for sure, MessageBox(), the great debugging tool (s)).

Scot

Was the platform always Win/NT 3.51? Has anything at all changed?

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform