Home > Net >  Trying to load format is not correct procedure
Trying to load format is not correct procedure

Time:04-09

Winform program, the program can normal open, connection hardware times wrong, customer said a few days ago can be normal use, not only today, baidu, changed the X86, X64... Bala bala, or useless, on my own and colleagues computer can run normally, I suspect she system have problem but can't find evidence
 
[DllImport (@ "\ rfidlib_reader DLL," CharSet=CharSet. The Unicode, CallingConvention=CallingConvention. StdCall)]
Public static extern int RDR_LoadReaderDrivers (string drvpath);
RDR_LoadReaderDrivers (@ "");//perform this period of times wrong

Put a piece of code

CodePudding user response:

An estimated 360 such as virus, make system DLL file has a problem, let she reshipment system installation

CodePudding user response:

reference 1/f, gypsy song response:
estimated viruses, such as 360 make system DLL file has a problem, let she reshipment system installation
business over there that today there are several clients in this situation the

CodePudding user response:

Problem on the machine, while you are out running the demo of manufacturer to send you to the

Factory demo run through, and then we talk about how to solve the problem of you

Factory demo can not pass, I'm sorry, let manufacturers

CodePudding user response:

This is because a 64 - bit process is trying to load a 32-bit components, so to clear out the first problem of the machine is a 64 - bit or 32-bit, rfidlib_reader. DLL this library should and your program compiled using the same environment, so it's best are x86 compiler, or x64 compiler,
  •  Tags:  
  • C#
  • Related