CreateOleObject(IniFile.ReadString('WORKFLOW2','OLEOBJECT','FMCreateCase.Cre
ateCase'));
but I got this error:
Project MyProject.exe raised exception class EOleSysError with message
'Invalid class string'. Process stopped. Use Step or Run to continue.
Any idea ?
thnx
The string given to CreateOleObject does not identify a COM class name
registered in your machine. Exacly as the message says.
JensG
Thank You.
"Jens Geyer" <j...@vsx.net> wrote in message news:3d00682d_2@dnews...
Search for the name that you read from the INI file in your registry. You
should found something like this (where Your.App is the string we search
for):
HKEY_CLASSES_ROOT\Your.App
with at least one subkey CLSID. The "standard value" of this should contain
the CLSID {yourclsid}. Now look for:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{yourclsid}
where you should find the key
InprocServer32
with the "standard" value "c:\pathname\to\your.dll"
If something is missing, the OS will not found the DLL
JensG