Sorry for late response but there was a lot to do in the last weeks. So -
strings are working fine but there are html entries I want to read too and I
am not able. My LoadString command looks like
StringBuilder sb = new StringBuilder(256);
int len = LoadString(hModule, resID, sb, sb.Capacity);
Thanks for your help
"Dmitriy Lapshin [C# / .NET MVP]" <x-****@no-spam-please.hotpop.com> schrieb
im Newsbeitrag news:ef**************@TK2MSFTNGP15.phx.gbl...
Hello Arne,
Given you are ready to full-fledged P/Invoke, use the following Win32
APIs:
LoadLibrary to load the DLL and get its module handle
LoadStringW to load a resource string from the DLL. Use the module handle
as the handle passed to LoadString.
--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx
<Arne Schittenhelm> wrote in message
news:df********************************@4ax.com... Hello,
How can I get access and read strings from a Win32 String Resource DLL
with C#?