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

Search:

Type: Posts; User: Arjay

Page 1 of 80 1 2 3 4

Search: Search took 0.12 seconds; generated 58 minute(s) ago.

  1. Re: Critical section begin end() changing the auto value

    Click on the My Code Guru Articles link in my signature line. On page 2, you'll find the following two articles:
    Win32 Thread Synchronization, Part I: Overview
    Win32 Thread Synchronization, Part...
  2. Re: Critical section begin end() changing the auto value

    Do yourself a favor and use the RAII (Resource Acquisition Is Initialization) pattern rather than the explicit enter/leave critical section calls.

    Why? Because code like this is problematic:

    ...
  3. Replies
    44
    Views
    8,843

    Re: Activate MDI window

    Once you get it working by following GCDEFs advice and copy the working code to where you need it, do yourself a favor and take your code to the next level.

    Do this by refactoring and remove all...
  4. Replies
    44
    Views
    8,843

    Re: Activate MDI window

    So what started out as a post wondering why focus can't be set on an MDI application has now turned into a single instance tray notify application?

    Clearly it's a bit more complex. That being the...
  5. Re: Start with making basic driver under Win10 x64 and debug it

    If you were part of "today's people", you would be asking questions instead of answering them.
  6. Replies
    44
    Views
    8,843

    Re: Activate MDI window

    Along the lines of what Victor is asking... Are you calling this from the same process the mdi window is in or from a separate process?
  7. Replies
    3
    Views
    1,760

    Re: Memory leak detection

    Create a test solution with exe and dll projects, introduce leaks, and get it working there.
  8. Replies
    3
    Views
    1,760

    Re: Memory leak detection

    The following comment from the link leads me to believe _CRTDBG_ALLOC__MEM_DF only needs to be defined once.

    "By default, _CrtDumpMemoryLeaks outputs the memory-leak report to the Debug pane of...
  9. Replies
    6
    Views
    1,574

    Re: Remaining strip is grey of CMFCTOOLBAR

    The attached image is so grainy I can't tell what's wrong.
  10. Replies
    2
    Views
    1,421

    Re: Develop IPad C++ app

    I suggest rewriting it in a modern framework that supports multiple platforms and forget all about the idea of 'porting.'

    Trying to port an MFC app to an iPad is going to be a hack at best, but...
  11. Replies
    1
    Views
    1,938

    Re: Software to run the rom on the computer ?

    It's called a phone emulator.
  12. Re: Do you use an ORM with C++? What is a good way to use a database with my C++ code

    My preference is to use the ATL OLE DB Consumer classes.

    https://docs.microsoft.com/en-us/cpp/data/atl-database-classes-ole-db-templates?view=vs-2019

    However, compared to the modern ORMs...
  13. Re: How to automatically install virus scan to download the computer ?

    Not sure the question here.
  14. Replies
    19
    Views
    3,365

    Re: VB5 program acquires virus when uploaded to Web

    Wow after reading all that, I have to wonder why folks expect 22+ year old programs to keep running forever.
  15. Thread: Form on the form

    by Arjay
    Replies
    3
    Views
    1,062

    Re: Form on the form

    Is frmCoordinator.ClientRectangle a property or a method? If it is a property it should nit be called with parentheses.

    Try
    rectCaller = frmCoordinator.ClientRectangle;
    Not
    rectCaller =...
  16. Thread: Form on the form

    by Arjay
    Replies
    3
    Views
    1,062

    Re: Form on the form

    You have a typo in the last code snippet. Shouldn't it be frmCoordinator, not Coordinator?
  17. Replies
    10
    Views
    2,106

    Re: Unwanted Toolbar Button

    Does Rogue Wave Stingray handle the toolbar generation? If so, it might be good to post to their forum.
  18. Replies
    5
    Views
    12,747

    Sticky: Re: New Forum area: Xamarin

    Replacement for Xamarin? Check out Maui. https://devblogs.microsoft.com/dotnet/introducing-net-multi-platform-app-ui/
  19. Replies
    19
    Views
    3,365

    Re: VB5 program acquires virus when uploaded to Web

    After you download the file, do you unblock it? In explorer, roght click on the downloaded exe, click properties and click the Unblock checkbox.
  20. Replies
    2
    Views
    2,859

    Re: An easy question

    Take a look at the following link to Environment.GetFolderPath https://docs.microsoft.com/en-us/dotnet/api/system.environment.specialfolder?view=netcore-3.1

    The above link is for .c# net core but...
  21. Re: IEEE 1394 / FireWire programming under VB6.0 ?

    A good place to start is to google "firewire in vb6". I'll leave it up to you to decide if anything is useful in the numerous results.
  22. Replies
    19
    Views
    3,365

    Re: VB5 program acquires virus when uploaded to Web

    Does the pribkem hapowned when the program is uploaded/downloaded to a different site?
  23. Replies
    19
    Views
    3,365

    Re: VB5 program acquires virus when uploaded to Web

    Ah, I stand corrected.
  24. Re: How to only show last record in a linked table and then group these records

    Don't know much about cr, but can you sort the linked table in descending order and select 1 record?
  25. Replies
    19
    Views
    3,365

    Re: VB5 program acquires virus when uploaded to Web

    Any of the traditional VB's like VB5 or VB6 create 16-bit programs. Your OS is 64-bit. It can run 32-bit programs through a 32 bit subsystem, but the ability to run 16-bit programs is disabled by...
Results 1 to 25 of 1991
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)