Jump to content

Object or com error


Recommended Posts

Hey the following code works fine when I use F5 from Scite.

When I double click the script to run it I get the following error. It is coded correctly. -anyone see a prob?

I know that the object works. -it pulls data for me . . . .

Global $Core = ObjCreate("Order2Go.CORE")
Global $Tdesk = $Core.CreateTradeDesk(trader)

CODE
Global $Core = ObjCreate("Order2Go.CORE")

Global $Tdesk = $Core.CreateTradeDesk(trader)

Global $Tdek = $Core^ERROR

Error: Variable must be type Object.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...