Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

HZ_79

@HZ_79
About
Posts
7
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Transform non english words to a unique representation
    H HZ_79

    Thanks man, I can know if a char is in the ASCII range, I can do this: if((int)ch <= 255), and this is sufficient in my case, but I try to find a better way to encode the string like the url format. As Does the HttpServerUtility.UrlEncode method. But I cannot add a reference to the System.web namespace, I have to find some alternative. Thanks for your advice.

    HZ

    C# csharp

  • Transform non english words to a unique representation
    H HZ_79

    Hello everybody, I need a method in c# to transform non english word to a unique string representation. The method should detect if the word contains non english characters and, only in that case it converts the word to diffrent representation, the algo is the following:

    String transformString(String inputString)
    {
    if(inputString.containsNonEnglishChar())
    {
    String res = "";
    foreach(char ch in inputString)
    {
    res += transformChar(ch);
    }
    return res;
    }
    return inputString;// return the word as is
    }

    I can write the method my way, but I prefer to find something standard, like base 64 or URL encoding or something famous. Thanks in advance.

    HZ

    C# csharp

  • Debugging problem
    H HZ_79

    Hi all, I have a component dll compiled as /clr (mixed), I cannot put a break point in any module, could anyone suspect how to debug it? Notice that: The startup project is written in C# and it enables debugging for unmanaged code. In the build configuration for the sicky dll: Debugging/Attach property is set to true. Linker/Debugging/Generate Debug Info property is set to true. Linker/Debugging/Generate program databse file --> (the same name of the dll).pdb The optimisation options are set to default. :omg: Regards,

    HZ

    Managed C++/CLI csharp dotnet debugging help tutorial

  • How to cast pointer from one type to another type
    H HZ_79

    Hi, I am not an expert, but I think the code below or a similar code should match: Update* upd = new Update(); upd->Posn = data[0] + 256*data[1]; upd->Pres = data[2] + 256*data[3]; upd->Temp1= data[4] + 256*data[5]; upd->Temp2= data[6] + 256*data[7]; upd->status=data[8]; This is a simple way to do your cast by hand. Thanks,

    HZ

    Managed C++/CLI c++ tutorial announcement

  • Calling old syntax from unmanged compiled as new syntax
    H HZ_79

    I have to call some code written in a project compiled as old syntax /clr:oldsyntax, from an unmanaged zone in a project compiled with the option /clr (new syntax). Is this possible? the compiler generates C3699: Cannot use this indirection when I tried to use gcroot<MyForm*>. I don't have the time to convert the code compiled in old syntax to new syntax. Thanks,

    HZ

    Managed C++/CLI dotnet question

  • Inheritance from a form.
    H HZ_79

    Does anyone know how to safely inherit from a "Form"? When I do this my owned Form stops be robust in Design mode. Thanks for advance. HZ

    C# design oop tutorial question

  • Execute a program inside a C# program
    H HZ_79

    What you are trying to do is wrong, this is conceptuelly wrong. Try to do the communicator as an embed control to your application, :) HZ

    C# csharp help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups