Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > General Discussion
  New Posts New Posts RSS Feed - type library import
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

type library import

 Post Reply Post Reply
Author
Message
SergeyTitov View Drop Down
Newbie
Newbie


Joined: 27 August 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote SergeyTitov Quote  Post ReplyReply Direct Link To This Post Topic: type library import
    Posted: 27 August 2008 at 2:01pm
Dear Codejock Team,

When I try to import the type library in VS2005/2008 using the following line

#import "C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v12.0.2 (30 Day Trial)\bin\Codejock.Controls.v12.0.2.Demo.ocx"

I am getting the error

...\codejock.controls.v12.0.2.demo.tlh(729) : error C2146: syntax error : missing ';' before identifier 'Font'

Please advise

Thanks,
Sergey
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 27 August 2008 at 3:56pm

Hi,

Import stdole also:

#import "C:\WINDOWS\system32\stdole2.tlb" exclude("OLE_HANDLE", "OLE_COLOR", "OLE_XPOS_PIXELS", "OLE_YPOS_PIXELS", "DISPPARAMS", "EXCEPINFO", "GUID", "IUnknown", "IDispatch", "IEnumVARIANT", "IFont", "IPicture")
using namespace stdole;

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
SergeyTitov View Drop Down
Newbie
Newbie


Joined: 27 August 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote SergeyTitov Quote  Post ReplyReply Direct Link To This Post Posted: 28 August 2008 at 8:29am
Oleg,

It helped!

Many thanks!

Spasibo,
Sergey
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.234 seconds.