Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use classes from an Accpac DLL?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01340203
Message ID:
01340593
Views:
7
Hi Chris,

Sorry for jumping in. In the command prompt (or from Start/Run) command type ildasm.exe It then will prompt you for dll.

However, I tried it from the Run command and it didn't find it. I guess you need to check if you have it on your PC.


>Sergey
>
>I think I am on the right track, generally. This is the sequence of commands I've used to get to where I am now:
>DBLINK_COMPANY = 1
>DBLINK_FLG_READWRITE = 0
>oSession = CREATEOBJECT("Accpac.Session")
>oSession.Init("", "OE", "OE1100", "54A")
>oSession.Open("ADMIN", "ADMIN", "TSTDAT", DATETIME(), 0, "")
>IF oSession.IsOpened()
> oLink = oSession.OpenDBLink(DBLINK_COMPANY, DBLINK_FLG_READWRITE)
>ENDIF
>oView = GETINTERFACE(oSession, "IAccpacView")
>
>When I type oView = GETINTERFACE(oSession, "IAccpacView") I get the following error message:
>"OLE error code 80004002: No such interface supported."
>
>Does this mean anything to you?
>
>Cheers
>Chris
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform