When a new Resource file is added to a project the Access Modifier defaults to Internal.
There is a small combobox at the top of the Resource editor that allows it to be changed.
13 years ago
One step forward, two steps back
| IDL Type | .NET Type |
| char | System.SByte |
| short | System.Int16 |
| int, long, HRESULT and SCODE | System.Int32 |
| int64 | System.Int64 |
| unsigned char | System.Byte |
| unsigned short | System.UInt16 |
| unsigned int and unsigned long | System.UInt32 |
| uint64 | System.UInt64 |
| float | System.Single |
| double | System.Double |
| BSTR, LPSTR and LPWSTR | System.String |
| VARIANT_BOOL | System.Boolean |
| DATE | System.DateTime |
| GUID | System.Guid |
| DECIMAL | System.Decimal |
| CURRENCY | System.Decimal |
| VARIANT | System.Object |
| IUnknown* | System.Object |
| IDispatch* | System.Object |
| void* | System.IntPtr |
| IDispatchEx* | System.Runtime.InteropServices.Expando.IExpando |
| IEnumVariant* | System.Collections.IEnumerator |
| COM | IDL |
| boolean and small | char |
| wchar_t | unsigned short |
| hyper and __int64 | int64 |
| [string] char* | LPSTR |
| [string] wchar_t* | LPWSTR |
| byte | unsigned char |
| unsigned hyper and unsigned __int64 | uint64 |