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
L

lesnikowski

@lesnikowski
About
Posts
8
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • UI Thread in C#
    L lesnikowski

    You can use Application.Run more then once in an Application. Try creating new splash form, pass it to Appication.Run method then run your main form (Application.Run(new MainForm());) When you need to close the splash screen just close the splashForm (splashForm.BeginInvoke(new MethodInvoker(splashForm.Close));)

    C# csharp design tutorial

  • Thread question
    L lesnikowski

    All threads will see the same struct.

    C / C++ / MFC question com sysadmin performance

  • Right click?
    L lesnikowski

    that was of course association code. You can also use .reg files during installation. Look also at this methods: CWinApp::EnableShellOpen CWinApp::ParseCommandLine CWinApp::ProcessShellCommand

    C / C++ / MFC question c++

  • Right click?
    L lesnikowski

    MFC code: CRegKey *r=new CRegKey(HKEY_CLASSES_ROOT); r->RecurseDeleteKey(".xyz"); r->RecurseDeleteKey("xyzfile"); r->Create(HKEY_CLASSES_ROOT,".xyz"); r->SetStringValue("","xyzfile"); r->Close(); r->Create(HKEY_CLASSES_ROOT,"xyzfile"); r->SetStringValue("","file description"); r->Close(); r->Create(HKEY_CLASSES_ROOT,"xyzfile\\shell\\open\\command"); r->SetStringValue("","c:\\YourApplication.exe \"%1\""); r->Close(); r->Create(HKEY_CLASSES_ROOT,"xyzfile\\DefaultIcon"); r->SetStringValue("","c:\\YourApplication.ico"); r->Close(); delete r;

    C / C++ / MFC question c++

  • Process Information
    L lesnikowski

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/perfmon/base/taking_a_snapshot_and_viewing_processes.asp

    C / C++ / MFC question c++ com

  • using unsafe code in c#
    L lesnikowski

    CppClass::Foo(System::String *s) { const Char __pin* name = PtrToStringChars(s); SomeSystemFunctionW(name) //W=WIDE (UnicodeVersion) } That way you'll get nice interface in c# .

    C# csharp c++ help

  • Named pipes over different processes
    L lesnikowski

    but what kind of a value does dwOpenMode have? Access specified when a pipe is opened (CreateFile) must be compatible with the access specified in the dwOpenMode (CreateNamedPipe). if PIPE_ACCESS_OUTBOUND or PIPE_ACCESS_INBOUND you must call CreateFile with GENERIC_READ, GENERIC_WRITE accordingly as dwDesiredAccess param.

    C / C++ / MFC security help

  • Newline in Textbox
    L lesnikowski

    try using "firstline\r\nsecondline";.

    C# 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