Article View: borland.public.cppbuilder.nativeapi
Article #13078Ole Type Msmatch error - Please help if you can
From: Maurice Anderson
Date: Sat, 25 Oct 2003 23:05
Date: Sat, 25 Oct 2003 23:05
9 lines
1362 bytes
1362 bytes
Hello I have succesfully setup and used WMI with class
Win32_NetworkAdapterConfiguration. I have ran quite a few functions such as
EnableDNS. When I try to execute function SetGateways, I get an error.
Can someone look over this function call and see if you see anything? I
know it should work cause like I said I have ran some other functions.
ret_code = (Variant(NetAdapter)).
Exec(Function("SetGateways") << ("10.0.0.8","10.0.0.9") <<
(1,2));
Technical Details
Message-ID:
<3f9b00ce@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,1a5d5a1a83f5ea8f,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-25 16:09:15 PST From: "Maurice Anderson" <mauriceanderson@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Ole Type Msmatch error - Please help if you can Date: Sat, 25 Oct 2003 16:05:01 -0700 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 64.30.203.223 Message-ID: <3f9b00ce@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067122894 64.30.203.223 (25 Oct 2003 16:01:34 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail