Jim DeMarco
Jdemarco at hudsonhealthplan.org
Fri Oct 28 11:51:53 CDT 2005
>>Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) Versus: Dim oMyArrayTool as gustavdll.ArrayTool Set oMyArrayTool = new ArrayTool oMyArrayTool.GoGetThatArray(lngP1, lngP2, MyArray()) Admittedly more code but not that complicated (same result either way). One an API note I have seen components that had COM and API style interfaces. I don't know if API style access is inherent in COM objects though. Could those developers have create two interfaces to the components? Maybe someone else can answer that. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 12:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Well, I mean _not_ complicated, like: Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 18:11:07 >>> >>more complicated than a Windows API call Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ***********************************************************************************