1. COM Objects ?

Does Euphoria support the use of COM objects ? Because it can call MS
Windows dynamic link libaries (DLLs) does it mean it can use COM objects
because they really is special DLLs.

Please provide me with an example.

Kind Regards,

 Lennie De Villiers

Email: ddevilliers at lando.co.za (Home)
       lennie at akura.co.za (Work)

Web: www.lando.co.za/Lennie
My CV: www.lando.co.za/Lennie/CV.htm

new topic     » topic index » view message » categorize

2. Re: COM Objects ?

I'm also having problems trying to interface with COM. The Classes are not
easy to access in Euphoria. But don't be discouraged Matt Lewis has
dedicated a lot to make COM interface possible in Euphoria.

Make sure u check out fptr.e.

TO Matt Lewis,
I am having problems running your DX example on my XP machine. Do you know
what is going wrong or have you experienced this before?

Sir LoJiK
----- Original Message -----
From: <ddevilliers at lando.co.za>
To: "EUforum" <EUforum at topica.com>
Sent: Wednesday, November 27, 2002 3:06 PM
Subject: COM Objects ?


>
> Does Euphoria support the use of COM objects ? Because it can call MS
> Windows dynamic link libaries (DLLs) does it mean it can use COM objects
> because they really is special DLLs.
>
> Please provide me with an example.
>
> Kind Regards,
>
>  Lennie De Villiers
>
> Email: ddevilliers at lando.co.za (Home)
>        lennie at akura.co.za (Work)
>
> Web: www.lando.co.za/Lennie
> My CV: www.lando.co.za/Lennie/CV.htm
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: COM Objects ?

Hard to say what's wrong.  I'm currently away from my machine, and I haven't
tried to run the DX on XP.  Can you tell me where it fails?

PS: Lennie, look for EuCOM in the user contributions, and let me know what
questions you have...

Matt Lewis


--- jordah at btopenworld.com wrote:
> 
> I'm also having problems trying to interface with COM. The Classes are not
> easy to access in Euphoria. But don't be discouraged Matt Lewis has
> dedicated a lot to make COM interface possible in Euphoria.
> 
> Make sure u check out fptr.e.
> 
> TO Matt Lewis,
> I am having problems running your DX example on my XP machine. Do you know
> what is going wrong or have you experienced this before?
> 
> Sir LoJiK
> ----- Original Message -----
> From: <ddevilliers at lando.co.za>
> To: "EUforum" <EUforum at topica.com>
> Sent: Wednesday, November 27, 2002 3:06 PM
> Subject: COM Objects ?
> 
> 
> > Does Euphoria support the use of COM objects ? Because it can call MS
> > Windows dynamic link libaries (DLLs) does it mean it can use COM objects
> > because they really is special DLLs.
> >
> > Please provide me with an example.
> >
> > Kind Regards,
> >
> >  Lennie De Villiers
> >
> > Email: ddevilliers at lando.co.za (Home)
> >        lennie at akura.co.za (Work)
> >
> > Web: www.lando.co.za/Lennie
> > My CV: www.lando.co.za/Lennie/CV.htm
> >
> >
> 
> 
>

new topic     » goto parent     » topic index » view message » categorize

4. Re: COM Objects ?

Hi Matt,
It says error couldnot create Device

C:\unzipped\dxdemo\DXDEMO.EXW:336
attempt to divide by 0

