Re: IMetaDataEmit DefineUserString

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Matt,

Sorry for letting you wait.

I have contacted "Jan Kotas" for this article. And he has confirmed that
there is a little bug in the sample code snippet. We should change
ILCode.Flags_CodeSize = 0x42; to ILCode.Flags_CodeSize = 0x2E; . I have
applied this change and everything works well now.

Hope this helps

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

.



Relevant Pages

  • Re: Wrap function calls in try/except blocks
    ... Having less than competent colleagues is not an excuse for letting them ... needlessly burden an ongoing project, and all of the others working on ... > a bug will occur at that point. ... explicit about where it was thrown than your code is even attempting). ...
    (comp.lang.javascript)
  • Re: Check group member ship or a user
    ... > Just out of curiosity, what version of .NET are you using? ... > of 1.0 had a bug where IsInRole was case sensitive. ... > quick Google search should turn up some sample code that shows you how to ... > Joe K. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Check group member ship or a user
    ... > Just out of curiosity, what version of .NET are you using? ... > of 1.0 had a bug where IsInRole was case sensitive. ... > quick Google search should turn up some sample code that shows you how to ... > Joe K. ...
    (microsoft.public.dotnet.security)
  • Re: simpleDateFormat and April month
    ... i had a bug to report. ... Here is sample code to test: ... > public Date StrToDatethrows Exception { ...
    (comp.lang.java.programmer)
  • RE: Exception raised when drawing many circles
    ... The vertex buffer is not mine but the one used internally by ... |>the class Line (there is no vertex buffer in my sample code). ... this is not a bug in Line.DrawTransform, you get this behavior because your display card does not support D3DLINECAPS_ANTIALIAS. ... Microsoft Online Partner Support ...
    (microsoft.public.win32.programmer.directx.managed)