> ' We have the database so lets set the properties that we want.
> CompObject.Value("ConstructionEnabled") = True
> CompObject.Value("ConstructorString") = Chr(34) +
> "Provider=SQLOLEDB;Driver={SQL Server};User
> ID=momma;Password=;DATABASE=BigDog;SERVER=" & strServer & ";" + Chr(34)
> 
> Anyone heard of interacting directly with the MS COM+ API's via Perl or some
> Perl Module?  I struck out searching www.perl.com

use OLE;

$CompObject = OLE CreateObject("CompObject.Foo"); # I forget the
syntax...
$CompObject->{ConstructionEnabled} = 1;
$CompObject->{ConstructorString} = char(34) .
"Provider=SQLOLEDB;Driver={SQL
Server};UserID=momma;Password=;DATABASE=BigDog;SERVER=$strServer;" .
chr(34);


What do you mean by 'interacting directly with the COM+ API'? Do you
want to make raw calls to the DLL with Win32::API as opposed to using
the COM interface?
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to