hi, i need to have a declare statement for an API to call a method in it, the
only problem is that i dont neccessarily know where on the comp it will be. I
kno it will be in my application folder, but how do i say that in the
declares statement? for instance, i have this
Private Declare Sub AccCreateSessio n Lib "acccore.dl l" Alias "#111" _
(<MarshalAs(Unm anagedType.LPSt ruct)ByVal Name As Guid,
<MarshalAs(Unma nagedType.IDisp atch)ByRef session As Object)
but it cant find it, ive also tried
Private Declare Sub AccCreateSessio n Lib "..\acccore.dll " Alias "#111" _
(<MarshalAs(Unm anagedType.LPSt ruct)ByVal Name As Guid,
<MarshalAs(Unma nagedType.IDisp atch)ByRef session As Object)
but that doesnt work either.....how can i do this?
--
-iwdu15
only problem is that i dont neccessarily know where on the comp it will be. I
kno it will be in my application folder, but how do i say that in the
declares statement? for instance, i have this
Private Declare Sub AccCreateSessio n Lib "acccore.dl l" Alias "#111" _
(<MarshalAs(Unm anagedType.LPSt ruct)ByVal Name As Guid,
<MarshalAs(Unma nagedType.IDisp atch)ByRef session As Object)
but it cant find it, ive also tried
Private Declare Sub AccCreateSessio n Lib "..\acccore.dll " Alias "#111" _
(<MarshalAs(Unm anagedType.LPSt ruct)ByVal Name As Guid,
<MarshalAs(Unma nagedType.IDisp atch)ByRef session As Object)
but that doesnt work either.....how can i do this?
--
-iwdu15
Comment