Today is...
Tuesday, July 23, 2019
Welcome to Control.com, the global online
community of automation professionals.
Featured Video...
Featured Video
A tutorial introduction to programming using the QuickBuilder Programming Environment.
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive
ocx in a WinCC project
Why does .ocx components sometines fail in winCC...???
By Henning Aagesen on 9 November, 2001 - 1:07 pm

We have developed several .ocx-components for a winCC project in Germany...
The development tool were Delphi 6...
Most times they work fine but suddenly we can get a DAX-error... and then a access violation....

What is a DAX-error..??
Has anyone had similar problems...??
Were should the .ocx-files be placed before registration...??

Any help will be most appreciated.... *S*

By Mathias Lindgren on 24 November, 2001 - 12:00 pm

Hi !

I have also made several ocx:s in WinCC.
I used VB 6.0.

The DAX error that you get I dont have an clue about...

But my experience with my project was that it was
very necessary to include some error handling that writes error codes to an file on the computer.

The biggest problem that I had was when I made an change to an ocx then sometimes all WinCC machines had to be restarted to let go of the
ocx file (unknown object...).

I think that the best way to register the ocx files is to place all ocx:s on the server because when you updates a file you only have to re
register the ocx and not to copy a new file to all the machines if of course not you have put in some new dependency files...
Also make paths to error files,db connections,passwd and that kind of stuff editable in the register on every computer.

Hmm I dont think that you got much help from this but it's always nice to share experiences...

;)

Best Regards
Mathias Lindgren