|
-
Feb 1st, 2025, 11:57 PM
#40
Re: [VB6] Register any control as a drop target that shows the Explorer drag image
You shouldn't include the file in every project or code snippet. It's a shared reference and installing multiple copies winds up with all projects using whichever copy was used first. A lot of people use oleexp; it's not some rare file only applicable to a single code snippet or project. You should just post the code with a "Requires oleexp.tlb for the IDE" note. At some point you need to expect people to have, or take 30 seconds to obtain, a handful of common 3rd party tools if you want to share simple, easy to understand, flexible code like my post, instead of copying around 100x larger impenetrable, hard to extend messes of DispCallFunc and virtual objects full of pointer voodoo only 1% of users can understand.
If that's really what you want to do that's your prerogative but I'm not taking 3-4 hours to do it for you unless you want to discuss hiring me to do it as a paid contractual project. I already spent hundreds of hours making oleexp so people could do these things in minutes instead of hours or days with a handful of lines instead of hundreds.
Now if you want to use twinBASIC, you can do it without a typelib without DispCallFunc because tB lets you define interfaces and coclasses in the project using BASIC-style syntax. In fact there's a link to that in the first post. It was one of my first tB projects and does it entirely self-contained without using my even larger WinDevLib project.
Last edited by fafalone; Feb 2nd, 2025 at 12:11 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|