Search:

Type: Posts; User: The trick

Page 1 of 13 1 2 3 4

Search: Search took 0.22 seconds.

  1. Replies
    4
    Views
    207

    Re: Piano Note Sounds

    Sorry mixed up threads. Mods please move 4 post to this topic. Thank in advance.
  2. Replies
    7
    Views
    446

    Re: Piano Note Sounds

    This is a simple wavetable synthesizer (without ADSR envelope) using DirectSound (i'll update that thread as soon as the capture example is done).
  3. Replies
    4
    Views
    207

    Re: Piano Note Sounds

    You can use C:\Windows\system32\drivers\gm.dls this is RIFF file with all General MIDI sounds.
  4. Replies
    7
    Views
    446

    Re: DX8 Play LOOP Help

    The wavetable synth is already done. Just I want to make repository with my DirectSound type library with some examples. I only need to finish capture example and I'll publish all. There are already...
  5. Replies
    13
    Views
    565

    Re: IDE Question

    Yes, I also have this bug sometimes. It's quite annoying because it requires reload IDE and all the breakpoints are lost
  6. Re: [VB6] - Class for subclassing windows and classes.

    New version 3.0


    More stable;
    Optimized code;
    Project is moved to Github.


    See the first post to download the latest version.
  7. Re: 'Class for waiting asynchronous kernel objects' and memory leak

    I've fixed the memory leaking problem. You can download the updated class here.
  8. Re: [VB6] - Class for waiting asynchronous kernel objects.

    New version 2.0


    More stable;
    Memory leaking fixed;
    Optimized code;
    Project is moved to Github.


    See the first post to download the latest version.
  9. Re: [VB6] TrickSound - class for working with audio.

    I've updated the code in the first post. It's now available a save menu item where you can save recorded audio to a file.
  10. Re: [VB6] TrickSound - class for working with audio.

    The Song class just provides information about track. Just use mmioWrite function to write your audio buffer.
  11. Re: [VB6] TrickSound - class for working with audio.

    https://www.vbforums.com/showthread.php?857685-RESOLVED-How-to-get-a-pointer-to-an-element-in-a-byte-array&p=5251177&viewfull=1#post5251177
  12. Replies
    7
    Views
    446

    Re: DX8 Play LOOP Help

    Seems some wavetable synthesis :)

    You should implement a circular buffer and write data to it. I'll prepare a small example.
  13. Re: can WindowLess control to overlap a non windowless control?

    No. A windowless control always is on a container window, so if your windowed control is above the container window the windowless cotrol will always behind that.
  14. Replies
    15
    Views
    889

    Re: Clone VB6 Objects In Memory

    Don't use this. If you need to clone an object you need to serialize/deserialize the object state. There are some standard interfaces (IPersist...) to achive it. So if an object supports...
  15. Re: how to initialize project context of vb6 exe from c/c++ dll new thread-reg

    See InitCurrentThreadAndCallFunction and InitCurrentThreadAndCallFunctionIDEProc functions here.
  16. Re: [VB6] PNG/ICO/ANI pictures in the standard controls.

    I can advise to add the archive to AV's exception list. Then you can remove all the binaries and compile it by youself to see everything is safe. I have no experience to send a false-positive report...
  17. Replies
    21
    Views
    15,195

    Re: How to load PNG image?

    BTW, the Add-in is done.
  18. Re: workaround to make controls in forms semi-translucent

    https://www.vbforums.com/showthread.php?861187-RESOLVED-How-to-develop-a-border-smooth(anti-aliased)-rounded-rect-button-user-control&p=5278759&viewfull=1#post5278759
  19. Replies
    6
    Views
    493

    Re: How to detect loaded dll

    GetModuleHandle
  20. Re: [RESOLVED] VB6 QUESTION: Do you ever find yourself creating pseudo forms?

    When I studied working with graphics, I did something similar, but no more. Pay attention to the video starting at 16 second:

    https://www.youtube.com/watch?v=fgN2CY0AxWY
  21. Replies
    8
    Views
    654

    Re: RC6 cDirList.DirWatch

    It uses the same API ReadDirectoryChangesW. Just the declarations:

    Private Declare Function ReadDirectoryChanges Lib "kernel32.dll" _
    Alias "ReadDirectoryChangesW" ( _
    ...
  22. Re: How do I get the baseaddress of a 64 bit process?

    NtWow64QueryInformationProcess64
  23. Re: Injecting a DLL and then calling a class

    Why is this injector not suitable?
  24. Re: Injecting a DLL and then calling a class

    I don't know what you do (i don't see source code of the injector) so i can't tell you the issue exactly. Probably you don't initialize the project context of your DLL so it fails. You could see how...
  25. Re: Injecting a DLL and then calling a class

    How do you inject the DLL? What's your end goal?

    Check this repository.
  26. Re: how to call a vb6 standalone exe module function from c/c++ new thread-reg

    This is the last time i write - please read carefully the example. You just don't read the module description. When you'll have a trouble using the module description you can write here i'll help.
  27. Re: how to call a vb6 standalone exe module function from c/c++ new thread-reg

    InternetCallback is called from wininet.dll.
  28. Re: how to call a vb6 standalone exe module function from c/c++ new thread-reg

    Please read carefully. InternetStatusCallback is called from C/C++ dll in arbitrary thread.
  29. Re: Need help or documentation on vba6.dll functions, Eb api

    Private Declare Function TipCreateReloadableModule Lib "vba6" ( _
    ByVal cProj As IUnknown, _
    ByVal lType As Long, _
    ByVal...
  30. Re: how to call a vb6 standalone exe module function from c/c++ new thread-reg

    https://github.com/thetrik/VbTrickThreading/tree/master/Demos/InternetStatusCallback
    https://github.com/thetrik/VbTrickThreading/tree/master/Demos/Callback...
  31. Re: ReadProcessMem for addresses that exceed the maximum value of long?

    NtWow64ReadVirtualMemory64
  32. Replies
    26
    Views
    1,366

    Re: set font bold in listbox

    Don't need hook control creation because the Checkbox style already implemented using the ownerdraw technique. See the example.
  33. Replies
    16
    Views
    736

    Re: Create random value from string.

    HashData
  34. Re: Quick question about the Collection class.

    The collection class isn't a has table it's a RB-tree. The algorithm how does collection class work.
  35. Re: 'Class for waiting asynchronous kernel objects' and memory leak

    Hello. Yes there is a problem let me solve it and make it more convenient.
  36. Replies
    11
    Views
    808

    Re: What FRACTAL have you created in VB6?

    BTW this is a 3D-fir-tree generator.

    Ah, i see you already have seen this :blush:
  37. Replies
    11
    Views
    808

    Re: What FRACTAL have you created in VB6?

    https://www.vbforums.com/showthread.php?788213-VB6-Multithreading-is-an-example-of-a-fractal-Julia
  38. Re: Problem with LVM_GETITEM and 64-bit OS, please help

    You have 2 errors.


    PutMem4 tHDI.pszText, ByVal lngBuffer
    PutMem4 tLVI.pszText, ByVal lngBuffer

    ReadProcessMemory(lngProcess, lngBuffer, ByVal StrPtr(strColumns(lngCol)), tHDI.cchTextMax - 2,...
  39. Re: Problem with LVM_GETITEM and 64-bit OS, please help

    You need to use 64-bit structures instead 32-bit ones for a 64-bit process:


    Private Type HDITEM64
    Mask As Long
    cxy As Long
    pszText As Currency
    hbm As...
  40. Re: How to statically link a LIB or OBJ file in VB6!

    If you use exported functions you don't need a link replacement. You can use LinkSwitches option.
    I've already published two approaches (other variant) how to statically link OBJ files with VB6...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width