G
Guest
hi, my other post kinda died, so here it is again. i have a declare statement
to a COM object like so
Private Declare Sub AccCreateSession Lib "C:\Aim
Code\dist\release\acccore.dll" Alias "#111" _
(<MarshalAs(UnmanagedType.LPStruct)> ByVal Name As Guid,
<MarshalAs(UnmanagedType.IDispatch)> ByRef session As Object)
and that loads just fine...however when i change it to
Private Declare Sub AccCreateSession Lib "acccore.dll" Alias "#111" _
(<MarshalAs(UnmanagedType.LPStruct)> ByVal Name As Guid,
<MarshalAs(UnmanagedType.IDispatch)> ByRef session As Object)
and put the COM object in my applications startup directory, it says it cant
find the specified module. i thought the applications path was in the search
path to find the dll? how come it wont find the dll?
to a COM object like so
Private Declare Sub AccCreateSession Lib "C:\Aim
Code\dist\release\acccore.dll" Alias "#111" _
(<MarshalAs(UnmanagedType.LPStruct)> ByVal Name As Guid,
<MarshalAs(UnmanagedType.IDispatch)> ByRef session As Object)
and that loads just fine...however when i change it to
Private Declare Sub AccCreateSession Lib "acccore.dll" Alias "#111" _
(<MarshalAs(UnmanagedType.LPStruct)> ByVal Name As Guid,
<MarshalAs(UnmanagedType.IDispatch)> ByRef session As Object)
and put the COM object in my applications startup directory, it says it cant
find the specified module. i thought the applications path was in the search
path to find the dll? how come it wont find the dll?