ontsjc
Technical User
- May 17, 2000
- 113
Hello Again,
I'm having trouble getting createobject to work with the CDO.dll version 1.21. Similar to thread184-368073. I've loaded on cdo.dll in my windows\system directory. I registered it with "regsvr32 c:\windows\system\cdo.dll" and it claims to register fine. By the way I'm using Windows 98 here and VFP 7.0. When I issue oMSG = createobject("CDO.message"
, I get the error "Class Defination CDO.message is not found"
When I look in the registry using regedit under HKEY_CLASSES_ROOT, I can't find the CDO object there. It turns out that it registers as:
MAPI.Session.1 with name = (Default) and Value = "CDO 1.21 Session Object"
I don't know much about the windows registry, but I found this strange, so I opened up CDO.dll in FoxPro's object browser. It opens with a library name of MAPI. The only listing under Classes is "Session". The only place "messages" appears is under the Interfaces menu.
I'm not quite sure what enums and interfaces are or how to access them.
Could this be the problem with CREATEOBJECT command?
I'm having trouble getting createobject to work with the CDO.dll version 1.21. Similar to thread184-368073. I've loaded on cdo.dll in my windows\system directory. I registered it with "regsvr32 c:\windows\system\cdo.dll" and it claims to register fine. By the way I'm using Windows 98 here and VFP 7.0. When I issue oMSG = createobject("CDO.message"
When I look in the registry using regedit under HKEY_CLASSES_ROOT, I can't find the CDO object there. It turns out that it registers as:
MAPI.Session.1 with name = (Default) and Value = "CDO 1.21 Session Object"
I don't know much about the windows registry, but I found this strange, so I opened up CDO.dll in FoxPro's object browser. It opens with a library name of MAPI. The only listing under Classes is "Session". The only place "messages" appears is under the Interfaces menu.
I'm not quite sure what enums and interfaces are or how to access them.
Could this be the problem with CREATEOBJECT command?