philip.sion
October 13th, 2002, 03:55 PM
This topic is the continuation of the one about Remote Wonder plugin "bug"
I still can't have the plugin working, it seems to be dumb, and when I try to exit girder (right click on tray icon then exit girder) I got following messages :
Critical Error : Plugins disable failed
Critical Error : Query unload failed unloading anyway
Critical Error : Plugins disable failed
.......
Program error Girder cause problem in kernel32.dll
And then the program is stopped.
I think that this is linked with the fact that the plugin doesn't work (although it seems to work for others).
Here is my question :
In the Girder plugin source, I saw the following function :
// Girder Plugin Interface
DWORD WINAPI WndThread( LPVOID lpParameter )
{
MSG msg;
// Register the windows class
WNDCLASS wndClass = { 0, WndProc, 0, 0, g_hInstance,
NULL,
LoadCursor( NULL, IDC_ARROW ),
(HBRUSH)GetStockObject(WHITE_BRUSH),
NULL, "ATI Remote Wonder Plugin For Grider Class" };
RegisterClass( &wndClass );
// Create the render window
g_hWnd = CreateWindow( "ATI Remote Wonder Plugin For Grider Class", "ATI Remote Wonder Plugin For Grider Window",
WS_OVERLAPPED,
CW_USEDEFAULT, CW_USEDEFAULT,
100, 100, NULL, NULL,
NULL, 0 );
// MessageBox(0, "griderplugin: created window", "hi", MB_OK );
while( GetMessage( &msg, g_hWnd, 0, 0 ) != 0 )
{
TranslateMessage( &msg );
DispatchMessage( &msg );
}
// MessageBox(0, "griderplugin: exiting thread", "hi", MB_OK );
return 0;
}
I guess this is the "core" of the plugin, creating a windows for receiving messages from the RW plugin and sending them to Girder on and on.
As you can see, the coder left "traces" that show that maybe once the windows creation was not always successful.
So : is it the normal way to proceed ? can this explain the bug when exiting ? how to solve this and make the plugin work ?
If one of you has any idea...
Philip - A poor "half-user" of Girder ;-)
I still can't have the plugin working, it seems to be dumb, and when I try to exit girder (right click on tray icon then exit girder) I got following messages :
Critical Error : Plugins disable failed
Critical Error : Query unload failed unloading anyway
Critical Error : Plugins disable failed
.......
Program error Girder cause problem in kernel32.dll
And then the program is stopped.
I think that this is linked with the fact that the plugin doesn't work (although it seems to work for others).
Here is my question :
In the Girder plugin source, I saw the following function :
// Girder Plugin Interface
DWORD WINAPI WndThread( LPVOID lpParameter )
{
MSG msg;
// Register the windows class
WNDCLASS wndClass = { 0, WndProc, 0, 0, g_hInstance,
NULL,
LoadCursor( NULL, IDC_ARROW ),
(HBRUSH)GetStockObject(WHITE_BRUSH),
NULL, "ATI Remote Wonder Plugin For Grider Class" };
RegisterClass( &wndClass );
// Create the render window
g_hWnd = CreateWindow( "ATI Remote Wonder Plugin For Grider Class", "ATI Remote Wonder Plugin For Grider Window",
WS_OVERLAPPED,
CW_USEDEFAULT, CW_USEDEFAULT,
100, 100, NULL, NULL,
NULL, 0 );
// MessageBox(0, "griderplugin: created window", "hi", MB_OK );
while( GetMessage( &msg, g_hWnd, 0, 0 ) != 0 )
{
TranslateMessage( &msg );
DispatchMessage( &msg );
}
// MessageBox(0, "griderplugin: exiting thread", "hi", MB_OK );
return 0;
}
I guess this is the "core" of the plugin, creating a windows for receiving messages from the RW plugin and sending them to Girder on and on.
As you can see, the coder left "traces" that show that maybe once the windows creation was not always successful.
So : is it the normal way to proceed ? can this explain the bug when exiting ? how to solve this and make the plugin work ?
If one of you has any idea...
Philip - A poor "half-user" of Girder ;-)