Quote Originally Posted by smkperu View Post
...functions like this in msvbvm60.dll ... for which I may not be knowing equivalent in c
The background behind 'the tricks' question above is,
that nearly all the functions of msvbvm60.dll are covered already by "system-layer-Dlls",
like User32, Ole32, OleAut32...

For example the VB6-Format(...)-Function is contained in oleaut32.dll, described here:
https://docs.microsoft.com/en-us/win...auto-varformat
(along with a whole lot of other "Variant-Conversion-Functions", when you look at the left-hand-side of that MSDN-Page).

And as for the few functions wich are not covered - like e.g. GetMem4,
come on - you're working in C...
"copying 4 Bytes around" should be a childsplay using a bit of "C-Pointer-voodoo".

Olaf