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

Search:

Type: Posts; User: 2kaud

Page 1 of 80 1 2 3 4

Search: Search took 0.13 seconds.

  1. Thread: MSDN issue

    by 2kaud
    Replies
    4
    Views
    72

    Re: MSDN issue

    I suppose it depends upon whom at MS looks at the reported issue. Also I was informed about reporting non-VS issues after my issue had been investigated...

    From MS reply:
  2. Thread: MSDN issue

    by 2kaud
    Replies
    4
    Views
    72

    Re: MSDN issue

    I've been down this road before with Microsoft! According to MS, 'Report a problem' within VS is for reporting VS related issues only. Issues with the Windows SDK (including documentation) need to be...
  3. Replies
    2
    Views
    103

    Re: Circular Buffer POP()

    If empty, you could raise an exception rather than try to return something.

    Another way would be to return a type optional See https://en.cppreference.com/w/cpp/utility/optional (only c++17)
    and...
  4. Re: CreateDialog() without using Resource.h and '.rc' file..?

    Have a look at CreateDialogIndirectParam() https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-createdialogindirectparama

    This lets you specify the contents of a dialog using...
  5. Replies
    6
    Views
    392

    Re: Hello world prgram not runing

    The program in post #1 is a console program so cout should be used and #include<windows.h> and MessageBox() should not used.

    As the OP has not posted further since the post #1, I'm guessing that...
  6. Replies
    4
    Views
    441

    Re: Reading HDD sectors

    Probably because the layout of an exFat boot sector isn't the same as your GENERIC_BOOT_SECTOR struct. The layout of an exFat volume is documented at http://www.ntfs.com/exfat-boot-sector.htm - which...
  7. Replies
    1
    Views
    166

    Re: Your biggest struggles / wishes

    ... to what purpose?
  8. Re: Reading contents of file into SetWindowTextA for output into an Edit field of win

    From looking at the posts, I sort of assumed this was c code and not c++ ??...
  9. Re: Any idea how to "compile files by .xls macro"?

    The file locations are hard-coded into the macro. For different locations you need to edit and change this macro.
  10. Re: Any idea how to "compile files by .xls macro"?

    I haven't tried it, but looking at the files the makra.xls file has a macro which is used to produce the .par file from the twoworlds.xls file. This process uses the paramsparser.exe file. There is...
  11. Replies
    16
    Views
    596

    Re: A question about multi threading.

    That's why using 8 threads is only slightly faster than using 4 - and not approaching 8 times faster than single. The extra performance of 8 over 4 comes from the 4 'hyper cpus'. As the threads are...
  12. Replies
    16
    Views
    596

    Re: A question about multi threading.

    Are you using hyper-threading? If yes, that would give an effect of 8 CPU's. If you do Task Manager/Performance, how many CPU graphs are shown?
  13. Replies
    16
    Views
    596

    Re: A question about multi threading.

    The way that Open MP and c++11 multi-threading works is different. As that reference mentions, Open MP is usually implemented using thread pools - whereas with c++ its done with creating specific...
  14. Re: ERROR 1063: ERROR_FAILED_SERVICE_CONTROLLER_CONNECT When creating a Windows Servi

    Have a look at this and its links https://stackoverflow.com/questions/17377037/c-windows-service-error-1063
  15. Replies
    16
    Views
    596

    Re: A question about multi threading.

    If you are going to do much multi-thread work with C++ I strongly suggest you get:

    C++ Concurrency In Action by Anthony Williams (2nd Edition)...
  16. Replies
    16
    Views
    596

    Re: A question about multi threading.

    See https://en.cppreference.com/w/cpp/thread/mutex
  17. Replies
    16
    Views
    596

    Re: A question about multi threading.

    At first look it seems to be. Your threads don't use shared variables or shared memory so no locking is required. .join() will ensure that all the threads have finished before the next section of...
  18. Re: SERVICE_TABLE_ENTRY - Incorrect character format for the name of the service...?

    The issue is the const. Try casting serviceName to LPWSTR when used to initialise the array.

    PS. The statement


    LPWSTR serviceName = TEXT("name")


    actually has serviceName as type LPCWSTR...
  19. Replies
    4
    Views
    441

    Re: Reading HDD sectors

    What is sVolume set to?

    For reading a physical drive/volume you use DeviceIoControl See https://docs.microsoft.com/en-us/windows/desktop/api/ioapiset/nf-ioapiset-deviceiocontrol and the link to...
  20. Thread: Web designing

    by 2kaud
    Replies
    2
    Views
    257

    Re: Web designing

    Web design is the process of creation and presentation of the required content on web pages - which the end-user can access through the internet with the help of a web browser.

    There's load of...
  21. Re: Open a blank screen and draw with mouse on it

    5) I wouldn't, as has been mentioned previously. I'd use a graphics framework. WIN32 could be used, but you'll have an awful amount of work to do and using a graphics framework will make coding a CAD...
  22. Replies
    9
    Views
    16,863

    Re: MTTTY Sample Program

    Don't believe everything you read! Create a new project and open the .sln file. This will create the solution with the required .c/.h files etc. You then need to make changes to two of the source...
  23. Replies
    9
    Views
    16,863

    Re: MTTTY Sample Program

    How are you compiling - using mttty.mak or from VS IDE Build/Build Solution?
  24. Re: VS2019 - why doesn't it like vcxproj files any more ?

    This link may be useful. https://docs.microsoft.com/en-us/cpp/build/project-property-inheritance?view=vs-2019
  25. Re: VS2019 - why doesn't it like vcxproj files any more ?

    My Target Platform is Windows 10 (and can't be changed on my system - even though I'm using Windows 7!). The SDK version is 10.0 (latest installed version). Changing SDK Version to <inherit from...
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)