thank you for trying to help me but as i say before and by quoting your first link about VMware:
"To enable a virtual machine for accelerated 3-D
1. Choose a virtual machine with Windows 2000 or XP guest operating system."
and for virtualbox, i was wrong about 3d acceleration support, but here again i will quote your second link:
"The 3D acceleration currently has the following preconditions:
It is only available for certain Windows, Linux and Solaris guests. In particular:
For Windows guests, support is restricted to 32-bit versions of XP and Vista. Both OpenGL and Direct3D 8/9 are supported (experimental)."
so for windows 98 no 3d acceleration in virtual machine.
althrought you can compile and test and the host.
but in my case (win7 x64) dx11 doens't like dx6 build.
all that to say, if you are in same case than me, don't waste your time with VM. better have an old PC to install win98.