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

Lakitu

@Lakitu
About
Posts
35
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Encryption - how do I store a password/key in my App?
    L Lakitu

    But I don't want users to have to enter a password for two reasons: 1. A user shouldn't have to care about internal things 2. The user password (which equals the one hashed and put in the source) has to be given to each user If a train station is where the train stops, what's a workstation...?

    .NET (Core and Framework) security question csharp wcf graphics

  • Encryption - how do I store a password/key in my App?
    L Lakitu

    Hi all, I'm working on a C# project and need to store sensitive data (things like authentication tokens for web services etc.). Because C# applications can easily be reverse-engineered I want to encrypt/obfuscate these values with one of the provided encryption classes. However, to decrpyt these values at runtime I need the key/initialization vector. These would need to be stored inside the application as well -> they're visible in a decompiler. That's some kind of "chicken and egg" problem, does anyone have a hint or solution for this? Thanks If a train station is where the train stops, what's a workstation...?

    .NET (Core and Framework) security question csharp wcf graphics

  • Installing a service without using ServiceProcessInstaller/ServiceInstaller
    L Lakitu

    Hi, I need to install services dynamically at runtime, without using InstallUtil.exe or a setup project. Do I have to use the "old" Win32 service APIs like CreateService or is there a way to do this natively in the framework? If a train station is where the train stops, what's a workstation...?

    C# question workspace

  • GetNumberFormat for integer values
    L Lakitu

    I don't get an error, I don't want to use the NUMBERFMT structure but use the user locale settings for the number format, only without the fractional part. Maybe there's an API to get the number format, but apparently it's not GetNumberFormat :doh: And I wanted to avoid having to call GetLocaleInfo for each member of the NUMBERFMT struct.

    C / C++ / MFC json

  • GetNumberFormat for integer values
    L Lakitu

    I'm trying to use the GetNumberFormat API for integer values. No fractional digits and no decimal seperator should appear in the output. I want to use the API to account for locale settings. The results should look similar to the file sizes in Explorer's File Properties dialog.

    C / C++ / MFC json

  • Saving/loading bitmaps
    L Lakitu

    I'm looking for a way to save data in the Windows BMP format. The code should run on Unix platforms, too, so API functions are not applicable. If a train station is where the train stops, what's a workstation...?

    C / C++ / MFC json question

  • Real quick question...
    L Lakitu

    Use the WideCharToMultiByte() API. It's documented in MSDN. Set the cbMultiByte parameter to 0 to determine the length of the target (ASCII) buffer. Then allocate a char buffer and call the API again to do the actual conversion. If a train station is where the train stops, what's a workstation...?

    C / C++ / MFC question help

  • MultiSelect CFileDialog (Open)
    L Lakitu

    You have to use GetStartPosition() and GetNextPathName() to iterate through the list of files. If a train station is where the train stops, what's a workstation...?

    C / C++ / MFC tutorial question

  • Trouble with Serial programming in NT
    L Lakitu

    After you've opened the port with ::CreateFile you can use ::WriteFile to write to the port. Use ::SetCommState to control the DTR/RTS lines, the baud rate and parity settings via the DCB structure. If a train station is where the train stops, what's a workstation...?

    C / C++ / MFC com hardware help question

  • InvokeHelper question
    L Lakitu

    DLLs usually incorporate the TLB as a resource. OLe View can read those as well. Just load the dll (or exe) instead. If a train station is where the train stops, what's a workstation...?

    C / C++ / MFC question

  • Making accelerators work?
    L Lakitu

    In MFC accelerators can only be used in frame windows and their descendants because all accelerator translation happens deep down in the main message loop. Since (modal) dialogs have their own message loop, accelerators defined in the resource file do not apply. Maybe you can use a modeless dialog, but I'm not sure that will work as expected... If a train station is where the train stops, what's a workstation...?

    C / C++ / MFC question learning

  • InvokeHelper question
    L Lakitu

    You can use OLE View that comes with VC++ 6.0. You open a typelib, select the appropriate interface (probably an IDispatch-derived one). Browse through the methods and you'll notice ids. If a train station is where the train stops, what's a workstation...?

    C / C++ / MFC question

  • How do i know the complated path of a program?
    L Lakitu

    Use GetModuleFileName() If a train station is where the train stops, what's a workstation...?

    C / C++ / MFC question

  • conversion
    L Lakitu

    Use the OLE2T() macro.


    Look! They have the Internet on computers now! (Homer J. Simpson)

    C / C++ / MFC tutorial

  • String problem
    L Lakitu

    Split up the string using strtok() or the Tokenize() CString member if you're using MFC.


    Look! They have the Internet on computers now! (Homer J. Simpson)

    C / C++ / MFC help tutorial question

  • Getting version number of IUnknown interface?
    L Lakitu

    First of all, interfaces don't have version numbers, they are supposed to be immutable. You can get the version of the executable that implements the interface by using the GetFileVersionInfo and related APIs.


    Look! They have the Internet on computers now! (Homer J. Simpson)

    C / C++ / MFC question tutorial announcement

  • PostMessage Problem
    L Lakitu

    Try passing 0x20000000 as lParam value. According to the docs, that defines the ALT key as being pressed.


    Look! They have the Internet on computers now! (Homer J. Simpson)

    C / C++ / MFC help

  • GetLastError
    L Lakitu

    That's really hard to tell without knowing the surrounding code.

    C / C++ / MFC help question

  • Error when use IDiskQuotaUser interface.
    L Lakitu

    chkesp errors usually have their origins in passing around malicious pointers and/or wrong parameter sizes and counts. In this case it could be the LONGLONG value that's used in those calls. Happened to me once. :omg:

    C / C++ / MFC help tutorial question

  • Platform question
    L Lakitu

    Unfortunately not... Transpareny was introduced in W2K (WinNT 5.0)

    C / C++ / MFC 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