Loading...

TLB for safe version of OCX

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

TLB for safe version of OCX

Postby northstar » Fri Jan 22, 2010 7:11 pm

I am trying to find TLB and other header files for the safe version of OCX to use in my C++ which will be finally consumed by a webpage. C++ sample uses the non-safe version.

Thanks.
northstar
 
Posts: 4
Joined: Fri Jan 22, 2010 7:06 pm

Re: TLB for safe version of OCX

Postby Loïc » Tue Jan 26, 2010 4:32 pm

Hi,

Which OCX are you talking about ??

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: TLB for safe version of OCX

Postby northstar » Tue Jan 26, 2010 5:34 pm

Sorry I forgot to mention the OCX name - gdpicture5s.ocx. When I use the regular gdpicture5.ocx in a threaded environment, I get thread entry exceptions.
I am using C++ to create an activeX wrapper to gdpicture to be used in web environment.
northstar
 
Posts: 4
Joined: Fri Jan 22, 2010 7:06 pm

Re: TLB for safe version of OCX

Postby Loïc » Tue Jan 26, 2010 5:43 pm

Hi,

Using the safe edition will not solve your issue.
The safe edition is just the same edition as the "normal" with a flag for Internet Explorer telling that the control can be used without warnings.

Are you trying to use GdPicture Light in a multi-thread application ? What is the way to reproduce your issue ?

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: TLB for safe version of OCX

Postby northstar » Tue Jan 26, 2010 7:35 pm

I am not using Light version. I have the pro version.

Steps to reproduce:
Create a sample VC++ OCX Project. ( this is going to be a non-UI OCX)
Add a dialog and insert OCX - for instantiating the GDPicture.OCX
Create OCX - Sign and create a CAB
When accessing OCX methods I see the exception happening.

I am not sure what I am missing?
northstar
 
Posts: 4
Joined: Fri Jan 22, 2010 7:06 pm

Re: TLB for safe version of OCX

Postby northstar » Tue Jan 26, 2010 8:01 pm

If I get the TLB file for the safe version with the namespace as GdPicturePro5S might solve the problem, but I have to try that out and see.
northstar
 
Posts: 4
Joined: Fri Jan 22, 2010 7:06 pm

Re: TLB for safe version of OCX

Postby Loïc » Wed Jan 27, 2010 10:55 am

Hi,

Code: Select all
If I get the TLB file for the safe version with the namespace as GdPicturePro5S might solve the problem, but I have to try that out and see.


Ok. Please, don't use the safe edition, use the standard one: gdpicturepro5.ocx. This edition is provided with a .tlb which can be found on the folder of the installation directory.

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest

cron