Search:
Type: Posts; User: dz32
Search:
Search took 0.04 seconds; generated 19 minute(s) ago.
-
If you are compiling a vb6 dll or ocx run the ide as administrator do it sets the proper registry keys. If you are just registering existing vb6 dlls/ocxs make sure you are running a 32 but version...
-
Are you doing this from an injection dll? A wndproc in your exe will not be available as a menu handler in another exe. Is PrevWndProc 0?
-
Do the rfid readers just spit out keyboard type output to whatever form element has focus or do they have an sdk with an event triggered when data is available? Seems like you would need the second...
-
Inno setup with istool to help create the script
https://jrsoftware.org/isinfo.php
http://www.istool.net/
Package and deployment wizard isn’t great
-
Try wrapping notepad in it if still triggers then submit a false positive for inno stub. The ml stands for machine learning so it’s probably an autogenerated signature that was overly broad and...
-
Vb6 triggers a lot of bad av sigs because the file format is not well documented. You can try submitting your individual files to virustotal and see which one specifically triggers the detection,...
-
Also look at plugin models any plugin user will expect to have to call an init function on their own to gain access to the library. Nothing wrong with having an end user follow a protocol . They will...
-
If you are shooting for integrating with other languages and some of your functions need an init be called anyway, you can have your init function return the addresses of all of the modules functions...
-
the subclass code I use is just the standard vanilla setwindowlong. It is only IDE safe because it is in an ActiveX dll.
Its very similar to the vb accelerator one....
-
sounds painful but good luck!
-
You can probably use a linker flag to export a target function and add it to the export table. Enumerating the modules and functions even in pcode is more code than it’s worth. Your really making it...
-
I hear ya, Im opposite, for me its the only way. Keeps the subclassing simple with no hacks or debugging limitations. Everything I do requires external dependencies anyway so whats one more. Although...
-
or use the subclassing code from an ActiveX dll which gets class_terminate called even when IDE stop button get hit
-
A quick test would be to just put a msgbox in dll class terminate, use it from exe test and hit stop in ide. Code on another computer
-
the subclassing code I use with setwindowlong is IDE safe but doesnt do anything fancy so I always assumed just wrapping it in a dll was enough and the terminate event always gets called correctly...
-
Probably ide safe if it was used from an active x dll?
-
That would probably work. activex exes do have side effects I kinda hate them they tend to hang and remain running and seem to make a mess of the registry during dev as new versions get compiled and...
-
Global multiuse is a neat setting fir dll/ocx projects
Automatically creates one instance of the class and all of its functions are available for use without needing a class. Reference.
Not...
-
Module functions are more or less for stand alone code. Once you get into shared statefull variables and variables used across functions it’s more into the design intent of a class. Even if you only...
-
I’m the various user functions check to see if a module level is initialized variable is true yet or not, if not each dependent sub can trigger init on its own if necessary
If not isInit then call...
-
There is one I hit once in a while if I start debugging and it asks to save files, you create a new folder in the common dialog and some click behavior I can’t remember will crash it.
Old school...
-
I have been getting very very slow page loads lately
-
Ha nice. I hadn’t tried it, someone at work mentioned it. It still amazes me how competitive vb6 is. (And that’s actually kinda sad in a way too).
-
There should be a handful of working samples on the forum already. But yeah open it once in form load make sure there are no app.previnstance maybe unplug and reopen usb if hung
Can?t remember but...
-
Stumbled across this today, might be good for ideas or how they implemented stuff
UI files generated using Qt Designer: https://build-system.fman.io/qt-designer-download
Command to convert UI...
-
When I translate stuff like this I almost always explicitly verify the results with c compilation and asm just to be sure. Hunting down bugs later with faulty assumptions can be treacherous as more...
-
Ebp/rbp+8 is just loading the first argument to the function the functional bit is the second mov.
You can test it by passing it some data like a structure or array and seeing which element is...
-
Zip has an open source dll thats vb usable with lots of code examples in vb
Im not sure if it supports a progress callback but it would be straightforward to add.
Search zlib dll vb6
You could...
-
A lot of that might just be casts to make the compiler happy, I would compile it and look at the asm to see what it boils down to
-
It might sound simple, but
I would first start looking for open source implementations of ace archive unpackers. You can probably find some command line ones you could just shell out. They won?t...
-
If it was a case of passing 15 variables now were in the territory of having a it own module with private module level vars for the different functions to use freely. Or a class type to manage state....
-
you can buy a copy of the book for like $5-8 on amazon,
https://www.amazon.com/Advanced-Visual-Basic-Techniques-Everyday/dp/0201707128
then answer a trivia question from the book to get the...
-
usually I would expect the IDE to be slower than the exe. The IDE interprets pcode, native should be faster. The IDE could be faster on some things like if a dll has to be loaded because the IDE...
-
Set parent seems to glitch on minimize restore as well might have to watch fir that and reapply
-
I tried using some python apps that had a GUI, they were painfully slow. I would agree python is best for command line or embedding
-
I try not to nest for’s to deep either. If I needed multiple fors with continues things are now complex enough to break inner loops up into a sub functions. I try to stay pretty flat that’s where...
-
I regularly use multiple goto’s in this situation to avoid nesting with no apologies it’s practically indistinguishable from continue.
-
Is the .net default compile still IL that gets jitted to native code? Seem to remember an optional manual post processing compiler that could convert to full native code. It’s been a while details...
-
Isn’t c# / .net basically a reworked j++ after they got sued? That would put c# as the primary implementation language as well.
-
Ai jibber jabber filter is glitching
|
Click Here to Expand Forum to Full Width
|