Re: Custom Resource Type problems
From: Shon Shah [MSFT] (shonsh_at_online.microsoft.com)
Date: 02/11/05
- Next message: Shon Shah [MSFT]: "Re: Windows Cluster Mount Point"
- Previous message: Michelle: "Re: Windows Cluster Mount Point"
- In reply to: ryan.rounkles_at_gmail.com: "Custom Resource Type problems"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Feb 2005 10:44:23 -0800
Ryan,
Can you please ensure that you are using the latest platform SDK and the
CResTyp.awx that ships with it (the one that has Feb 2003 timestamp)? The
one that ships with VC6 is ancient one and should NOT be used.
Can you please ensure that resource DLL and extension DLL do not have a
dependency on a missing DLL? i.e. are you able to load the resource DLL on
the node and extension DLL on node as well as client using depends.exe
without any issues?
The samples and the code generated using wizard that ships with latest
platform SDK should build without any errors in VC6. The compiler errors
mentioned might indicate that the SDK include paths are not correctly setup
in VC6.
I quickly used the wizard that ships with latest platform SDK to generate
code for a resource and extension DLL with following settings (can be found
in settings.txt), built it using VS .NET 2003 and was able to create the
resource type and the resource without any issue on W2K3 cluster.
=====
A Resource DLL project and a Cluster Administrator Extension DLL project
will be generated for the "Ryan" resource type.
The following options have been chosen:
- Controls an application: "%windir%\\notepad.exe"
- Extend Cluster Configuration Setup Wizard.
- Extend context menus for resource type "Ryan".
The following properties are used with this resource type:
test1 - type SZ
test2 - type DWORD Default=0 Range=(0,4294967295) (Required)
=====
Hope this helps.
-- Regards, Shon Shah Software Design Engineer/Test Microsoft Cluster Server This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples, if any, are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm Please do not send email directly to this alias. This alias is for newsgroup purposes only. <ryan.rounkles@gmail.com> wrote in message news:1107973873.187834.68230@f14g2000cwb.googlegroups.com... >I have implemented a custom resource type and admin extension, using > the cluster resource wizard in VS6. I then import the project into > VS.NET 2003 (customer requires all code be compiled with VS.NET 2002 or > 2003), write code, compiles fine. When I install the resource and > extension, everything appears fine (name shows up correctly in the list > of resource types), but any attempt to create the resource fails with > the message > > "An error occurred attempting to read properties for the '%name%' > resource: > The instruction at "0x > Error ID: -1073741819 (c0000005)." > > I've googled this, no help. Some comments in a microsoft webcast were > pertinent, but didn't fix the problem. If I create the resource from > the commandline (cluster.exe) that succeeds, but then attempts to set > the private properties (through GUI or cmd line) fail with the message: > > "An error occured attempting to add pages from the > '{REALLY_LONG_GUUID}'extension DLL: > > Unspecified error > > Error ID: -2147467259 (80004005)." > > This has me completely befuddled. To make matters worse, the code > generated from the cluster resource wizard in VS6 won't even compile > under VS6, not even the examples provided by microsoft (errors with > undefined constants and functions). Any and all help is greatly > appreciated. >
- Next message: Shon Shah [MSFT]: "Re: Windows Cluster Mount Point"
- Previous message: Michelle: "Re: Windows Cluster Mount Point"
- In reply to: ryan.rounkles_at_gmail.com: "Custom Resource Type problems"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|