Thread View: borland.public.delphi.com.activex.using
1 messages
1 total messages
Started by Jon Jacobs
Thu, 07 Aug 2008 16:11
Find the unit
Author: Jon Jacobs
Date: Thu, 07 Aug 2008 16:11
Date: Thu, 07 Aug 2008 16:11
27 lines
1670 bytes
1670 bytes
The following code works on a remote server, but not on another copy. procedure TForm1.Button2Click(Sender: TObject); var ProgID: string; W: WideString; P: PWideChar; Result: TGUID; H: HResult; begin ProgID := 'CacheObject.Factory'; W := WideString(ProgID); P := PWideChar(W); H := CLSIDFromProgID(P, Result); OleCheck(H); end; I can trace through the code on the remote system and it works fine, but I cannot find where CacheObject is defined. I copy all the source code to another machine, and it compiles fine, but H := CLSIDFromProgID(P, Result); returns an error value in H. I need a strategy to track down where CacheObject is defined. Except for this string, it does not appear in find in files, all files in project. There is a TLib, but it is not defined there. Thanks, Jon
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads