dcsimg

Search:

Type: Posts; User: Tanner_H

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: PhotoDemon 7.0 beta: any help testing is greatly appreciated

    Hi Gibra. Thank you for following up on this!

    Yes, PhotoDemon now offers comprehensive PSD import/export support. I wrote a little article about it earlier this year:
    ...
  2. Replies
    41
    Views
    3,600

    Re: [RESOLVED] Obtain Form Size in Millimeters

    If that's the way the community wants to go, I wish them the very best of luck.

    For better or worse, I don't have that kind of faith. If people are too lazy to include a one-line attribution in...
  3. Replies
    41
    Views
    3,600

    Re: [RESOLVED] Obtain Form Size in Millimeters

    That's a great example, jpbro. Thank you for sharing. It is amazing the amount of work required to release a project like that. From the same page:



    That is an incredible accomplishment.
  4. Replies
    41
    Views
    3,600

    Re: [RESOLVED] Obtain Form Size in Millimeters

    I linked to the OSI page for a reason. CC0 and PDE licenses are not open-source licenses.

    The Wikipedia page you shared explains it right there on the page.

    Open-source is about more than just...
  5. Replies
    41
    Views
    3,600

    Re: [RESOLVED] Obtain Form Size in Millimeters

    Elroy, your statement of "in many places reworked it and in others expanded it beyond what it originally did." That's simply not true. 90% of the code is a verbatim copy of the original. I can...
  6. Replies
    41
    Views
    3,600

    Re: [RESOLVED] Obtain Form Size in Millimeters

    Eduardo, it doesn't really matter if you believe my motivations or not. Even if I am a megalomaniac, open-source licenses and copyright are what they are. I didn't invent them.

    All open-source...
  7. Replies
    41
    Views
    3,600

    Re: [RESOLVED] Obtain Form Size in Millimeters

    I'm sorry, Elroy, but I can't continue with this. I feel like you have a troubling habit of being flagrantly wrong about copyright issues, and even in the face of clear evidence, you take the...
  8. Replies
    41
    Views
    3,600

    Re: [RESOLVED] Obtain Form Size in Millimeters

    I don't want this message to get lost in the weeds, and I don't want my own poor explanations to cloud things. So let me just cite the simplest explanation I've seen: MIT's instructions for writing...
  9. Replies
    41
    Views
    3,600

    Re: [RESOLVED] Obtain Form Size in Millimeters

    Elroy, I appreciate your apology and kindness. I know these things are not meant with ill-intent, but my concern here is less about credit for my work and more with the VB6 ecosystem as a whole. ...
  10. Re: Windows10: Is the window under Mouse Cursor = Desktop?

    There is a new shell interface in Windows 10 called IVirtualDesktopManager. It provides helpful methods like "GetWindowDesktopId" and "IsWindowOnCurrentVirtualDesktop".

    I first read about it...
  11. Replies
    41
    Views
    3,600

    Re: [RESOLVED] Obtain Form Size in Millimeters

    Elroy, the EDID retrieval code you shared in post #9 is directly copied from my work here and here. Even the comments match verbatim. It is frustrating to see it re-posted with its original license...
  12. Re: How to make a shodow underneath a specific usercontrol, named Window

    Niya, are you thinking of the CS_DROPSHADOW class style? I had the same thought:

    Window Class Styles

    I think there are already some forum posts on this... maybe this one is good enough to get...
  13. Replies
    12
    Views
    856

    Re: Performance Counters

    I'm not sure that there's anything "overkill" about QPC timers, stuck-in-past. They are very simple API calls. They also don't suffer the resolution or rollover issues of timeGetTime(), or require...
  14. Replies
    46
    Views
    3,195

    Re: Future project, VB6 or not?

    Microsoft, too!

    https://blogs.msdn.microsoft.com/bharry/2017/03/31/shutting-down-codeplex/

    (And you're welcome. :) Version control has absolutely changed my coding life for the better. Even...
  15. Replies
    46
    Views
    3,195

    Re: Future project, VB6 or not?

    Elroy, here's your clear answer: you have 100% control over what goes into your git repository (on GitHub or any other git service, including home-brew ones). Can you imagine the chaos if anyone...
  16. Replies
    46
    Views
    3,195

    Re: Future project, VB6 or not?

    A ton of great stuff in this thread, thank you everyone. I just wanted to pipe in on a small point Shaggy made...



    I think this statement needs to be modified a bit to be true. I think "once...
  17. Replies
    26
    Views
    1,969

    Re: Switching between Window UI and Console UI

    Congrats on getting things working!



    Nope. Of course, when Main() exits, VB still has to perform some of its own cleanup before shutting down the app's message pump. I don't know if this...
  18. Replies
    12
    Views
    856

    Re: Performance Counters

    dilettante's OldNewThing link is great, but be sure to note the date of publication. After reading it (it's short and good!), I'd recommend this MSDN article to fill the gap between 2005 and now:
    ...
  19. Re: [VB6] StringBuilder - Fast string concatenation

    Good memory, Dex. That's still how the version on GitHub works, anyway:

    https://github.com/dotnet/coreclr/blob/master/src/mscorlib/shared/System/Text/StringBuilder.cs



    Sample of their...
  20. Re: [VB6] StringBuilder - Fast string concatenation

    No problem Dragokas, I'm glad it was quick to fix! :)

    HeapAlloc always allocates contiguous blocks of memory, so that shouldn't be a concern. HEAP_REALLOC_IN_PLACE_ONLY just means that...
  21. Re: [VB6] StringBuilder - Fast string concatenation

    Hi Dragokas. Your crash in HeapFree is caused by a bad API declaration. Change the declaration to "ByVal lpMem as Long", or explicitly pass m_pMemoryPtr as ByVal. (Honestly, the class has quite a...
  22. Replies
    26
    Views
    1,969

    Re: Switching between Window UI and Console UI

    @stuck - unfortunately, I don't think that int _app_type check will help. From your subsequent comments, I guess you discovered that that's just a helper function provided by the VS compiler so that...
  23. Replies
    29
    Views
    2,412

    Re: [RESOLVED] VB6 and some 3D Linear Algebra

    Hi reexre. ByRef is only faster if the source data is very large. For value data types, like Doubles, passing objects ByRef requires the CPU to use some form of indirect addressing which carries a...
  24. Replies
    29
    Views
    2,412

    Re: [RESOLVED] VB6 and some 3D Linear Algebra

    Very cool project, Elroy. I'm jealous!

    Working in mm space should guarantee no problem with OOB errors. Single-precision floats bottom-out at 10^-38, so unless your equipment is in violation of...
  25. Replies
    29
    Views
    2,412

    Re: [RESOLVED] VB6 and some 3D Linear Algebra

    Thanks for the reply, Elroy. I've actually seen that 4 * Atn(1) hack before, but only in languages that support building against different architectures. If you can't guarantee the resolution of...
  26. Re: Variable Scope - What is the Compiler Really Doing?

    Hi vb6forever. To answer your questions as best I know...

    - No
    - Yes
    - No

    Consider this: you can declare the same API in different ways, and you may even want to do this in the same project....
  27. Replies
    29
    Views
    2,412

    Re: [RESOLVED] VB6 and some 3D Linear Algebra

    To everyone who shared an Atan2 function so far - you will get better performance by passing X and Y as ByVal. This is true for all value types, including Doubles. (And since you aren't modifying...
  28. Replies
    28
    Views
    2,767

    Re: Susan Corner Detection Algorithm VB6

    @wqweto - I'm just glad you said something!



    No hard feelings, Colin. The hard thing with plagiarism is that intent isn't necessarily important - if Randy used the "but I didn't mean it...
  29. Replies
    28
    Views
    2,767

    Re: Susan Corner Detection Algorithm VB6

    I disagree, actually. If you look at much of the code on VBNet, Randy lists additional authors at the top of the page, but many times those authors receive *no* credit anywhere in his...
  30. Replies
    28
    Views
    2,767

    Re: Susan Corner Detection Algorithm VB6

    The irony here is that Randy is actually the one in the wrong. He copied my code wholesale, then slathered his own copyrights over the top of it. This is made clear in the text at the top of his...
  31. Replies
    31
    Views
    9,230

    Re: Compression in VB6: modern solutions

    There are many times when it is valuable to compress data, but you don't want or need other people to access it.

    For example, I use these compression libraries to compress all Undo/Redo data...
  32. Replies
    31
    Views
    9,230

    Re: Compression in VB6: modern solutions

    Hi Daniel. The 3rd-party libraries used in this project do not deal with archives at all. Archiving and compression are separate problems. These libraries only tackle the compression part.

    This...
  33. Re: Check which keyboard is typing [BARCODE SCANNER]

    Add me to the list of "people who have never attempted this", but it may be possible:

    https://www.codeproject.com/Articles/17123/Using-Raw-Input-from-C-to-handle-multiple-keyboard

    That article...
  34. Re: [RESOLVED] Terminology Confusion - BitMap, Picture, Image

    Just to make it even more convoluted, there are also important non-image uses of bitmap, e.g. various low-level APIs like RtlInitializeBitMap. That is one of many APIs built around RTL_BITMAP...
  35. Replies
    41
    Views
    3,527

    Re: Memory Leaks and GDI

    Thanks for the update, stuck. Seeing the specific GDI object counts does help narrow the areas of concern. It looks like the GDI object climb is tied to bitmaps, with small contributions from pens...
  36. Re: PhotoDemon 7.0 beta: any help testing is greatly appreciated

    Thanks again, gibra. Can I ask one more favor? Can you attach (or send me) the PSD files you tested? If time allows, I may look at writing a VB6 PSD parser, and it would be great to have extra PSD...
  37. Re: PhotoDemon 7.0 beta: any help testing is greatly appreciated

    Thank you for the follow-up testing, gibra. You can find your name in the program's About menu and contributor list now. (I know it's not much, but I really do appreciate the help.)

    1/2 - From...
  38. Replies
    41
    Views
    3,527

    Re: Memory Leaks and GDI

    Good morning, stuck. Ready for another day of debugging?? :bigyello:

    If you have GDIView available, can you tell us what kind of GDI objects are leaking as you open and close that second form? ...
  39. Replies
    16
    Views
    1,338

    Re: GetVerticalBlankStatus/WaitForVerticalBlank

    Thanks for providing some sample code. Let's try some small ideas first.

    First: is it necessary to use so many DoEvents calls? If you need to yield for input messages, it's typically best to do...
  40. Replies
    41
    Views
    3,527

    Re: Memory Leaks and GDI

    Sorry, should have thought of this too - there are 3rd-party apps that can tell you what kind of GDI objects are leaking. They are not foolproof, but they can help narrow down the problem.

    I use...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width