Joseph
2004-Jun-09 00:42 UTC
[Rubyinstaller-announce] Re:Ruby Installer for Windows 1.8.1-13 Release Candidate 2
Hi Curt. you wrote: >>>> Win32ole is working much better than in the previous release, but it still has problems. <<<< I have a question regarding Win32ole. Does there exist a separate mailing list for Win32ole? How can I contact a Win32ole Guru? Specifically, I''m trying to display MS Window''s DataLink Wizard. In Visual C++ I could do the following: // IDataSourceLocatorPtr is defined In Oledb32.tlh IDataSourceLocatorPtr dlPrompt = NULL; // code fragment: try { // Instantiate DataLinks object. TESTHR(hr = dlPrompt.CreateInstance(__uuidof(DataLinks)) ); // Prompt for connection information. m_pConnection = dlPrompt->PromptNew(); } How I can do the equivalent in Ruby? Guessing my way throug it, I tried: dlPrompt = WIN32OLE.new(''Oledb32.DataSourceLocator'') But I get the following error message. HRESULT error code:0x800401f3 Invalid class string from (irb):2:in `initialize'' from (irb):2:in `new'' from (irb):2 TIA, Joseph
Curt Hibbs
2004-Jun-09 10:48 UTC
[Rubyinstaller-announce] Re:Ruby Installer for Windows 1.8.1-13Release Candidate 2
Joseph wrote:> > Hi Curt. > > you wrote: > >>>> > Win32ole is working much better than in the previous release, but > it still has problems. > <<<< > I have a question regarding Win32ole. Does there exist a separate > mailing list for Win32ole? How can I contact a Win32ole Guru?The RAA entry for Win32ole has an email link to the owner of the project: http://raa.ruby-lang.org/project/win32ole/ Curt