Board index » delphi » Problem translating VB code to Delphi
r...@RolandScholz.de (Roland Scholz)
![]() Delphi Developer |
Fri, 13 Aug 2004 00:41:30 GMT
Problem translating VB code to Delphi
Hello all,
I want to contact an OLE server and get some data from it. I have some VB code, Dim Controller As VPinMAMELib.Controller GameList.ListItems.Clear For Each Game In Controller.Games Set Item = GameList.ListItems.Add(1, Game.Name, Game.Description) Next Game here is my translation just for testing: VPinMame:=createoleobject('VPinMAME.Controller'); The problem is the third line. When executing this line, the following Roland Scholz |