
Suoritettu
Julkaistu
Maksettu toimituksen yhteydessä
Hello, I am developing a screen capture tool for a multi-monitor environment using the Windows Magnification API. While the capture works perfectly when all monitors have the same resolution and the primary monitor starts at (0, 0), I am encountering crashes (Access Violation) or capture failures in the following specific scenarios: Resolution Mismatch: When the primary monitor's resolution is smaller than the secondary monitor's (e.g., Primary: 1680x1050, Secondary: 1920x1080 or 4K). Negative Coordinates: When the virtual screen's origin starts at a negative value (e.g., x=0, y=-20), which often happens due to monitor alignment in Windows settings. Current Setup: * OS: Windows 10 / 11 * Development Environment: Visual Studio 2017 (C++, Win32 API) * Approach: I created a WS_POPUP Host window and a Magnifier control as its child. The Issue: Whenever I call MagSetWindowSource or SetWindowPos for the magnifier control on the higher-resolution or negatively-positioned monitor, the application either crashes or fails to trigger the MagImageScalingCallback. It seems like the API has trouble calculating internal buffer offsets when the target area exceeds the primary monitor's bounds or involves negative coordinates. What I've tried: * Called SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2). * Clamped the source RECT to the virtual screen bounds using GetSystemMetrics(SM_XVIRTUALSCREEN). * Re-positioned the Host window to the target monitor's origin before capturing. Could you please provide guidance or a robust code snippet to handle these mixed-resolution and negative coordinate issues? Any help would be greatly appreciated. Thank you!
Projektin tunnus (ID): 40271800
26 ehdotukset
Etäprojekti
Aktiivinen 12 päivää sitten
Aseta budjettisi ja aikataulu
Saa maksu työstäsi
Kuvaile ehdotustasi
Rekisteröinti ja töihin tarjoaminen on ilmaista

Your Access Violation crashes in the Magnification API stem from a well-known issue where the internal DWM buffer calculations overflow when the source RECT extends beyond the primary monitor's coordinate space—particularly with mixed-DPI configurations and negative virtual screen offsets. I've worked extensively with the Windows Magnification API, Win32 multi-monitor enumeration, and DPI-aware application development in C/C++, and I've resolved this exact class of bug before. My approach will be to properly marshal the host window and magnifier control per-monitor using `EnumDisplayMonitors` with correct `MONITORINFOEX` bounds, ensure the magnifier's source rect is transformed relative to each monitor's individual DPI scaling factor rather than the primary's, and handle the negative-origin edge case by offsetting the `MagSetWindowSource` rect against `SM_XVIRTUALSCREEN`/`SM_YVIRTUALSCREEN` before the API's internal buffer allocation. I can start working on this immediately and will provide a diagnostic build first to confirm the root cause on your exact monitor configuration.
$50 USD 1 päivässä
4,1
4,1
26 freelancerit tarjoavat keskimäärin $96 USD tätä projektia

You’ll receive clean, optimized code with proper error handling, testing across edge cases, and full documentation for future scalability. We have strong expertise in C++ Win32 API and Windows Magnification API, and can resolve crashes related to multi-monitor setups, DPI scaling, and negative coordinate handling with a stable, production-ready solution. Our team has 6+ years of experience building screen capture tools, remote monitoring apps, and multi-display utilities, including similar projects handling mixed resolutions and virtual screen offsets. We will debug the root cause (buffer offsets, RECT mapping, DPI context) and implement a robust fix ensuring consistent capture across all monitor configurations. You’ll receive clean, optimized code with proper error handling, testing across edge cases, and full documentation for future scalability. Are you using any custom MagImageScalingCallback processing or just relying on default magnifier rendering? Regards, Gensols Dev
$100 USD 7 päivässä
6,0
6,0

Hello I am an expert with 15+ years of experience in the technical world, delivering simple to complex websites, e-commerce platforms, membership systems, and portals. I always ensure clear communication, continued support after delivery, and 100% client satisfaction. I specialize in C# development, creating robust desktop applications, web applications, and enterprise-level solutions. With expertise in .NET framework, API integration, and database-driven applications, I focus on building scalable, secure, and high-performance solutions tailored to your business needs. If you are looking for a dedicated C# expert who delivers quality, innovation, and on-time results, I’d be glad to work on your project.
$100 USD 7 päivässä
5,7
5,7

