CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: VictorN

Page 1 of 80 1 2 3 4

Search: Search took 1.05 seconds.

  1. Re: Puzzling error from std::stringstream in VS2019

    I use the Enterprise.
    Microsoft Visual Studio Enterprise 2019
    Version 16.8.4
  2. Replies
    6
    Views
    3,680

    Re: How to create a VR grabbing?

    Maybe you asked it not enough precisely? :rolleyes:
  3. Re: Puzzling error from std::stringstream in VS2019

    Yeah! I also already saw the similar behavior of some C-Runtime functions. :(
  4. Replies
    3
    Views
    125

    Re: include headers problem

    You are welcome! :)
  5. Replies
    3
    Views
    125

    Re: include headers problem

    Just copy the GetProjectFullPath declaration and paste it at the begin of your MyConfig.cpp file.
  6. Re: Puzzling error from std::stringstream in VS2019

    John, did you try to install the Windows 10 SDK (10.0.19041.0) instead?
  7. Re: is it safe to use the bitwise XOR for boolean types (in c++)

    You are of course correct. Is is the MS feature.
    I have added this info just because this is
    So Visual C++ means "it is Microsoft specific" ;)
  8. Re: is it safe to use the bitwise XOR for boolean types (in c++)

    Some additional info:
    There is also VARIANT_BOOL type.
    For this type the "true" value VARIANT_TRUE is defined as 0xFFFF
    and the "false" one VARIANT_FALSE as 0x0000
  9. Re: is it safe to use the bitwise XOR for boolean types (in c++)

    Well 2kaud was right.
    true value is 0x01, not 0xFF.

    I was wrong. Sorry! :blush:
  10. Re: is it safe to use the bitwise XOR for boolean types (in c++)

    Microsoft compiler represents bool values as one-byte values being set
    either to 0x00 (false)
    or to 0xFF (true)

    So you can test all the three combination to check whether it works.
    How is boll...
  11. Replies
    10
    Views
    553

    Re: Strange crash with Debug build

    To launch the Repair option for VS2019 you should start the VS Installer, then click the dropbox More and select Repair in context menu.
    35948
  12. Replies
    5
    Views
    246

    Re: LoadLibrary() strangeness with VS2019

    I'm not sure it could help, but try to play with the SetErrorMode function
  13. Replies
    5
    Views
    246

    Re: LoadLibrary() strangeness with VS2019

    From MSDN:
    So never trust the GetLastError return value if the API call succeeds!
  14. Replies
    3
    Views
    232

    Re: __attribute__ ??

    Hi John, as far as I could find here:

    Also have a look at
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/483024f8-4d35-4cfc-ab01-27f37b0b0379/source-for-attribute?forum=vcgeneral
  15. Thread: Jumble Solver

    by VictorN
    Replies
    4
    Views
    3,757

    Re: Jumble Solver

    Are you sure the OP is still waiting (for almost 10 years!) for your link? :confused::rolleyes:
  16. Re: using a dll without the .lib file

    You are welcome!
  17. Re: using a dll without the .lib file

    Yes, of course! See https://forums.codeguru.com/misc.php?do=bbcode#code
  18. Re: using a dll without the .lib file

    Well, did you try LoadLibrary/GetProcAddress?
    And there is another interesting resource: https://www.xspdf.com/resolution/2263630.html
  19. Re: using a dll without the .lib file

    Did you try using GetProcAddress?
  20. Replies
    4
    Views
    394

    Re: structure with function pointers

    I am not sure it is possible.
    Look at the General Properties -> C++ Language Standard
  21. Thread: SQLCMD failure

    by VictorN
    Replies
    7
    Views
    528

    Re: SQLCMD failure

    Could you share your solution?
  22. Replies
    10
    Views
    553

    Re: Strange crash with Debug build

    Hi John,
    I don't have this file in my 14.28.29333 folder either. Only in 14.20.27508 and 14.16.27023
    But maybe this way will help you:...
  23. Replies
    3
    Views
    388

    Re: :: operator new()

    :: usually means global. Just to distinguish from the possible local definition of the same operator or method in a class.
  24. Thread: SQLCMD failure

    by VictorN
    Replies
    7
    Views
    528

    Re: SQLCMD failure

    Could something from
    https://stackoverflow.com/questions/14197802/how-to-connect-sqlcmd-to-the-server...
  25. Replies
    19
    Views
    4,546

    Re: displaying variables on the screen

    1. line 62:
    mxbinned = mxGetCell(prhs[0], m);
    What is mxbinned ?
    What is mxGetCell?

    2. line 72:
    P_total += P_vec[m];
    both P_total and P_vec are integer arrays. So you should be able to...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)