Hi Syco.
EnumWindows can be found in user32.dll, it requires 2 param's these are as follows.
1) lpEnumFunc, this defines a pointer to callback function.
2) lParam, this is application defined value passed to the callback function.
first we have a problem when trying to setup the lpEnumFunc from within blitz3d, we simply cant get the address in memory of a blitz3d function. so we would be required to setup the call within our own created .dll
i have wrote the orginal winblitz3d using standard blitz3d source and hacked into it a simple winproc using a bank, although this realy is a pain in the backside to realy get any use from it.
if you require any more info/help getting this setup from within a .dll i try and help all i can.
kev
EnumWindows can be found in user32.dll, it requires 2 param's these are as follows.
1) lpEnumFunc, this defines a pointer to callback function.
2) lParam, this is application defined value passed to the callback function.
first we have a problem when trying to setup the lpEnumFunc from within blitz3d, we simply cant get the address in memory of a blitz3d function. so we would be required to setup the call within our own created .dll
i have wrote the orginal winblitz3d using standard blitz3d source and hacked into it a simple winproc using a bank, although this realy is a pain in the backside to realy get any use from it.
if you require any more info/help getting this setup from within a .dll i try and help all i can.
kev