As an experienced software engineer with a strong background in C and C++ programming, I believe I am best positioned to address the issues you're encountering with your Magnifier API. Having worked on API integrations and automation scripts alongside my full-stack web development and desktop applications experience, I'm well-versed in solving problems just like this - where different screen resolutions can create complications. Further, my proficiency with Windows OS (10 & 11) and Visual Studio 2017 provides me with the familiarity to dive right into addressing your concerns. Furthermore, my work as an embedded systems developer is highly relevant to your project, as I've extensively dealt with designs and solutions for IoT systems involving multiple devices and varying configurations that require solving complex issues resembling those inherent to your project. Given my comprehensive understanding of magnification APIs, monitor settings, and resolutions challenges - coupled with my knack for finding innovative solutions - rest assured that I will be able to provide robust code snippets tailored explicitly towards handling these mixed-resolution and negative coordinate issues you're facing. Let's turn this challenge into an opportunity!
$133,33 USD 1 päivässä
5,4
5,4

As someone with a strong background in C++, my experience encompasses not just the theoretical aspects of API development, but also real-world problem-solving that your project needs. Throughout my 8-year career, I have prided myself on my ability to tackle complex issues head-on and devise innovative solutions. Overall, hiring me for this project guarantees you an expert who is known to deliver high-quality and maintainable code within deadlines. With a commitment to clear communication and collaboration, I assure you of smooth project execution from concept to completion - resulting in an efficient and reliable screen capture tool. Let's discuss this further and get started!
$150 USD 1 päivässä
4,0
4,0

I am a senior developer of ASP.NET Core MVC & CMS & ASP.NET & Java with over 8 years of experience in software development. I am an expert on windows and web development using C#, VB.NET, VB6, ASP.NET, Entity Framework, Spring Boot. I work with ASP.NET, Core, MVC, Web API, WebServices, WCFServices, Webform, SQL Server, MongoDB, MySQL, Crystal Report, RDLC, SSIS, SSRS, HTML, CSS, Javascript, TypeScript, Jquery, AJAX, Angular, TFS, SVN, Github, GitLab, Azure, Plesk, Angular, Angular2, Javascript, HTML, CSS, JQUERY.
$75 USD 7 päivässä
4,2
4,2

Hey , I just went through your job description and noticed you need someone skilled in Windows Desktop, API Development, C# Programming, C Programming, Visual Studio, Windows API, Software Development, C++ Programming, Debugging and Application Performance Monitoring. That’s right up my alley. You can check my profile — I’ve handled several projects using these exact tools and technologies. Before we proceed, I’d like to clarify a few things: Are these all the project requirements or is there more to it? Do you already have any work done, or will this start from scratch? What’s your preferred deadline for completion? Why Work With Me? Over 180 successful projects completed. Long-term track record of happy clients and repeat work. I prioritize quality, deadlines, and clear communication. Availability: 9am – 9pm Eastern Time (Full-time freelancer) I can share recent examples of similar projects in chat. Let’s connect and discuss your vision in detail. Kind Regards, Zain Arshad
$50 USD 4 päivässä
3,9
3,9

Hello, I see you're facing crashes with the Windows Magnifier API whenever the capture region extends into higher‑resolution monitors or lands in negative virtual coordinates. These issues typically stem from how Magnification API internally maps the off‑primary‑monitor buffers. I've spent the last 5 years solving similar Win32 C++ rendering problems, especially multi‑monitor and DPI‑aware edge cases. To fix this, I would normalize all screen coordinates to the virtual desktop origin, compute a transformed RECT that avoids negative offsets, and apply a consistent mapping before feeding it into MagSetWindowSource. I would also adjust your WS_POPUP host window so its logical position matches the DPI‑scaled coordinates of the monitor you're capturing from, ensuring the callback pipeline remains stable. Before I proceed, quick question: Which specific monitor arrangement (coords and resolutions) causes the Access Violation most consistently? Best regards, Generoso III
$120 USD 2 päivässä
2,2
2,2

I have extensive experience in low-level Windows C++ development (Win32, GDI, multi-monitor handling, DPI contexts) and understand the architectural pitfalls of the Magnification API in heterogeneous display environments. I would be happy to review your current implementation and provide either a patch-based correction or a fully refactored stable solution. Looking forward to discussing this further. Kind regards,
$140 USD 1 päivässä
2,1
2,1

Hi, I can easily DO your work IN 24 HOURS, DM me now to get started, PRICE NEGOTIABLE 100% Work satisfaction is provided
$50 USD 1 päivässä
1,7
1,7

