; To:
>
>
>
> ("win32service", "advapi32 oleaut32 user32", True, 0x0501),
>
>
>
> And it should be skipped. You might need to do it to pythonservice.exetoo.
> Or just install the Vista SDK.
>
>
>
> Mark
>
>
>
> *From:* [EM
I also received this error message. I backed up to tag "b209" and everything
compiled o.k. Is this error below a known issue?
>
> On Mon, Feb 25, 2008 at 11:36 AM, Tom Wells <[EMAIL PROTECTED]> wrote:
>
> > Just tried to run a build, and getting the following errors:
> > C:\temp\pywin32>python set
In case it helps, here's the overall description of the COM/app and what how
this function fits: "COM_App" is a typelib (with multiple classes) for
interfacing to an application that controls hardware on a USB port. When
multiple applications are started it becomes impossible for users to write
cod
early comment from Mark
implies that theres NO way I can get the data to the COM without finding the
GUID defined as a VT_RECORD somewhere (which I thought I was getting close
with the OLE, but I guess not).
On Fri, Mar 14, 2008 at 7:32 PM, Tim Roberts <[EMAIL PROTECTED]> wrote:
to square one).
I'm starting to think it would be easiest to make my own dumb com server
JUST to be able to define the struct. But I'm all ears for better ideas :)
On Fri, Mar 14, 2008 at 6:36 PM, Kevin Patterson <[EMAIL PROTECTED]>
wrote:
> Sorry for so many posting here, b
Sorry for so many posting here, but on the off chance someone is curious and
looks in to this:
There's two issues I've found so far:
On Fri, Mar 14, 2008 at 2:44 PM, Kevin Patterson <[EMAIL PROTECTED]>
wrote:
> Does anyone have a working example (excel, outlook,
point.x = 0
point.y = 0
app.MoveTo(point)
On Thu, Mar 13, 2008 at 11:02 PM, Kevin Patterson <[EMAIL PROTECTED]>
wrote:
> Ok, more digging, it looks like the OLE Automation TypeLib should have a
> GUID Record defined. I see this when using the Python Object Browser
>
>
...Is
there suppose to be something in the generated file, but maybe its not
working ? How do I actually create one of these Records ?
On Tue, Mar 11, 2008 at 10:04 PM, Kevin Patterson <[EMAIL PROTECTED]>
wrote:
> I found the comtypes equivalent if that helps any. The generated comtypes
>
do my infastructure in
comtypes, so if anyone knows the win32com equivalent, that would be awesome.
In the meantime, I'll keep digging, and will post if I find more.
On Tue, Mar 11, 2008 at 12:58 PM, Kevin Patterson <[EMAIL PROTECTED]>
wrote:
> Old thread, but I got a little more
Old thread, but I got a little more data on the function. The function
actually has a REFIID as the first parameter. This apparently is a standard
structure for C COM code. I'm not entirely sure why the win32com changes
the REFIID to be a VT_RECORD. Does the following definition of the functions
h
> something like:
>
>
>
> >>> struct.unpack("ihh8s", buffer(pythoncom.IID_IUnknown))
>
> (0, 0, 0, '\xc0\x00\x00\x00\x00\x00\x00F')
>
>
>
> would be better if a string was necessary. Specifically, you would say:
>
>
>
>
ld be carried. If it
> was a simply array of bytes, then using 'buffer(guid)' will give you the raw
> bytes.
>
>
>
> Cheers,
>
>
>
> Mark
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Kevin Patterson
> *Sent:* Friday
I have a COM server that is expecting a GUID as an argument. The generated
makepy shows that the function is expecting a VT_RECORD. I cannot seem to
pass in the CLSID, I get the following:
TypeError: Only com_record objects can be used as records
I looked at the win32com.client.Record function, b
Once I've successfully called Dispatch and gotten an object back from the
COM server, is there a way to determine the path to the exe of the COM
server where I got the object from?
There are some other DLL's that are not COM servers in the same directory as
my COM server, and I'm looking for an ea
result = f(*args, **kwds)
return buffer2list( result )
new_f.func_name = f.func_name
return new_f
@filterin
@filterout
def myfunction(somearg1,somarg2):
pass
On 5/9/07, Kevin Patterson <[EMAIL PROTECTED]> wrote:
Alrighty, I'll keep looking in to it. I think it is easy to m
Alrighty, I'll keep looking in to it. I think it is easy to make the buffers
get returned as a python list. Almost all the code exists to help with that.
The tough part is telling the COM that the array being passed IN needs to
become a Safe Array where the size of each element is only VT_UI1. The
I was curious is there a way to prevent an array of VT_UI1's from being
converted to a buffer? Or perhaps a way to modify the file generated from
"makepy" to prevent the conversion?
I am working with a COM module that uses the VT_UI1 and ByRef for a LOT of
its input/output, but it's a bit of a pa
win32com is definitely treating it as a string (or byte buffer), but I
would have expected to get a byte buffer with the data for ALL the
elements. For example the array being returned should be 30x8 array,
but i get a string with a length of 30 instead of a string of length
30*8. Does the pythonco
e it says 'not supported'.
>
> Can you just give me a simple example as to how I can invoke the
> 'IMessenger' Interface and use a method such as 'GetContact'? I'm sure
> it'll benefit the whole pythonwin/MSN community immensely.(After over 4
> hours searc
I'm working with a COM module that is returning a 2D array as a
VARIANT BYREF. The 2D array is 30x8 (with each entry being 1 byte)
When the data is returned I'm getting a buffer of length 30. This
tells me that win32com only sees 1D of the array (documentation states
that the buffer is expected for
Have you tried the MSDN help on this COM Module? M...actually after looking through the docs, maybe its not a whole lot of help. I see a lot of "Not Currently Supported" statements. Well, here's the link anyway in case there's something there:
http://msdn.microsoft.com/library/default.asp?url="
21 matches
Mail list logo