Home > Net >  C # call camera, interface display black screen
C # call camera, interface display black screen

Time:11-15

Call the camera is using the avicap32 ,
Most of the camera are displayed properly, but with the the speed H800 camera, preview screen displays black screen ,

When taking a picture, through debugging, figure 2 GetLastError method call kernel32. DLL 6 and get the error code corresponding to the handle is invalid,

could you tell me what's the solution?



I also tried Aforge. DLL call camera, some computer version will prompt not registered,

CodePudding user response:

There are bosses know?

CodePudding user response:

Can be the difference between a 64 - bit and 32-bit, is 64 program, an error system is 32 bit

CodePudding user response:

refer to the second floor Summer_djz response:
it is possible that the difference between a 64 - bit and 32-bit, whether 64 program, an error system is 32 bit

If it is 32 bit?

CodePudding user response:

Suggest you compile time, use x86 mode

CodePudding user response:

reference flying phoenix, 4/f, 601 response: ,
suggest you compile time with x86 mode


This can't change

CodePudding user response:

Very few people understand?
  •  Tags:  
  • C#
  • Related