Accessing .net resources from unmanaged code?
From: rfmount (rfmount_at_discussions.microsoft.com)
Date: 09/21/04
- Next message: rfmount: "RE: How do I make a PIA for VBA?"
- Previous message: Pavel Savara: "(out pointer to) array of structs marshaled from c++ to c# as return value"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 21 Sep 2004 07:53:02 -0700
Our users are able to customize our MFC framework app by adding custom
commands written in VB6. The app decorates a command button with a bitmap
obtained from the command DLL's resources. We now wish to support similar
customization with commands written in VB.NET but we have not been able to
obtain the bitmap from the assemby's resources. Using a procedure similar to
the one for VB6 we find that LoadLibrary(..<assembly dll>..) succeeds but a
subsequent call to LoadImage(..<resource name>, IMAGE_BITMAP..) fails.
The development environment for the framework app is VS6.
- Next message: rfmount: "RE: How do I make a PIA for VBA?"
- Previous message: Pavel Savara: "(out pointer to) array of structs marshaled from c++ to c# as return value"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|