Results 1 to 10 of 10

Thread: ActiveX ? problems on a more powerful computer,Playsound and sendMCIstring functions

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    You should always try and compile on the more powerful machine, these 2000 files will have some differnet calls in, while keeping backward comp-atibility with older OS's such as 95.
    Doing it the other way round looses the functionality.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  2. #2
    New Member
    Join Date
    Jan 2002
    Posts
    11
    I tried to compile on a higher version of operating system..This would not work..

    By doing some research , I have found others that had this problem with ActiveX dll's...Still no answers yet..
    Last edited by ibolink; Jan 9th, 2002 at 03:51 PM.

  3. #3

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    • I take it you did use the P&D wizard for this (not mentioned abouve & forgive me if it's obvious, but I've seen posts like this in the past where the user just copied files over & this'll cause it).
    • What component / add in do you use in your app to play the sound files, or do you call on the default player for them ?

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  4. #4
    New Member
    Join Date
    Jan 2002
    Posts
    11
    That's ok, assume I don't know what I am doing..I am known for missing the obvious. Do I need to do a P&D just to use code from
    machine to another? This is what I did:

    I developed the code on a Win95 machine. I then installed VB6 sp5 on a Windows 2000 machine. I wanted to continue developing on the W2k machine. I copied my code to this machine and that's when all the trouble began. I have ran this on 4 Windows 2000 machines..All have failed on the same line of code. I am sure that it is related to the Playsound Function and the Mcisendstring functions because when I REM those lines out, no errors. I am playing wavs and avi's. Those functions should be compatible to Windows 2000. I will post the dump file.

  5. #5
    New Member
    Join Date
    Jan 2002
    Posts
    11
    Here is the dump:
    Application exception occurred:
    App: VB6.exe (pid=376)
    When: 1/9/2002 @ 22:01:00.943
    Exception number: c0000005 (access violation)
    *----> System Information <----*
    Computer Name: CDS-F0L4CMTIW2A
    User Name: Administrator
    Number of Processors: 1
    Processor Type: x86 Family 5 Model 8 Stepping 12
    Windows 2000 Version: 5.0
    Current Build: 2195
    Service Pack: 2
    Current Type: Uniprocessor Free
    Registered Organization:
    Registered Owner: cds
    *----> Task List <----*
    0 Idle.exe
    8 System.exe
    140 smss.exe
    168 csrss.exe
    164 winlogon.exe
    216 services.exe
    228 lsass.exe
    392 svchost.exe
    420 spoolsv.exe
    452 svchost.exe
    492 regsvc.exe
    508 MSTask.exe
    680 Explorer.exe
    376 VB6.exe
    768 drwtsn32.exe
    0 _Total.exe

    (00400000 - 005CC000)
    (77F80000 - 77FFB000)
    (0FA90000 - 0FC33000)
    (77A50000 - 77B46000)
    (77D40000 - 77DB0000)
    (77E80000 - 77F35000)
    (77DB0000 - 77E0B000)
    (77F40000 - 77F7C000)
    (77E10000 - 77E74000)
    (779B0000 - 77A4B000)
    (0F6F0000 - 0F7FC000)
    (775A0000 - 77625000)
    (78000000 - 78046000)
    (306C0000 - 30A4A000)
    (77B50000 - 77BD9000)
    (279E0000 - 27A68000)
    (6A9D0000 - 6AB22000)
    (27580000 - 27685000)
    (76B30000 - 76B6E000)
    (77C70000 - 77CBA000)
    (782F0000 - 78532000)
    (217A0000 - 217C3000)
    (50760000 - 50772000)
    (10000000 - 101F4000)
    (24D90000 - 24DA5000)
    (73310000 - 7331A000)
    (77840000 - 7787C000)
    (770C0000 - 770E3000)
    (76FA0000 - 76FAF000)
    (773E0000 - 773F2000)
    (75170000 - 751BF000)
    (77BE0000 - 77BEF000)
    (751C0000 - 751C6000)
    (75150000 - 75160000)
    (75030000 - 75043000)
    (75020000 - 75028000)
    (77950000 - 77979000)
    (77980000 - 779A4000)
    (75050000 - 75058000)
    (11000000 - 14EDC000)
    (77570000 - 775A0000)
    (681A0000 - 681A7000)
    (66740000 - 66747000)
    (77560000 - 77569000)

    State Dump for Thread Id 0x134

    eax=00002000 ebx=02353f90 ecx=00000380 edx=000eee00 esi=001ea118 edi=03ae0000
    eip=77a8977f esp=0012eee0 ebp=0012f014 iopl=0 nv up ei pl nz ac po nc
    cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010216


    function: WriteClassStg
    77a89760 85c0 test eax,eax
    77a89762 0f849e000000 je WriteClassStg+0x876 (77a89806)
    77a89768 8365fc00 and dword ptr [ebp+0xfc],0x0 ss:00bac5e6=????????
    77a8976c 8b4d14 mov ecx,[ebp+0x14] ss:00bac5e6=????????
    77a8976f 8b7510 mov esi,[ebp+0x10] ss:00bac5e6=????????
    77a89772 8b7b5c mov edi,[ebx+0x5c] ds:02dd1562=????????
    77a89775 8b5508 mov edx,[ebp+0x8] ss:00bac5e6=????????
    77a89778 03fa add edi,edx
    77a8977a 8bc1 mov eax,ecx
    77a8977c c1e902 shr ecx,0x2
    77a8977f f3a5 rep movsd ds:001ea118=6d2bc789 es:03ae0000=00000000
    77a89781 8bc8 mov ecx,eax
    77a89783 83e103 and ecx,0x3
    77a89786 f3a4 rep movsb ds:001ea118=89 es:03ae0000=00
    77a89788 834dfcff or dword ptr [ebp+0xfc],0xff ss:00bac5e6=????????
    77a8978c 8bc8 mov ecx,eax
    77a8978e 8b4518 mov eax,[ebp+0x18] ss:00bac5e6=????????
    77a89791 8908 mov [eax],ecx ds:00002000=????????
    77a89793 33f6 xor esi,esi
    77a89795 39731c cmp [ebx+0x1c],esi ds:02dd1562=????????
    77a89798 0f8423110300 je CoCopyProxy+0x508d (77aba8c1)
    77a8979e 64a118000000 mov eax,fs:[00000018] fs:00000018=????????

    *----> Stack Back Trace <----*

    FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
    0012F014 77A898D4 000EEE00 00000000 001E8F18 00002000 ole32!WriteClassStg
    0012F03C 77A81052 02353F90 000EEE00 00000000 001E8F18 ole32!WriteClassStg
    0012F24C 77A80DED 00000000 000000C0 00016000 00000000 ole32!CoFreeAllLibraries
    0012F284 77A803BE 00016000 00000000 001E8F18 00002000 ole32!CoFreeAllLibraries
    0012F2A0 77A80389 00016000 00000000 001E8F18 00002000 ole32!CoFreeAllLibraries
    0012F2C4 77A8023B 00016000 00000000 001E8F18 00002000 ole32!CoFreeAllLibraries
    0012F30C 779F7D46 00000000 001E8F18 00002000 00000000 ole32!CoFreeAllLibraries
    0005217E 00000000 00000000 00000000 00000000 00000000 oleaut32!OleSavePictureFile

    *----> Raw Stack Dump <----*
    0012eee0 00 20 00 00 b0 33 35 02 - 00 ee 0e 00 b8 ec 12 00 . ...35.........
    0012eef0 00 00 00 00 50 ef 12 00 - 80 ee 12 00 50 ef 12 00 ....P.......P...
    0012ef00 50 ef 12 00 a7 9d fb 77 - 90 26 f8 77 ff ff ff ff P......w.&.w....
    0012ef10 60 ef 12 00 3d b4 e8 77 - 00 00 13 00 00 00 00 00 `...=..w........
    0012ef20 d8 a4 13 00 d0 f1 12 00 - 10 00 00 00 01 00 00 00 ................
    0012ef30 00 10 00 00 00 e0 fd 7f - 20 70 00 00 00 00 40 00 ........ p....@.
    0012ef40 00 00 00 00 d8 a4 13 00 - 47 82 e1 77 60 ef 12 00 ........G..w`...
    0012ef50 70 ef 12 00 2c f4 12 00 - d0 f1 12 00 2c f4 12 00 p...,.......,...
    0012ef60 6a 00 6c 00 d0 f1 12 00 - 60 ef 12 00 00 00 00 00 j.l.....`.......
    0012ef70 54 ed 12 00 a4 ef 12 00 - 1d f8 e1 77 00 00 40 00 T..........w..@.
    0012ef80 b1 04 00 00 e8 59 f4 77 - 01 00 00 00 18 03 00 00 .....Y.w........
    0012ef90 00 40 00 00 b0 ef 12 00 - 07 37 f4 77 18 03 05 02 [email protected]....
    0012efa0 10 00 00 00 1f 36 f4 77 - 01 00 00 00 ec 35 35 02 .....6.w.....55.
    0012efb0 e4 ef 12 00 80 f0 12 00 - cc ef 12 00 70 f0 a7 77 ............p..w
    0012efc0 0d 00 00 00 ff ff ff ff - ec 35 35 02 14 f0 12 00 .........55.....
    0012efd0 72 20 a8 77 e4 ef 12 00 - 01 00 00 00 78 f0 12 00 r .w........x...
    0012efe0 9f 00 00 00 64 07 00 00 - 11 00 00 00 02 00 00 00 ....d...........
    0012eff0 b0 00 00 00 76 07 00 00 - 10 00 00 00 e0 ee 12 00 ....v...........
    0012f000 90 3f 35 02 78 f5 12 00 - 57 b9 b1 77 e0 98 a8 77 .?5.x...W..w...w
    0012f010 00 00 00 00 3c f0 12 00 - d4 98 a8 77 00 ee 0e 00 ....<......w....

    State Dump for Thread Id 0x2b4

    eax=0fa9168c ebx=00000000 ecx=00000000 edx=00000000 esi=77f82226 edi=016fff98
    eip=77f82231 esp=016fff84 ebp=016fffa0 iopl=0 nv up ei pl nz na pe nc
    cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000202


    function: ZwDelayExecution
    77f82226 b832000000 mov eax,0x32
    77f8222b 8d542404 lea edx,[esp+0x4] ss:0217d557=????????
    77f8222f cd2e int 2e
    77f82231 c20800 ret 0x8

    *----> Stack Back Trace <----*

    FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
    016FFFA0 77E86784 00000064 00000000 0FA91694 00000064 ntdll!ZwDelayExecution
    016FFFEC 00000000 0FA9168C 00000000 00000000 10901090 kernel32!Sleep

    *----> Raw Stack Dump <----*
    016fff84 b0 67 e8 77 00 00 00 00 - 98 ff 6f 01 00 00 00 00 .g.w......o.....
    016fff94 00 00 00 00 c0 bd f0 ff - ff ff ff ff ec ff 6f 01 ..............o.
    016fffa4 84 67 e8 77 64 00 00 00 - 00 00 00 00 94 16 a9 0f .g.wd...........
    016fffb4 64 00 00 00 8a 75 e8 77 - 00 00 00 00 00 00 00 00 d....u.w........
    016fffc4 00 00 00 00 00 00 00 00 - 00 d0 fd 7f 00 00 00 00 ................
    016fffd4 c0 ff 6f 01 00 00 00 00 - ff ff ff ff 5b 61 e8 77 ..o.........[a.w
    016fffe4 80 b5 e8 77 00 00 00 00 - 00 00 00 00 00 00 00 00 ...w............
    016ffff4 8c 16 a9 0f 00 00 00 00 - 00 00 00 00 90 10 90 10 ................
    01700004 00 20 ff 03 01 00 00 00 - 20 00 00 00 ff ff ff ff . ...... .......
    01700014 ff ff ff ff 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    01700024 00 00 00 00 00 00 00 00 - f7 03 00 00 10 00 00 00 ................
    01700034 18 1c 6c 30 01 00 00 00 - 00 00 00 00 00 00 00 00 ..l0............
    01700044 20 00 00 00 e4 00 00 00 - e8 00 00 00 00 00 00 00 ...............
    01700054 00 00 3e 58 00 00 3e 58 - 00 00 00 00 81 07 00 00 ..>X..>X........
    01700064 fc 03 00 00 18 00 00 00 - 00 00 00 00 01 00 00 00 ................
    01700074 81 07 00 00 00 00 00 00 - 00 00 3e 58 34 00 70 01 ..........>X4.p.
    01700084 20 00 00 00 f0 00 00 00 - f4 00 00 00 00 00 00 00 ...............
    01700094 00 00 60 57 00 00 60 57 - 48 00 70 01 f0 07 00 00 ..`W..`WH.p.....
    017000a4 fb 03 00 00 18 00 00 00 - 6c 00 70 01 01 00 00 00 ........l.p.....
    017000b4 f0 07 00 00 00 00 00 00 - 00 00 60 57 34 00 70 01 ..........`W4.p.

    State Dump for Thread Id 0x100

    eax=77d50c62 ebx=00147648 ecx=001476b4 edx=00000000 esi=00147750 edi=00000100
    eip=77f82a84 esp=019bfe28 ebp=019bff74 iopl=0 nv up ei pl nz na pe nc
    cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000202


    function: ZwReplyWaitReceivePortEx
    77f82a79 b8ac000000 mov eax,0xac
    77f82a7e 8d542404 lea edx,[esp+0x4] ss:0243d3fb=????????
    77f82a82 cd2e int 2e
    77f82a84 c21400 ret 0x14

    *----> Stack Back Trace <----*

    FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
    019BFF74 77D50781 77D50D7F 00147750 00000000 401471F8 ntdll!ZwReplyWaitReceivePortEx
    019BFFA8 77D50C7A 00146558 019BFFEC 77E8758A 00147648 rpcrt4!RpcBindingSetOption
    019BFFB4 77E8758A 00147648 00000000 401471F8 00147648 rpcrt4!RpcBindingSetOption
    019BFFEC 00000000 77D50C62 00147648 00000000 000000C8 kernel32!SetFilePointer

    the rest in next post..

  6. #6
    New Member
    Join Date
    Jan 2002
    Posts
    11
    The rest of the dump...

    function: ZwReplyWaitReceivePortEx
    77f82a79 b8ac000000 mov eax,0xac
    77f82a7e 8d542404 lea edx,[esp+0x4] ss:0243d3fb=????????
    77f82a82 cd2e int 2e
    77f82a84 c21400 ret 0x14

    *----> Stack Back Trace <----*

    FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
    019BFF74 77D50781 77D50D7F 00147750 00000000 401471F8 ntdll!ZwReplyWaitReceivePortEx
    019BFFA8 77D50C7A 00146558 019BFFEC 77E8758A 00147648 rpcrt4!RpcBindingSetOption
    019BFFB4 77E8758A 00147648 00000000 401471F8 00147648 rpcrt4!RpcBindingSetOption
    019BFFEC 00000000 77D50C62 00147648 00000000 000000C8 kernel32!SetFilePointer

    *----> Raw Stack Dump <----*
    019bfe28 2d 09 d5 77 34 01 00 00 - 54 ff 9b 01 00 00 00 00 -..w4...T.......
    019bfe38 70 a6 14 00 58 ff 9b 01 - f8 cb 13 00 58 65 14 00 p...X.......Xe..
    019bfe48 48 76 14 00 01 d2 fd 7f - ec 00 00 00 5b d3 44 80 Hv..........[.D.
    019bfe58 ec 00 00 00 50 5b 4a 81 - 00 d0 fd 7f fc 07 30 c0 ....P[J.......0.
    019bfe68 00 00 00 00 46 02 00 00 - ec 00 00 00 01 00 00 00 ....F...........
    019bfe78 00 00 00 00 01 00 00 00 - 00 00 00 00 00 e0 fd 7f ................
    019bfe88 fc 07 30 c0 38 dc 59 bf - e2 d1 44 80 00 d0 fd 7f ..0.8.Y...D.....
    019bfe98 00 00 00 00 00 00 00 00 - 00 d0 fd 7f 08 72 52 81 .............rR.
    019bfea8 01 5b 4a 81 00 00 00 00 - 74 ff 1f c0 5b d3 44 80 .[J.....t...[.D.
    019bfeb8 44 01 00 00 50 5b 4a 81 - 00 f0 ca 01 1c 00 30 c0 D...P[J.......0.
    019bfec8 00 00 00 00 00 00 00 00 - 44 01 00 00 01 00 00 00 ........D.......
    019bfed8 00 00 00 00 01 00 00 00 - 00 00 00 00 00 00 cb 01 ................
    019bfee8 1c 00 30 c0 00 d0 fd 7f - e2 d1 44 80 00 f0 ca 01 ..0.......D.....
    019bfef8 00 00 00 00 40 ab 55 81 - 01 00 00 00 90 36 57 81 [email protected].
    019bff08 20 8c 57 81 80 5a 4a 81 - 40 4e 00 e1 1b 51 45 80 [email protected].
    019bff18 00 00 00 82 00 00 00 02 - 64 dc 59 bf 15 26 4a 80 ........d.Y..&J.
    019bff28 88 6e 68 81 c0 fb 46 81 - 20 e8 4a 81 00 00 00 00 .nh...F. .J.....
    019bff38 b0 e9 4a 81 60 dc 59 bf - 46 02 00 00 ec d8 42 80 ..J.`.Y.F.....B.
    019bff48 c0 95 06 80 80 e9 4a 81 - 20 e8 4a 81 46 02 00 00 ......J. .J.F...
    019bff58 00 a2 2f 4d ff ff ff ff - 50 fe 9b 01 ff ff ff ff ../M....P.......

    State Dump for Thread Id 0x33c

    eax=7802a830 ebx=00000003 ecx=00000101 edx=00000000 esi=77f8281e edi=00000003
    eip=77f82829 esp=02a9fef8 ebp=02a9ff44 iopl=0 nv up ei pl zr na po nc
    cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000246


    function: NtWaitForMultipleObjects
    77f8281e b8e9000000 mov eax,0xe9
    77f82823 8d542404 lea edx,[esp+0x4] ss:0351d4cb=????????
    77f82827 cd2e int 2e
    77f82829 c21400 ret 0x14

    *----> Stack Back Trace <----*

    FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
    02A9FF44 77E86E1A 02A9FF1C 00000001 00000000 00000000 ntdll!NtWaitForMultipleObjects
    7800A3FD 74C08578 56D0FF02 FF83E8E8 85F08BFF 6A0875F6 kernel32!WaitForMultipleObjects
    0401BCA1 00000000 00000000 00000000 00000000 00000000 <nosymbols>

    State Dump for Thread Id 0x274

    eax=77562bda ebx=00000002 ecx=00000000 edx=00000000 esi=77f8281e edi=00000002
    eip=77f82829 esp=0377ff24 ebp=0377ff70 iopl=0 nv up ei pl zr na po nc
    cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000246


    function: NtWaitForMultipleObjects
    77f8281e b8e9000000 mov eax,0xe9
    77f82823 8d542404 lea edx,[esp+0x4] ss:041fd4f7=????????
    77f82827 cd2e int 2e
    77f82829 c21400 ret 0x14

    *----> Stack Back Trace <----*

    FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
    0377FF70 77E86E1A 0377FF48 00000001 00000000 00000000 ntdll!NtWaitForMultipleObjects
    0377FFB4 77E8758A 00000000 7FFDEBF8 00000000 00000000 kernel32!WaitForMultipleObjects
    0377FFEC 00000000 00000000 00000000 00000000 00000000 kernel32!SetFilePointer

    State Dump for Thread Id 0x2c8

    eax=001e89b0 ebx=03200020 ecx=0000000c edx=00130608 esi=001e89b0 edi=018000b4
    eip=775783fe esp=0387fe40 ebp=0387fe4c iopl=0 nv up ei ng nz na po nc
    cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000286


    function: waveOutOpen
    775783e9 55 push ebp
    775783ea 8bec mov ebp,esp
    775783ec 53 push ebx
    775783ed 56 push esi
    775783ee 57 push edi
    775783ef 6a0c push 0xc
    775783f1 59 pop ecx
    775783f2 394d10 cmp [ebp+0x10],ecx ss:042fd41e=????????
    775783f5 0f82e69f0000 jb mmioSetBuffer+0x1e3 (775823e1)
    775783fb 8b5d0c mov ebx,[ebp+0xc] ss:042fd41e=????????
    FAULT ->775783fe 813b52494646 cmp dword ptr [ebx],0x46464952 ds:03200020=????????
    77578404 0f85d79f0000 jne mmioSetBuffer+0x1e3 (775823e1)
    7757840a 817b0857415645 ds:03c7d5f2=????????
    cmp dword ptr [ebx+0x8],0x45564157
    77578411 0f85ca9f0000 jne mmioSetBuffer+0x1e3 (775823e1)
    77578417 8b7304 mov esi,[ebx+0x4] ds:03c7d5f2=????????
    7757841a 8d430c lea eax,[ebx+0xc] ds:03c7d5f2=????????
    7757841d 397510 cmp [ebp+0x10],esi ss:042fd41e=????????
    77578420 0f82bb9f0000 jb mmioSetBuffer+0x1e3 (775823e1)
    77578426 8138666d7420 cmp dword ptr [eax],0x20746d66 ds:001e89b0=00130178
    7757842c 0f85849f0000 jne mmioSetBuffer+0x1b8 (775823b6)
    77578432 8b5004 mov edx,[eax+0x4] ds:00c65f82=????????
    77578435 8d7808 lea edi,[eax+0x8] ds:00c65f82=????????

    *----> Stack Back Trace <----*

    FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
    0387FE4C 77588789 001E89B0 03200020 FFFFFFFF 0387FF98 winmm!waveOutOpen
    0387FE98 775734C6 03200020 00000005 0387FFA0 C0000000 winmm!sndPlaySoundA
    0387FECC 77E12E98 00070100 000003CC 00000005 03200020 winmm!mixerMessage
    0387FEEC 77E130E0 77573420 00070100 000003CC 00000005 user32!ScrollDC
    0387FF78 77E15824 0387FF98 00000001 77575C2D 0387FF98 user32!ScrollDC
    0387FFB4 77E8758A 0000029C 77595428 0012F344 0000029C user32!DispatchMessageA
    0387FFEC 00000000 00000000 00000000 00000000 00000000 kernel32!SetFilePointer

  7. #7

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    That one doesn't do a lot for me unfortunatly
    I've just tried this myself & it doesn't look like 2000 supports the MCISendstring command after all.
    Give me till tomorrow morning to look at this as I'm running 2000 & will find a way to play this type of file ...

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  8. #8
    New Member
    Join Date
    Jan 2002
    Posts
    11
    The attachment is an example of how I created the resource only dll. The dll I made is 64MB. It's big, but it works great under Windows 95.
    Attached Files Attached Files

  9. #9
    New Member
    Join Date
    Jan 2002
    Posts
    11
    I rem out all Playsound statements ....It runs a little bit better, but I am still getting the same error messages..

    With Playsound out of the loop, it appears that forms opening and closing were also causing the same error. I fixed some of those with the :

    frm.windowstate =1

    It's a documented microsoft bug. I didn't have this prob on the Win95 pc. (250Mhz)

    The machine in question is a Dell GX400, 1G processor, 500MB ram, windows 2000 service pack 2..

    I still get the "memory cannot read" or "memory cannot write"..whenever any thing is displayed or a form is loaded or unloaded or text info from an array is displayed. Maybe I will try just frm.visible=true or false. It is very intermittant. I have done this on three Windows 2000 machines. Same result.



    Thanks..
    Last edited by ibolink; Jan 10th, 2002 at 02:13 PM.

  10. #10
    New Member
    Join Date
    Jan 2002
    Posts
    11

    Problem solved

    I was was making an API call to mcisendstring which was causing the problem. I was using the function load avi..Something in the way I was calling the video was not working properly under Win2000.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width