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

hyling

@hyling
About
Posts
46
Topics
18
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • VS 2005 Property Sheets
    H hyling

    Hi, I'm having problems using Property Sheets in VS 2005. I go to the Property Manager Pane, add a new property sheet to project A. I then go to Project B and add the same property sheet. When I change a setting in the property sheet, none of the settings in the project that inherits the property sheet changes. I am changing the Build Events> Post-Build Event Property. What am I doing wrong? Thanks Hua-Ying

    Visual Studio visual-studio question

  • using a regular expression replace string in VS 2003
    H hyling

    Oh I see, that's really cool! Thanks Hua-Ying

    Visual Studio visual-studio regex question

  • using a regular expression replace string in VS 2003
    H hyling

    Hi, According to the documentation, in the "find & replace" dialog I should be able to use a regular expression as a replacement string if the "Use:" checkbox is enabled and "Regular Expressions" is selected. I'm trying to do the following: replace the first string with the second string: mName kName mValue kValue mDescription kDescription I'm using the following regular expressions in the find and replace fields: find what: "^m.+" replace with: "^k.+" Did I miss something? Thanks Hua-Ying -- modified at 15:20 Thursday 29th September, 2005

    Visual Studio visual-studio regex question

  • #define syntax for create a class instance
    H hyling

    Thanks that really does work! I've always though that argument in a #define were separated by spaces so that it would see 3 arguments there. I guess I was wrong!

    C / C++ / MFC question

  • #define syntax for create a class instance
    H hyling

    The syntax error only occurs when I try to use the macro. The errors are: error C2059: syntax error : ')' error C2146: syntax error : missing ')' before identifier 'tempLogger' error C3861: 'tempLogger': identifier not found, even with argument-dependent lookup Hua-Ying

    C / C++ / MFC question

  • #define syntax for create a class instance
    H hyling

    error C2059: syntax error : ')' error C2146: syntax error : missing ')' before identifier 'tempLogger' error C3861: 'tempLogger': identifier not found, even with argument-dependent lookup

    C / C++ / MFC question

  • #define syntax for create a class instance
    H hyling

    Hi, Is it possible to create a macro that would create an instance of a class? I'm trying this but the compiler won't accept it: #define Logger() (MyLogger tempLogger(__FUNCTION__, __FILE__, __LINE__)) Thanks Hua-Ying

    C / C++ / MFC question

  • Constructor doesn't get called?
    H hyling

    Hi, I'm using the VS .net 2003 compiler. For some reason when create an instance of a class with: ClassName instance(); the default constructor doesn't get called. If the instance was created with: ClassName instance; It does call the default constructor; The code is pretty simple:

    ClassName::(void)
    {
    Init();
    }
    

    PS is there anyway to keep the forumn from interpretting my code as a smiley? :wtf: Thanks Hua-Ying

    C / C++ / MFC csharp visual-studio question

  • Debugging Header includes
    H hyling

    Both suggestions were very helpful! Thanks Hua-Ying :)

    C / C++ / MFC question

  • Debugging Header includes
    H hyling

    Hi, I'm trying to prevent certain Microsoft Platform SDK headers from being included into my project. Is there a view that shows the list of files as the compiler is compiling them, along with the header files that get included in the compile process? The output view that the compiler show is not detailed enough, it doesn't show which file actually #include a file. Thanks Hua-Ying

    C / C++ / MFC question

  • Switch between Unicode and ANSI
    H hyling

    I found it!! My project was generated by another program and it set the Preprocessor define UNICODE in the project. So it was in the Project Properites setting under C/C++ > Preprocessor > Preprocessor Definitions. This is the reason it didn't show up when I searched the code for #define UNICODE. Thanks for the help!! Hua-ying

    C / C++ / MFC csharp visual-studio question

  • Switch between Unicode and ANSI
    H hyling

    Yes I searched for both UNICODE and _UNICODE.

    C / C++ / MFC csharp visual-studio question

  • Switch between Unicode and ANSI
    H hyling

    Hi, I've got a project where for some reason unicode support is turned on in the code, I've come to this conclusion because it is using the "W" versions of certain functions. I've done a search for #define UNICODE but didn't find in the code. I don't see an option for this in the Visual Studio Preferences either. Is there another way to turn it off? Thanks Hua-Ying

    C / C++ / MFC csharp visual-studio question

  • Proper way to install drivers in the windows/system32/drivers directory
    H hyling

    Hi, I need to install my driver in the /windows/system32/drivers directory if it doesn't already exist. The user would prefer not to have to run an installer just to have one driver copied. The driver could live in my application directory but I want to share the driver with other applications What is the correct way to do that is compatible with win 2000, win xp, win xp server, and other supported windows versions? I found the function GetSystemWindowsDirectory. Should I just append /drivers/ to the path returned to this function and copy my driver to that path? Thanks! Hua-Ying

    C / C++ / MFC question sysadmin

  • supressing a unused variable warning
    H hyling

    Thanks! UNREFERENCED_PARAMETER(z); worked for me. Hua-Ying

    C / C++ / MFC question

  • supressing a unused variable warning
    H hyling

    Hi, How would I supress a warning for a certain variable which I know is unused? On other compilers I can use something like #pragma unused (variableName). Thanks Hua-Ying

    C / C++ / MFC question

  • check if a file exists
    H hyling

    Thanks, I'll take a look at that! Hua-Ying

    C / C++ / MFC question

  • check if a file exists
    H hyling

    Thanks, love your signature! :laugh: Hua-Ying

    C / C++ / MFC question

  • check if a file exists
    H hyling

    What function should I use to check if a file exists? I came across it when I didn't need it, now that I need it I can't find it. :( Gotta love how that works. :-D Thanks! Hua-Ying

    C / C++ / MFC question

  • Static Linking
    H hyling

    Interesting, I'll check. Thanks Hua-Ying

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