Hi,
I've seen that a few people here seem to still be using Unity OLE Support. I'm trying to migrate an old V6 VAST application to 9.2.2 and have troubles with
UtyOLESupportApp class>>#startUp
or better in the #checkLibraries method, which cannot find on eof the three libraries UTYOLE, OLEAUT32 or OLE32.
The funny thing is that all three are initialized nicely after the image is fully started. I tried by copying the contents of #checkLibrary to a Workspace and executing the three initiializations by hand after the image has come up and reported its 'cannot find UTYOLE20.DLL' error.
YEs, I have added the name mappings to abt.ini, and I also tried forking startUP as a background process that waits for everything else to finish by adding this to UtyOLESupportApp class>>#startUp:
[
[System imageStarted] whileFalse: [
Transcript cr; show: 'Waiting for ImageStarted'.
(Delay forSeconds: 1) wait].
...existingCode...
] fork.
The Transcript doesn't show anything, but #halt: ing instead stops...
The funny thing, however, is that I can do all the initializations later in a workspace, so the DLLs can be found and the getAddress: calls in #checkLibraries do retunr actual addresses.
Did anybody encounter and solve this problem already?
Joachim