469,602 Members | 1,823 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

makepy generates empty file

Hi

I am trying to use makepy to generate wrappers from *.tlb for examples
for GoogleDesktopSearch SDK
(http://desktop.google.com/downloadsdksubmit). However makepy generates
only very short __init__.py and no other files.
Unfortunately, I am quite new both to Python and COM and can hardly
guess what's wrong :(
Please, help.

Here is the contents of the generated __init__.py if it helps:

# -*- coding: mbcs -*-
# Created by makepy.py version 0.4.92
# By python version 2.4 (#60, Feb 9 2005, 19:03:27) [MSC v.1310 32 bit
(Intel)]
# From type library 'GoogleDesktopComponentSample1.dll'
# On Sat Apr 09 01:48:14 2005
"""GoogleDesktopComponentSample1 1.0 Type Library"""
makepy_version = '0.4.92'
python_version = 0x20400f0

import win32com.client.CLSIDToClass, pythoncom
import win32com.client.util
from pywintypes import IID
from win32com.client import Dispatch

# The following 3 lines may need tweaking for the particular server
# Candidates are pythoncom.Missing and pythoncom.Empty
defaultNamedOptArg=pythoncom.Empty
defaultNamedNotOptArg=pythoncom.Empty
defaultUnnamedArg=pythoncom.Empty

CLSID = IID('{3921D68F-6B14-4189-BA5D-2117A9DE67B6}')
MajorVersion = 1
MinorVersion = 0
LibraryFlags = 8
LCID = 0x0

RecordMap = {
}

CLSIDToClassMap = {}
CLSIDToPackageMap = {
'{95DA1281-AEB5-45A4-A71A-B2E57EA41E0F}' : 'IndexShortcut',
'{452FE2BF-D9C4-43FD-9137-78AE170C3EB3}' : 'IIndexShortcut',
}
VTablesToClassMap = {}
VTablesToPackageMap = {
'{452FE2BF-D9C4-43FD-9137-78AE170C3EB3}' : 'IIndexShortcut',
}
NamesToIIDMap = {
'IIndexShortcut' : '{452FE2BF-D9C4-43FD-9137-78AE170C3EB3}',
}

Jul 18 '05 #1
0 964

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Gerson Kurz | last post: by
1 post views Thread by Olaf Meding | last post: by
reply views Thread by Jim Kerr | last post: by
1 post views Thread by Martin Stettner | last post: by
2 posts views Thread by Alexander Eisenhuth | last post: by
1 post views Thread by Steve M | last post: by
reply views Thread by gregarican | last post: by
4 posts views Thread by suzhi18 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.