problem with ATL and RC1 ?
I am the developer of Future Pinball (www.futurepinball.com) and having installed Vista RC1 I thought I would try out my program on it.
I noticed that all the objects in my game (which are ATL Simple Objects) did not show up on my property viewer and the visual basic script (which I use for game logic) didn't work. I've not installed VS2005 yet on vista so I've not tried to work out what the issue is. When I first ran Beta 2 I also noticed the similar issues but I found that re-registering the type libary via
_Module.UpdateRegistryFromResource(IDR_FuturePinball, TRUE);
_Module.RegisterServer(TRUE);
char szFileName[_MAX_PATH];
if (GetModuleFileName(hInstance, szFileName, _MAX_PATH))
{
ITypeLib *ptl = NULL;
MAKE_WIDEPTR_FROMANSI(wszFileName, szFileName);
if (SUCCEEDED(LoadTypeLib(wszFileName, &ptl)))
{
RegisterTypeLib(ptl, wszFileName, NULL);
ptl->Release();
}
}
worked and I could get access to the ATL properties. Under RC1 I get nothing at all.
Does any body have any ideas what might be causing this.
I must say I am very impressed with Vista. Between B2 and RC1 it feels a lot more rock solid.
Cheers
Chris Leathley
www.futurepinball.com