Hello, thanks for posting this project. I specialize in robust Windows API solutions, including screen capture and Magnifier integration in multi-monitor setups. I can design a resilient approach to MagSetWindowSource and MagImageScalingCallback that handles resolution mismatches and negative virtual coordinates, with explicit DPI awareness handling and careful window positioning logic across monitors. My plan includes validating virtual screen boundaries, using per-monitor DPI context, and enforcing safe clipping of source RECTs before applying MagSetWindowSource. I will implement guard rails to prevent access violations when capturing from high-DPI or offset monitors and provide a clean abstraction layer to simplify future maintenance. I will also provide a focused, minimal repro and a drop-in patch strategy for existing code paths. What is the current minimum reproducible scenario for the crash (primary vs secondary resolution) and your preferred strategy to stabilize Magnifier capture across mixed-DPI setups? Looking forward to hearing from you. Warm regards,
$110 USD 10 päivässä
1,1
1,1

Hello, I am Yuliia, a seasoned software developer with over 7 years of experience in C++ programming and API development. I have a strong background in resolving complex issues related to Windows APIs. I understand the challenges you are facing with the Windows Magnification API in a multi-monitor environment, especially with resolution mismatches and negative coordinates. I am confident that I can provide a professional solution to address these specific scenarios by implementing precise calculations and efficient error handling mechanisms. Effective communication is key to project success, and I am committed to keeping you informed throughout the development process. I am excited about the opportunity to collaborate and find a robust solution for your screen capture tool. Looking forward to hearing from you soon. Regards, Yuliia
$100 USD 7 päivässä
0,0
0,0

With a comprehensive understanding of API development and software development, my team at Apart Technologies has the expertise you need to tackle your Magnifier API issues head-on. Our thorough grounding in C++, Win32 API, and Visual Studio 2017 provides us with a powerful toolkit to help resolve the crashes and failures you've been experiencing during capture on multi-monitor environments. Drawing on our extensive experience in this domain, we'll find innovative ways to address your specific scenarios - such as resolution mismatches and negative coordinates. We understand that these issues can be frustrating, time-consuming, and damaging to the user experience you have so diligently crafted. So let our team of problem solvers expertly analyze your existing approach and craft a robust code snippet that will handle all your concerns effectively. At Apart Technologies, we don't just stop at project delivery; we go the extra mile to build long-term digital success stories for our valued clients. By choosing us for this task, you aren't just resolving an immediate pain point, but gaining a trusted partner who will continuously work towards ensuring optimum performance across your digital infrastructure. Let's work together to not only fix but enhance your screen capture tool's functioning for a seamless, multi-monitor experience forever!
$60 USD 7 päivässä
0,0
0,0

Hello. Please check my portfolio: https://www.freelancer.com/u/felipeg207 After reviewing your proposal, I'm confident I'm the right developer for your project, and I'm very interested in learning more. I have experience completing similar projects from start to finish. I'd like to discuss your project in more detail. I look forward to hearing from you. Thank you.
$100 USD 7 päivässä
0,0
0,0

With over five years of experience in API Development and Software Development, I've encountered and overcome a wide range of issues, precisely the kind you're currently facing with the Windows Magnification API. Not only am I familiar with this specific API you're utilizing, but I’m also comfortable working with unique monitor configurations, such as multiple monitors with different resolutions and negative coordinates. In my career, I’ve successfully implemented similar solutions to handle mixed-resolution cases. By using advanced methodologies like dynamic source rectangle clamping and proper process DPI awareness context configuration, I’ve been able to avoid the exact crashes and capture failures you’re experiencing. By choosing me for your project, you'll gain the advantage of my deep understanding of the intricate interplay between Windows settings and your development environment. Together, we can navigate this complex issue and deliver a robust code snippet that addresses all your concerns. Let's leverage my experience to give your screen capture tool a much-needed boost!
$100 USD 2 päivässä
0,0
0,0

Hello, I am available now. I understand the main goals and will ensure the final result that matches your expectations. I am a reliable freelancer with 10+ years of experience in C Programming, C# Programming, C++ Programming and I helped many clients in the past. Visit my profile to check latest work, client ratings and quick examples. If this sounds good, connect in chat and we can start. Looking forward.
$140 USD 7 päivässä
0,0
0,0

