Search:
Type: Posts; User: dz32
Search:
Search took 0.04 seconds.
-
When vb6 dlls are used normally the runtime (msvbvm60.dll) gets initialized normally.
When stepping outside the normal usage like creating standard dlls or multiple threads etc you have to take...
-
if you compile the addin from source that will also register it properly for you I think I have a copy of the source in this package (with many others)
http://sandsprite.com/openSource.php?id=97
-
Did you register it from a 32 bit cmd.exe from syswow64 folder?
I can confirm it does work on win11 for me
-
If you are calling that export from another language then I imagine open file is probably failing because vb runtime is not properly initialized.
If you are calling from another vb6 parent exe...
-
here is how the old regmon did it (should be xp compatible)
https://github.com/hfiref0x/WinObjEx64/blob/519194140e96dfae90add12a0dc3b4da70817c1b/Source/WinObjEx64/props/propDriver.c#L559
-
regmon used to have a neat feature where it could open regedit and navigate the treeview to the registry key it was displaying.
turns out Mark spun it off into its own command line utility as well...
-
I missed the drama but encourage the desire to mend ways and man up shows character and I respect that.
Most people just create a new anonymous handle and keep going. I have found myself ignoring...
-
Pyhthon can easily use activex dlls with win32com from pywin32 package and c# no problem too
-
If your main exe is done in c I understand the impulse to want to make a classic dll in vb. (Although I still would avoid it)
If the main exe is almost anything else standard vb6 activex dll is...
-
You could use a filter list and set the filter programmatically to the invoice number and filter column to invoice column
...
-
ftp transfers will be transferring your user name and password in clear text across all the networks involved
might want to put a php script on a https enabled webserver and do a form submission...
-
If it’s closed source and still needs new exports for functionality like add variable seems like it’s early in development, and no control over it. Might be interesting to play with but dangerous to...
-
I don’t know if they still make them but netduino was also a very easy platform. you use c# and the vs debugger even works with all the io pins like arduino
Edit: nevermind I think they have been...
-
Try subclassing the main window from an injection and see if you can intercept any of the existing menu click messages might get you closer or just steal an existing menu item and change its caption?
-
Sounds like a memory corruption error usually from a bad api declaration or usage. Start by searching for any copymemory calls disable any new ones and see when it stops crashing
If you compile to...
-
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...
|
Click Here to Expand Forum to Full Width
|