[Gambas-user] Strange error in Embedder

jbskaggs jbskaggs at ...1871...
Thu Oct 16 19:58:19 CEST 2008


Okay I have an embedder working to embed Open Office- But a couple of users
of the program get this error:

Wanted Pointer [] got integer

I cannot duplicate this on my system and my other users don't get this
error.  

Here is the code:

PUBLIC SUB Presence_Embed(windowTitle AS String)
  DIM key AS Pointer[]
  DIM i AS Integer
  WAIT 3.5 '<<<time to allow OpenOffice to load
  key = Desktop.Find(windowTitle)
  i = key[0]
  Embedder1.Embed(i)
  Embedder1.SetFocus
  Embedder1.Visible = TRUE
END

What could be causing this?
JB
-- 
View this message in context: http://www.nabble.com/Strange-error-in-Embedder-tp20016035p20016035.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list