Global & Local Variables

 C:\EUPHORIA\include\machine.e:
    check_calls = 1

 C:\EUPHORIA\include\msgbox.e:
    lib = 2010382336
    msgbox_id = 0
    get_active_id = 1

 C:\EUPHORIA\include\file.e:
    SLASH = 92'\'
    my_dir = -2

 C:\EUPHORIA\include\get.e:
    input_file = <no value>
    input_string = {35'#',52'4',54'6'}
    string_next = 4
    ch = -1

 C:\EUPHORIA\include\graphics.e:
    BLUE = 1
    CYAN = 3
    RED = 4
    BROWN = 6
    BRIGHT_BLUE = 9
    BRIGHT_CYAN = 11
    BRIGHT_RED = 12
    YELLOW = 14

 C:\EUPHORIA\include\image.e:
    fn = <no value>
    error_code = <no value>
    numXPixels = <no value>
    numYPixels = <no value>
    bitCount = <no value>
    numRowBytes = <no value>
    startXPixel = <no value>
    startYPixel = <no value>
    endYPixel = <no value>

 C:\unzipped\dxdemo\tk_mem.e:
    vAbortRtn = 0
    vAllocations = 0
    vOwners = {}
    vSets = {}
    vAlloted = 0
    vHeap = 0
    mem_owners = {8986424}
    pPeekStringBufSize = 256

 C:\unzipped\dxdemo\win32lib.ew:
    VOID = 0
    vWinMainState = 2
    myId = {}
    myReturn = {}
    riCleanUp = 37'%'
    ri_getClientRect = 3
    riPause = -1
    riBreak = -1
    showWarnings = 1
    xUserCleanUp = -1
    vMsgsToIgnore = {}
    vAppName = {87'W',105'i',110'n',51'3',50'2',76'L',105'i',98'b',32' ',
65'A',112'p',112'p',87'W',105'i',110'n',100'd',111'o',119'w'}
    vw32Libraries = {{{1,2010382336},{117'u',115's',101'e',114'r',51'3',
50'2',46'.',100'd',108'l',108'l'}},{{1,2009530368},{103'g',100'd',105'i',
51'3',50'2',46'.',100'd',108'l',108'l'}},{{0,0},{119'w',105'i',110'n',
109'm',109'm',46'.',100'd',108'l',108'l'}},{{0,0},{99'c',111'o',109'm',
100'd',108'l',103'g',51'3',50'2',46'.',100'd',108'l',108'l'}},{{1,1999896576
},
{99'c',111'o',109'm',99'c',116't',108'l',51'3',50'2',46'.',100'd',108'l',
108'l'}},{{0,0},{107'k',101'e',114'r',110'n',101'e',108'l',51'3',50'2',
46'.',100'd',108'l',108'l'}},{{0,0},{115's',104'h',101'e',108'l',108'l',
51'3',50'2',46'.',100'd',108'l',108'l'}},{{1,1961033728},{{114'r',105'i',
99'c',104'h',101'e',100'd',50'2',48'0',46'.',100'd',108'l',108'l'},{114'r',
105'i',99'c',104'h',101'e',100'd',51'3',50'2',46'.',100'd',108'l',108'l'}}}}
    vw32Routines = {11,37'%',39''',{-1,{85'U',110'n',114'r',101'e',103'g',
105'i',115's',116't',101'e',114'r',67'C',108'l',97'a',115's',115's',65'A'},
{33554436,33554436},16777220},40'(',51'3',52'4',{-1,{83'S',101'e',116't',
70'F',111'o',114'r',101'e',103'g',114'r',111'o',117'u',110'n',100'd',
87'W',105'i',110'n',100'd',111'o',119'w'},{33554436},33554436},38'&',
{-1,{83'S',101'e',116't',67'C',117'u',114'r',115's',111'o',114'r'},{33554436
},
16777220},{-1,{83'S',101'e',116't',67'C',117'u',114'r',115's',111'o',
114'r',80'P',111'o',115's'},{16777220,16777220}},{-1,{109'm',111'o',117'u',
115's',101'e',95'_',101'e',118'v',101'e',110'n',116't'},{16777220,16777220,
16777220,16777220,16777220}},{-1,{83'S',104'h',111'o',119'w',67'C',117'u',
114'r',115's',111'o',114'r'},{16777220},16777220},{-1,{67'C',114'r',101'e',
97'a',116't',101'e',67'C',117'u',114'r',115's',111'o',114'r'},{33554436,
16777220,16777220,16777220,16777220,33554436,33554436},33554436},{-1,
{68'D',101'e',115's',116't',114'r',111'o',121'y',67'C',117'u',114'r',
115's',111'o',114'r'},{33554436},16777220},{-1,{71'G',101'e',116't',67'C',
108'l',97'a',115's',115's',76'L',111'o',110'n',103'g',65'A'},{33554436,
16777220},33554436},45'-',{-1,{80'P',101'e',101'e',107'k',77'M',101'e',
115's',115's',97'a',103'g',101'e',65'A'},{33554436,33554436,33554436,
33554436,33554436},16777220},57'9',58':',59';',47'/',54'6',{-1,{68'D',
114'r',97'a',119'w',84'T',101'e',120'x',116't',65'A'},{33554436,33554436,
16777220,33554436,33554436}},42'*',32' ',36'$',53'5',55'7',{-1,{71'G',
101'e',116't',85'U',112'p',100'd',97'a',116't',101'e',82'R',101'e',99'c',
116't'},{33554436,33554436,16777220},16777220},{-1,{71'G',101'e',116't',
85'U',112'p',100'd',97'a',116't',101'e',82'R',103'g',110'n'},{33554436,
33554436,16777220},16777220},{-1,{69'E',120'x',99'c',108'l',117'u',100'd',..
.
    vNextRtn = 238
    WC_RICHEDIT = {82'R',73'I',67'C',72'H',69'E',68'D',73'I',84'T',50'2',
48'0',65'A'}
    classes = 50'2'
    Screen = 1
    Printer = 2
    className = {{},{98'b',117'u',116't',116't',111'o',110'n'},{98'b',
117'u',116't',116't',111'o',110'n'},{98'b',117'u',116't',116't',111'o',
110'n'},{98'b',117'u',116't',116't',111'o',110'n'},{98'b',117'u',116't',
116't',111'o',110'n'},{98'b',117'u',116't',116't',111'o',110'n'},{108'l',
105'i',115's',116't',98'b',111'o',120'x'},{108'l',105'i',115's',116't',
98'b',111'o',120'x'},{99'c',111'o',109'm',98'b',111'o',98'b',111'o',120'x'},
{99'c',111'o',109'm',98'b',111'o',98'b',111'o',120'x'},{99'c',111'o',
109'm',98'b',111'o',98'b',111'o',120'x'},{99'c',111'o',109'm',98'b',111'o',
98'b',111'o',120'x'},{101'e',100'd',105'i',116't'},{101'e',100'd',105'i',
116't'},{115's',116't',97'a',116't',105'i',99'c'},{115's',116't',97'a',
116't',105'i',99'c'},{115's',116't',97'a',116't',105'i',99'c'},{115's',
99'c',114'r',111'o',108'l',108'l',98'b',97'a',114'r'},{115's',99'c',114'r',
111'o',108'l',108'l',98'b',97'a',114'r'},{115's',116't',97'a',116't',
105'i',99'c'},{115's',116't',97'a',116't',105'i',99'c'},{},{},{},{},{84'T',
111'o',111'o',108'l',98'b',97'a',114'r',87'W',105'i',110'n',100'd',111'o',
119'w',51'3',50'2'},{109'm',115's',99'c',116't',108'l',115's',95'_',115's',
116't',97'a',116't',117'u',115's',98'b',97'a',114'r',51'3',50'2'},{98'b',
117'u',116't',116't',111'o',110'n'},{98'b',117'u',116't',116't',111'o',
110'n'},{98'b',117'u',116't',116't',111'o',110'n'},{109'm',115's',99'c',
116't',108'l',115's',95'_',116't',114'r',97'a',99'c',107'k',98'b',97'a',
114'r',51'3',50'2'},{109'm',115's',99'c',116't',108'l',115's',95'_',116't',
114'r',97'a',99'c',107'k',98'b',97'a',114'r',51'3',50'2'},{83'S',121'y',
115's',84'T',97'a',98'b',67'C',111'o',110'n',116't',114'r',111'o',108'l',
51'3',50'2'},0,{109'm',115's',99'c',116't',108'l',115's',95'_',112'p',
114'r',111'o',103'g',114'r',101'e',115's',115's',51'3',50'2'},{83'S',...
    classType = {0,1,1,1,1,1,1,4,4,2,2,2,2,3,3,6,6,6,5,5,6,6,7,8,9,10,
11,11,1,1,1,11,11,11,0,11,11,0,11,11,11,11,11,0,11,11,1,11,0,0}
    classStyle = {13565952,1342242816,1342242817,1342242819,1342242822,
1342242825,1342177287,1352728577,1352728579,1344340482,1344340738,1342243331
,
1344340483,1350631552,1353777156,1342177280,1342177282,1342177281,1342242816
,
1342242817,1342177283,1342177294,0,0,0,0,1417674757,1409286147,1342242944,
1342246915,1342247043,1342242849,1342242851,1375797248,0,1342177280,13506314
88,
0,1350631424,1352769604,1350631424,1342177280,1451294752,0,1,1350633733,
1,1342243842,0,0}
    classStyleEx = {16,0,0,0,0,0,0,528,528,512,512,512,512,528,528,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,512,0,512,512,1,0,512,0,8,1,0,0,
0,0}
    classAttr = {1,0,0,0,0,0,1,1,1,1,1,1,1,0,8,0,0,0,0,0,0,0,2,2,2,2,3,
3,4,0,4,1,1,1,0,1,1,0,0,8,0,0,2,0,2,3,3,1,2,2}
    classBGColor = {14215660,14215660,14215660,14215660,14215660,14215660,
14215660,16777215,16777215,16777215,16777215,16777215,16777215,16777215,
16777215,14215660,14215660,14215660,14215660,14215660,14215660,14215660,
14215660,14215660,14215660,14215660,14215660,14215660,14215660,14215660,
14215660,14215660,14215660,14215660,14215660,14215660,16777215,14215660,
16777215,16777215,14215660,14215660,14215660,14215660,14215660,14215660,
14215660,16777215,14215660,14215660}
    vWindowClassStyle = {2,1}
    lv_id = {}
    lvitem_data = {}
    lvsort_column = {}
    il_id = <no value>
    icon_list = <no value>
    lv_allowsort = {}
    lvitem_owner = {}
    ilicon_list = {}
    ILlarge = 0
    ILsmall = 0
    tv_id = {}
    tvitem_data = {}
    tvitem_owner = {}
    tvitem_parent = {}
    tvitem_handle = {}
    himlFTBDefault = 0
    himlFTBHot = 0
    himlFTBDisabled = 0
    FTB_images = {}
    WndProcAddress = 11632256
    SubProcAddress = 11632360
    onMouse = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onClick = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onKeyPress = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onKeyUp = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onKeyDown = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onResize = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onChange = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onGotFocus = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onLostFocus = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1}
    onScroll = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onOpen = {-1,-1,38'&',-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onActivate = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onClose = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onDestroy = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onTimer = {-1,-1,39''',-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onPaint = {-1,-1,40'(',-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onDragAndDrop = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1}
    onEvent = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    mainWindow = 0
    modalWindow = 0
    modalStyle = 0
    modalDepth = 0
    modalhWnd = 0
    modalStack = {}
    paintDC = {}
    window_handle = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1}
    window_handle_type = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1}
    window_destroyed = {0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1}
    window_func = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1}
    window_class = {-1,-1,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1}
    window_type = {49'1',50'2',1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1}
    window_focus_order = {{},{},{},-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1}
    window_focus = {0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    window_owner = {0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    window_menu = {0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    window_toolbar = {0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1}
    window_statusbar = {0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1}
    window_tooltip = {{},{},{},-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1}
    window_font = {{{97'a',114'r',105'i',97'a',108'l'},10,0,0},{{97'a',
114'r',105'i',97'a',108'l'},10,0,0},{{},10,0,0},-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1}
    window_fcolor = {0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    window_bcolor = {14215660,14215660,14215660,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1}
    window_pen = {{0,0,0,13,1,1,14215660},{0,0,0,13,1,1,14215660},{0,0,
0,13,1,1,14215660},-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    window_x = {0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    window_y = {0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    window_scroll = {{1,10},{1,10},{1,10},-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1}
    window_range = {{0,100'd'},{0,100'd'},{0,100'd'},-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1}
    window_tabitems = {{},{},{},-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1}
    window_group = {{},{},{},-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1}
    window_cursor = {0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    window_hotkey_keys = {{},{},{},-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1}
    window_hotkey_ids = {{},{},{},-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1}
    window_textalign = {0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1}
    window_closed = {1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    window_tabenabled = {1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1}
    window_eventhandler = {{-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1},{-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1},{-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1},
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    window_bbrush = {0,0,705692955,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1}
    tooltipControl = 0
    transColor = 16711935
    DefaultFontID = 25821223
    heldResource = {}
    heldCursor = {}
    vFontWeight = 700
    vStockResources = {25821223,28311575,26214421,0,1,2,3,4,5,6,7,8,9,
10,11,12,13,14,15,16}
    i = 16
    printerDC = 0
    grabbedHDC = {671156278}
    vShowChars = 0
    stream = {}
    regCount = 2
    vEmptySlots = 16
    customColors = 8986304
    i = 63'?'
    vTabKeyCodes = {9}
    hintFontSize = 8
    hintFontAttrib = 0
    hintFontName = {77'M',83'S',32' ',83'S',97'a',110'n',115's',32' ',
83'S',101'e',114'r',105'i',102'f'}
    dragData = {}
    vLMB_id = {-1,-1,-1,-1}
    vMaxClickTime = 0.5
    vMaxClickXDelta = 3
    vMaxClickYDelta = 3
    ActiveEL = {}
    vEventsHandled = {512,513,516,514,517,515,518,5,7,8,256,258,257,273,
563,15,277,276,275,21,309,312,307,308,16,2,78'N',260,49397}
    vHandler = {18,18,18,18,18,18,18,19,20,21,22,22,22,23,24,25,26,26,
27,28,29,29,29,29,30,31,32' ',33'!',34'"'}
    msg28 = <no value>
    xpmErrFlag = <no value>
    transTuple = {255,0,255}
    pm = 0

 C:\unzipped\dxdemo\eucom.ew:
    guid_mset = 8986288
    errout = 3
    clsid_table = {{{53'5',56'8',51'3',53'5',54'6',67'C',53'5',68'D',45'-',
48'0',66'B',70'F',68'D',45'-',52'4',56'8',69'E',68'D',45'-',57'9',51'3',
67'C',53'5',45'-',70'F',52'4',53'5',50'2',48'0',66'B',54'6',50'2',51'3',
51'3',68'D',69'E'},{49'1',68'D',68'D',57'9',69'E',56'8',68'D',65'A',45'-',
49'1',67'C',55'7',55'7',45'-',52'4',68'D',52'4',48'0',45'-',66'B',48'0',
67'C',70'F',45'-',57'9',56'8',70'F',69'E',70'F',68'D',70'F',70'F',57'9',
53'5',49'1',50'2'},{55'7',51'3',56'8',53'5',69'E',52'4',68'D',70'F',45'-',
56'8',70'F',69'E',56'8',45'-',52'4',49'1',68'D',53'5',45'-',56'8',54'6',
66'B',54'6',45'-',68'D',55'7',66'B',52'4',56'8',53'5',52'4',55'7',66'B',
54'6',67'C',70'F'},{56'8',65'A',69'E',69'E',69'E',65'A',67'C',55'7',45'-',
48'0',53'5',70'F',57'9',45'-',52'4',52'4',68'D',52'4',45'-',66'B',53'5',
57'9',49'1',45'-',48'0',48'0',48'0',66'B',48'0',68'D',70'F',49'1',67'C',
66'B',57'9',53'5'},{69'E',55'7',70'F',70'F',49'1',51'3',48'0',48'0',45'-',
57'9',54'6',65'A',53'5',45'-',49'1',49'1',68'D',51'3',45'-',65'A',67'C',
56'8',53'5',45'-',48'0',48'0',67'C',48'0',52'4',70'F',67'C',50'2',67'C',
54'6',48'0',50'2'},{68'D',49'1',67'C',65'A',57'9',66'B',49'1',56'8',45'-',
57'9',69'E',68'D',50'2',45'-',52'4',51'3',66'B',53'5',45'-',56'8',55'7',
53'5',57'9',45'-',55'7',65'A',53'5',67'C',56'8',57'9',50'2',68'D',52'4',
67'C',53'5',67'C'}},{{93']',108'l',53'5',88'X',253,11,237,72'H',147,197,
244,82'R',11,98'b',51'3',222},{218,232,217,29,119'w',28,64'@',77'M',176,
207,152,254,253,255,149,18},{223,228,133,115's',232,143,213,65'A',134,
182,215,180,133,71'G',182,207},{199,234,238,138,249,5,212,68'D',181,145,
0,11,13,241,203,149},{0,19,255,231,165,150,211,17,172,133,0,192,79'O',
194,198,2},{24,155,202,209,210,158,181,67'C',135,89'Y',122'z',92'\',137,
45'-',76'L',92'\'}},{{1,2},{1,2},{1,2},{1,2},{1,2},{1,2}}}
    iid_table = {{{48'0',48'0',48'0',48'0',48'0',48'0',48'0',48'0',45'-',
48'0',48'0',48'0',48'0',45'-',48'0',48'0',48'0',48'0',45'-',67'C',48'0',
48'0',48'0',45'-',48'0',48'0',48'0',48'0',48'0',48'0',48'0',48'0',48'0',
48'0',52'4',54'6'},{48'0',48'0',48'0',50'2',48'0',52'4',48'0',48'0',45'-',
48'0',48'0',48'0',48'0',45'-',48'0',48'0',48'0',48'0',45'-',67'C',48'0',
48'0',48'0',45'-',48'0',48'0',48'0',48'0',48'0',48'0',48'0',48'0',48'0',
48'0',52'4',54'6'}},{{0,0,0,0,0,0,0,0,192,0,0,0,0,0,0,70'F'},{0,4,2,0,
0,0,0,0,192,0,0,0,0,0,0,70'F'}},{{1,2,3,4,5,6},{1,2,3,4,5,6}}}
    obj_table = {{},{},{},{}}
    IDispatch_ix = 2
    IID_NULL = 8986400
    com_cleanup = {}

 C:\unzipped\dxdemo\dx8.ew:
    D3DX8_m_AssembleShader = <no value>
    D3DX8_m_AssembleShaderFromFile = <no value>
    D3DX8_m_BoxBoundProbe = <no value>
    D3DX8_m_BufferGetBoneCombo = <no value>
    D3DX8_m_BufferGetBoneComboBoneIds = <no value>
    D3DX8_m_BufferGetBoneName = <no value>
    D3DX8_m_BufferGetData = <no value>
    D3DX8_m_BufferGetMaterial = <no value>
    D3DX8_m_BufferGetTextureName = <no value>
    D3DX8_m_BufferSetData = <no value>
    D3DX8_m_CheckCubeTextureRequirements = <no value>
    D3DX8_m_CheckTextureRequirements = <no value>
    D3DX8_m_CheckVolumeTextureRequirements = <no value>
    D3DX8_m_CleanMesh = <no value>
    D3DX8_m_ComputeBoundingBox = <no value>
    D3DX8_m_ComputeBoundingBoxFromMesh = <no value>
    D3DX8_m_ComputeBoundingSphere = <no value>
    D3DX8_m_ComputeBoundingSphereFromMesh = <no value>
    D3DX8_m_ComputeNormals = <no value>
    D3DX8_m_CreateBox = <no value>
    D3DX8_m_CreateBuffer = <no value>
    D3DX8_m_CreateCubeTexture = <no value>
    D3DX8_m_CreateCubeTextureFromFile = <no value>
    D3DX8_m_CreateCubeTextureFromFileEx = <no value>
    D3DX8_m_CreateCubeTextureFromFileInMemory = <no value>
    D3DX8_m_CreateCubeTextureFromFileInMemoryEx = <no value>
    D3DX8_m_CreateCylinder = <no value>
    D3DX8_m_CreateFont = <no value>
    D3DX8_m_CreateMesh = <no value>
    D3DX8_m_CreateMeshFVF = <no value>
    D3DX8_m_CreatePolygon = <no value>
    D3DX8_m_CreateRenderToSurface = <no value>
    D3DX8_m_CreateSkinMesh = <no value>
    D3DX8_m_CreateSkinMeshFromMesh = <no value>
    D3DX8_m_CreateSkinMeshFVF = <no value>
    D3DX8_m_CreateSphere = <no value>
    D3DX8_m_CreateSPMesh = <no value>
    D3DX8_m_CreateSprite = <no value>
    D3DX8_m_CreateTeapot = <no value>
    D3DX8_m_CreateText = <no value>
    D3DX8_m_CreateTexture = <no value>
    D3DX8_m_CreateTextureFromFile = <no value>
    D3DX8_m_CreateTextureFromFileEx = <no value>
    D3DX8_m_CreateTextureFromFileInMemory = <no value>
    D3DX8_m_CreateTextureFromFileInMemoryEx = <no value>
    D3DX8_m_CreateTextureFromResource = <no value>
    D3DX8_m_CreateTextureFromResourceEx = <no value>
    D3DX8_m_CreateTorus = <no value>
    D3DX8_m_CreateVolumeTexture = <no value>
    D3DX8_m_DeclaratorFromFVF = <no value>
    D3DX8_m_DrawText = <no value>
    D3DX8_m_FilterCubeTexture = <no value>
    D3DX8_m_FilterTexture = <no value>
    D3DX8_m_FilterVolumeTexture = <no value>
    D3DX8_m_FVFFromDeclarator = <no value>
    D3DX8_m_GeneratePMesh = <no value>
    D3DX8_m_GetErrorString = <no value>
    D3DX8_m_GetFVFVertexSize = <no value>
    D3DX8_m_Intersect = <no value>
    D3DX8_m_LoadMeshFromX = <no value>
    D3DX8_m_LoadMeshFromXof = <no value>
    D3DX8_m_LoadPMeshFromFile = <no value>
    D3DX8_m_LoadSkinMeshFromXof = <no value>
    D3DX8_m_LoadSurfaceFromFile = <no value>
    D3DX8_m_LoadSurfaceFromFileInMemory = <no value>
    D3DX8_m_LoadSurfaceFromMemory = <no value>
    D3DX8_m_LoadSurfaceFromResource = <no value>
    D3DX8_m_LoadSurfaceFromSurface = <no value>
    D3DX8_m_LoadVolumeFromMemory = <no value>
    D3DX8_m_LoadVolumeFromVolume = <no value>
    D3DX8_m_SaveMeshToX = <no value>
    D3DX8_m_SavePMeshToFile = <no value>
    D3DX8_m_SimplifyMesh = <no value>
    D3DX8_m_SphereBoundProbe = <no value>
    D3DX8_m_TesselateMesh = <no value>
    D3DX8_m_ValidMesh = <no value>
    init_D3DX8_flag = 0
    Direct3D8_m_CheckDepthStencilMatch = <no value>
    Direct3D8_m_CheckDeviceFormat = <no value>
    Direct3D8_m_CheckDeviceMultiSampleType = <no value>
    Direct3D8_m_CheckDeviceType = <no value>
    Direct3D8_m_CreateDevice = <no value>
    Direct3D8_m_EnumAdapterModes = <no value>
    Direct3D8_m_GetAdapterCount = <no value>
    Direct3D8_m_GetAdapterDisplayMode = <no value>
    Direct3D8_m_GetAdapterIdentifier = <no value>
    Direct3D8_m_GetAdapterModeCount = <no value>
    Direct3D8_m_GetAdapterMonitor = <no value>
    Direct3D8_m_GetDeviceCaps = <no value>
    Direct3D8_m_RegisterSoftwareDevice = <no value>
    init_Direct3D8_flag = 0
    Direct3DDevice8_m_ApplyStateBlock = <no value>
    Direct3DDevice8_m_BeginScene = <no value>
    Direct3DDevice8_m_BeginStateBlock = <no value>
    Direct3DDevice8_m_CaptureStateBlock = <no value>
    Direct3DDevice8_m_Clear = <no value>
    Direct3DDevice8_m_CopyRects = <no value>
    Direct3DDevice8_m_CreateAdditionalSwapChain = <no value>
    Direct3DDevice8_m_CreateCubeTexture = <no value>
    Direct3DDevice8_m_CreateDepthStencilSurface = <no value>
    Direct3DDevice8_m_CreateImageSurface = <no value>
    Direct3DDevice8_m_CreateIndexBuffer = <no value>
    Direct3DDevice8_m_CreatePixelShader = <no value>
    Direct3DDevice8_m_CreateRenderTarget = <no value>
    Direct3DDevice8_m_CreateStateBlock = <no value>
    Direct3DDevice8_m_CreateTexture = <no value>
    Direct3DDevice8_m_CreateVertexBuffer = <no value>
    Direct3DDevice8_m_CreateVertexShader = <no value>
    Direct3DDevice8_m_CreateVolumeTexture = <no value>
    Direct3DDevice8_m_DeletePatch = <no value>
    Direct3DDevice8_m_DeletePixelShader = <no value>
    Direct3DDevice8_m_DeleteStateBlock = <no value>
    Direct3DDevice8_m_DeleteVertexShader = <no value>
    Direct3DDevice8_m_DrawIndexedPrimitive = <no value>
    Direct3DDevice8_m_DrawIndexedPrimitiveUP = <no value>
    Direct3DDevice8_m_DrawPrimitive = <no value>
    Direct3DDevice8_m_DrawPrimitiveUP = <no value>
    Direct3DDevice8_m_DrawRectPatch = <no value>
    Direct3DDevice8_m_DrawTriPatch = <no value>
    Direct3DDevice8_m_EndScene = <no value>
    Direct3DDevice8_m_EndStateBlock = <no value>
    Direct3DDevice8_m_GetAvailableTextureMem = <no value>
    Direct3DDevice8_m_GetBackBuffer = <no value>
    Direct3DDevice8_m_GetClipPlane = <no value>
    Direct3DDevice8_m_GetClipStatus = <no value>
    Direct3DDevice8_m_GetCreationParameters = <no value>
    Direct3DDevice8_m_GetCurrentTexturePalette = <no value>
    Direct3DDevice8_m_GetDepthStencilSurface = <no value>
    Direct3DDevice8_m_GetDeviceCaps = <no value>
    Direct3DDevice8_m_GetDirect3D = <no value>
    Direct3DDevice8_m_GetDisplayMode = <no value>
    Direct3DDevice8_m_GetFrontBuffer = <no value>
    Direct3DDevice8_m_GetGammaRamp = <no value>
    Direct3DDevice8_m_GetIndices = <no value>
    Direct3DDevice8_m_GetInfo = <no value>
    Direct3DDevice8_m_GetLight = <no value>
    Direct3DDevice8_m_GetLightEnable = <no value>
    Direct3DDevice8_m_GetMaterial = <no value>
    Direct3DDevice8_m_GetPaletteEntries = <no value>
    Direct3DDevice8_m_GetPixelShader = <no value>
    Direct3DDevice8_m_GetPixelShaderConstant = <no value>
    Direct3DDevice8_m_GetPixelShaderFunction = <no value>
    Direct3DDevice8_m_GetRasterStatus = <no value>
    Direct3DDevice8_m_GetRenderState = <no value>
    Direct3DDevice8_m_GetRenderTarget = <no value>
    Direct3DDevice8_m_GetStreamSource = <no value>
    Direct3DDevice8_m_GetTexture = <no value>
    Direct3DDevice8_m_GetTextureStageState = <no value>
    Direct3DDevice8_m_GetTransform = <no value>
    Direct3DDevice8_m_GetVertexShader = <no value>
    Direct3DDevice8_m_GetVertexShaderConstant = <no value>
    Direct3DDevice8_m_GetVertexShaderDeclaration = <no value>
    Direct3DDevice8_m_GetVertexShaderFunction = <no value>
    Direct3DDevice8_m_GetViewport = <no value>
    Direct3DDevice8_m_LightEnable = <no value>
    Direct3DDevice8_m_MultiplyTransform = <no value>
    Direct3DDevice8_m_Present = <no value>
    Direct3DDevice8_m_ProcessVertices = <no value>
    Direct3DDevice8_m_Reset = <no value>
    Direct3DDevice8_m_ResourceManagerDiscardBytes = <no value>
    Direct3DDevice8_m_SetClipPlane = <no value>
    Direct3DDevice8_m_SetClipStatus = <no value>
    Direct3DDevice8_m_SetCurrentTexturePalette = <no value>
    Direct3DDevice8_m_SetCursorPosition = <no value>
    Direct3DDevice8_m_SetCursorProperties = <no value>
    Direct3DDevice8_m_SetGammaRamp = <no value>
    Direct3DDevice8_m_SetIndices = <no value>
    Direct3DDevice8_m_SetLight = <no value>
    Direct3DDevice8_m_SetMaterial = <no value>
    Direct3DDevice8_m_SetPaletteEntries = <no value>
    Direct3DDevice8_m_SetPixelShader = <no value>
    Direct3DDevice8_m_SetPixelShaderConstant = <no value>
    Direct3DDevice8_m_SetRenderState = <no value>
    Direct3DDevice8_m_SetRenderTarget = <no value>
    Direct3DDevice8_m_SetStreamSource = <no value>
    Direct3DDevice8_m_SetTexture = <no value>
    Direct3DDevice8_m_SetTextureStageState = <no value>
    Direct3DDevice8_m_SetTransform = <no value>
    Direct3DDevice8_m_SetVertexShader = <no value>
    Direct3DDevice8_m_SetVertexShaderConstant = <no value>
    Direct3DDevice8_m_SetViewport = <no value>
    Direct3DDevice8_m_ShowCursor = <no value>
    Direct3DDevice8_m_TestCooperativeLevel = <no value>
    Direct3DDevice8_m_UpdateTexture = <no value>
    Direct3DDevice8_m_ValidateDevice = <no value>
    init_Direct3DDevice8_flag = 0
    Direct3DVertexBuffer8_m_FreePrivateData = <no value>
    Direct3DVertexBuffer8_m_GetDesc = <no value>
    Direct3DVertexBuffer8_m_GetDevice = <no value>
    Direct3DVertexBuffer8_m_GetPriority = <no value>
    Direct3DVertexBuffer8_m_GetPrivateData = <no value>
    Direct3DVertexBuffer8_m_GetType = <no value>
    Direct3DVertexBuffer8_m_Lock = <no value>
    Direct3DVertexBuffer8_m_PreLoad = <no value>
    Direct3DVertexBuffer8_m_SetPriority = <no value>
    Direct3DVertexBuffer8_m_SetPrivateData = <no value>
    Direct3DVertexBuffer8_m_Unlock = <no value>
    init_Direct3DVertexBuffer8_flag = 0
    DirectX8_m_CreateEvent = <no value>
    DirectX8_m_CreateNewGuid = <no value>
    DirectX8_m_DestroyEvent = <no value>
    DirectX8_m_Direct3DCreate = <no value>
    DirectX8_m_DirectInputCreate = <no value>
    DirectX8_m_DirectMusicComposerCreate = <no value>
    DirectX8_m_DirectMusicLoaderCreate = <no value>
    DirectX8_m_DirectMusicPerformanceCreate = <no value>
    DirectX8_m_DirectPlayAddressCreate = <no value>
    DirectX8_m_DirectPlayClientCreate = <no value>
    DirectX8_m_DirectPlayLobbiedApplicationCreate = <no value>
    DirectX8_m_DirectPlayLobbyClientCreate = <no value>
    DirectX8_m_DirectPlayPeerCreate = <no value>
    DirectX8_m_DirectPlayServerCreate = <no value>
    DirectX8_m_DirectPlayVoiceClientCreate = <no value>
    DirectX8_m_DirectPlayVoiceServerCreate = <no value>
    DirectX8_m_DirectPlayVoiceTestCreate = <no value>
    DirectX8_m_DirectSoundCaptureCreate = <no value>
    DirectX8_m_DirectSoundCreate = <no value>
    DirectX8_m_DirectXFileCreate = <no value>
    DirectX8_m_GetDSCaptureEnum = <no value>
    DirectX8_m_GetDSEnum = <no value>
    DirectX8_m_SetEvent = <no value>
    init_DirectX8_flag = 0
    DirectXEvent8_m_DXCallback = <no value>
    init_DirectXEvent8_flag = 0

 C:\unzipped\dxdemo\DXDEMO.EXW:
    frames = 0
    t1 = 0
    direct3d8 = 620896
    d_vtbl = 1838859392
    void = 2289436780
    d3dadapter = 8986800
    device = 0
    device_vtbl = <no value>
    vertbuf = 0
    vb = <no value>
    vb_vtbl = <no value>
    ppv = <no value>
    verts = {{-1,-1,0,255},{1,-1,0,65280},{0,1,0,16711680}}
    rad = 0
    pi8 = 0.3926990817
    matWorld = 8986680
    matView = 8986608
    matProj = 8986536
    vecView = {8986512,8986752,8986776}
    i = 3


Traced lines leading up to the failure:

C:\unzipped\dxdemo\tk_mem.e:139     if c_func(xHeapFree,{ vHeap, 0,
pAddress}) = 0 then
C:\unzipped\dxdemo\tk_mem.e:143     vAllocations -= 1
C:\unzipped\dxdemo\tk_mem.e:145     if vAllocations = 0 then
C:\unzipped\dxdemo\tk_mem.e:150 end procedure
C:\unzipped\dxdemo\tk_mem.e:390         return
C:\unzipped\dxdemo\win32lib.ew:20707     ActiveEL = ActiveEL[ 1 ..
length(ActiveEL) - 1]
C:\unzipped\dxdemo\win32lib.ew:20709 end procedure
C:\unzipped\dxdemo\win32lib.ew:20838     releaseAllResources()
C:\unzipped\dxdemo\win32lib.ew:7424     held = heldResource
C:\unzipped\dxdemo\win32lib.ew:7427     for i = 1 to length( held ) do
C:\unzipped\dxdemo\win32lib.ew:7433     for i = 1 to length( heldCursor ) do
C:\unzipped\dxdemo\win32lib.ew:7437     heldCursor = {}
C:\unzipped\dxdemo\win32lib.ew:7440     release_all_mem()
C:\unzipped\dxdemo\tk_mem.e:473     if vHeap then
C:\unzipped\dxdemo\tk_mem.e:475     VOID = c_func(xHeapDestroy,{ vHeap })
C:\unzipped\dxdemo\tk_mem.e:478         vSets = {}
C:\unzipped\dxdemo\tk_mem.e:479         vOwners = {}
C:\unzipped\dxdemo\tk_mem.e:480         vHeap = 0
C:\unzipped\dxdemo\tk_mem.e:481         vAllocations = 0
C:\unzipped\dxdemo\tk_mem.e:482         vAlloted = 0
C:\unzipped\dxdemo\tk_mem.e:485 end procedure
C:\unzipped\dxdemo\win32lib.ew:7442     vWinMainState = kFinished
C:\unzipped\dxdemo\win32lib.ew:7444 end procedure
C:\unzipped\dxdemo\win32lib.ew:20839 end procedure
C:\unzipped\dxdemo\DXDEMO.EXW:336 printf(1,"FPS: %0.2f\n", frames/t1)


----- Original Message -----
From: "Matthew Lewis" <matthewwalkerlewis at YAHOO.COM>
To: "EUforum" <EUforum at topica.com>
Sent: Wednesday, November 27, 2002 8:50 PM
Subject: Re: COM Objects ?


>
>
> Hard to say what's wrong.  I'm currently away from my machine, and I
haven't
> tried to run the DX on XP.  Can you tell me where it fails?
>
> PS: Lennie, look for EuCOM in the user contributions, and let me know what
> questions you have...
>
> Matt Lewis
>
>
> --- jordah at btopenworld.com wrote:
> >
> > I'm also having problems trying to interface with COM. The Classes are
not
> > easy to access in Euphoria. But don't be discouraged Matt Lewis has
> > dedicated a lot to make COM interface possible in Euphoria.
> >
> > Make sure u check out fptr.e.
> >
> > TO Matt Lewis,
> > I am having problems running your DX example on my XP machine. Do you
know
> > what is going wrong or have you experienced this before?
> >
> > Sir LoJiK
> > ----- Original Message -----
> > From: <ddevilliers at lando.co.za>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Wednesday, November 27, 2002 3:06 PM
> > Subject: COM Objects ?
> >
> >
> > > Does Euphoria support the use of COM objects ? Because it can call MS
> > > Windows dynamic link libaries (DLLs) does it mean it can use COM
objects
> > > because they really is special DLLs.
> > >
> > > Please provide me with an example.
> > >
> > > Kind Regards,
> > >
> > >  Lennie De Villiers
> > >
> > > Email: ddevilliers at lando.co.za (Home)
> > >        lennie at akura.co.za (Work)
> > >
> > > Web: www.lando.co.za/Lennie
> > > My CV: www.lando.co.za/Lennie/CV.htm
> > >
> > >
>
>
>

new topic     » goto parent     » topic index » view message » categorize

5. Re: COM Objects ?

Off the top of my head, I can think of two reasons why this would happen.  Are
you sure you have DX8.0/8.1 installed?  I also think I read somewhere that 8.1
no longer supports software accelleration or calculation or whatever--you have
to have a 3D video card.  I'll have to take a look at it next week...

--- jordah at btopenworld.com wrote:
> 
> Hi Matt,
> It says error couldnot create Device
> 
> C:\unzipped\dxdemo\DXDEMO.EXW:336
> attempt to divide by 0

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu