Article View: comp.windows.ms.programmer
Article #123TPW-Programmers on DLL's
From: stvlin04
Date: Thu, 30 Jul 1992 09:49
Date: Thu, 30 Jul 1992 09:49
22 lines
1320 bytes
1320 bytes
Hi, I wrote in a while back about writing to the 9th meg a PV100 framegrabber. Since then, all went smoothly (thanks to suggestions) and I finished the routines I wanted. Some of them is assembly, but most is Pascal (for windows). The routines work fine on their own, but as soon as I put them into a DLL for another programmer doing the front-end in Visual Basic, they don't work at all, in fact they don't work even if I call them from Pascal. I have checked my code many times, and it conforms to the help files description. Ok, I thought that maybe something wasn't right in my own routine so I commented the whole thing out, just leaving the declaration 'procedure ... begin end;' and it still gave general protection faults etc. I have spoken to a few friends who gave explanations : I must only use windows calls etc. However, I have to have my low-level stuff for the PV100 and still make a DLL. Any advice or suggestions are greatly appreciated. Thanks Lindsay
Technical Details
Message-ID:
<1992Jul30.114904.202162@uctvax.uct.ac.za>Path:
arc1-ca.pugleaf.net!sparky!uunet!psgrain!hippo!ucthpx!uctvax.uct.ac.za!stvlin04Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!psgrain!hippo!ucthpx!uctvax.uct.ac.za!stvlin04 From: stvlin04@uctvax.uct.ac.za Newsgroups: comp.windows.ms.programmer Subject: TPW-Programmers on DLL's Message-ID: <1992Jul30.114904.202162@uctvax.uct.ac.za> Date: 30 Jul 92 11:49:04 +0200 Organization: University of Cape Town Lines: 22