As a Fullstack Developer, I've had extensive experience with complex projects like yours, where effective problem-solving is a necessity. My specific knowledge in web and mobile application development, as well as desktop applications will no doubt come in handy given the nature of your project. I've built robust ERP web and mobile applications for various industries, requiring that crucial ability to integrate different systems smoothly. This includes integrating e-commerce platforms, accounting systems, payment gateways amongst many others. With all these varied systems at play within your project, my experience would be invaluable. My core programming languages include C and I have strong knowledge in the Win32 API which is integral to your project. I understand your frustration with crashes and failures regarding mixed-resolution and negative-coordinate issues you mentioned, and I assure you that I'm confident in my ability to assist you in resolving these issues once and for all. Let's work together to create an efficient solution for your screen capture tool that'll work flawlessly across different resolutions and monitor settings.
$120 USD 5 päivässä
0,0
0,0

as an experienced software engineer with a strong background in C and C++ programming, I believe I am best positioned to address the issues you're encountering with your Magnifier API. Having worked on API integrations and automation scripts alongside my full-stack web development and desktop applications experience, I'm well-versed in solving problems just like this - where different screen resolutions can create complications. Further, my proficiency with Windows OS (10 & 11) and Visual Studio 2017 provides me with the familiarity to dive right into addressing your concerns. Furthermore, my work as an embedded systems developer is highly relevant to your project, as I've extensively dealt with designs and solutions for IoT systems involving multiple devices and varying configurations that require solving complex issues resembling those inherent to your project. Given my comprehensive understanding of magnification APIs, monitor settings, and resolutions challenges - coupled with my knack for finding innovative solutions - rest assured that I will be able to provide robust code snippets tailored explicitly towards handling these mixed-resolution and negative coordinate issues you're facing. Let's turn this challenge into an opportunity!
$100 USD 7 päivässä
0,0
0,0

We have 4+ years of experience building complex C++/Win32 applications and debugging low-level API issues, making us well-suited to help resolve Windows Magnification API problems in multi-monitor setups. Approach to your project: • Diagnosis: Analyze your current MagSetWindowSource and SetWindowPos calls to determine why negative coordinates or mixed-resolution setups cause crashes or skipped callbacks. • Robust Handling: Implement bounds-safe calculations for the magnifier source RECT, taking DPI scaling, virtual screen offsets, and multi-monitor layouts into account. • Buffer Safety: Ensure that the magnifier buffer is correctly allocated and offset to handle resolutions larger than the primary monitor or negative-origin screens. • Sample Implementation: Provide a tested, reusable C++ snippet showing how to safely update the magnifier control on any monitor configuration without access violations. • Documentation: Include notes on DPI-awareness settings, monitor enumeration, and safe coordinate transformations to avoid similar issues in future enhancements. We focus on stability, proper memory handling, and cross-monitor reliability, ensuring your capture tool works across all Windows 10/11 multi-monitor configurations.
$50 USD 9 päivässä
0,0
0,0

Hi, I'm excited about your project focused on resolving issues with the Windows Magnification API. It’s clear that you’ve encountered complex scenarios with resolution mismatches and negative coordinates that can be quite challenging in a multi-monitor setup. With extensive experience in Windows API development and debugging, I have a solid grasp of the intricacies involved in handling such issues. I can offer robust solutions to manage internal buffer offsets and prevent access violations when working across different monitor resolutions. My prior work in similar projects has equipped me with practical approaches to handle DPI awareness and device context management effectively. I propose starting with an in-depth analysis of your current implementation, followed by tailored adjustments to the calls to MagSetWindowSource and SetWindowPos. I aim to provide a code snippet that accurately addresses these situations in a timely manner, ideally within three days. Best regards,
$115 USD 2 päivässä
0,0
0,0

Hi there! Have you considered if your magnifier control needs separate DPI scaling adjustments for each monitor beyond just setting DPI awareness context? Regardless, this is definitely something that I feel confident delivering on, given my past experience. I would love to discuss your project further! Looking forward hearing from you. Kind Regards, Corné
$50 USD 14 päivässä
0,0
0,0

Seoul, Korea, Republic of
Maksutapa vahvistettu
Liittynyt toukok. 4, 2011
$10-300 USD
$250-750 USD
$1500-3000 USD
$250-750 USD
$30-250 USD
$250-750 USD
₹100-400 INR/ tunnissa
₹12500-37500 INR
$15-25 USD/ tunnissa
$30-250 USD
$250-750 USD
€250-750 EUR
$10-11 USD
$250-750 USD
₹150000-250000 INR
$30-250 USD
₹12500-37500 INR
₹37500-75000 INR
₹750-1250 INR/ tunnissa
₹750-1250 INR/ tunnissa
$250-750 USD
$30-250 USD
$250-750 USD
$250-750 USD
₹37500-75000 INR