Skip to content

Troubleshooting scCreateCamera Failure. #64

@zohair2015

Description

@zohair2015

The building process was smooth without any issues. I initiated the demo sender program, and it connected and completed running the loop without any hitches. However, upon restarting the sender, it consistently fails because scCreateCamera always returns NULL. In the softcam.h file, it is mentioned that scCreateCamera would return null if another instance already exists in the system. Rebuilding the DLL or unregistering and re-registering again does not resolve the issue. I observed that the last image from the demo always appears in other application programs. I built and tested the win32 version and after the first successful run chaining the build type didn't resolve this issue. There were no modifications to the code in any way.
Upon restarting the machine the sender demo program works once and then it would start failing again for the same reason "scCreateCamera returns null".
My assumption is that if I load a .bmp file, extract its width and height after excluding the header information, I could simply transmit the bits to the softcam receiver. Since it is in RGB 24 format, the image should display correctly. Is this assumption accurate? Thank you for your assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions