Home > Software engineering >  The use of MFC applications (exe)
The use of MFC applications (exe)

Time:10-11

I am based on the MFC has developed an EXE, now put it kao to run on another computer indicates lack of mfc100d. DLL application extensions, such as you have a good way to solve this kind of problem, I also used in the application of the mscomm control, how can like this EXE running on another computer??????? My new MFC development, to this kind of problem, had wish a great god!!!!!! thank you

CodePudding user response:

Project properties set in the static use MFC library
Used controls along with all copies in the past, you can simply make a batch of registration

CodePudding user response:



CodePudding user response:

With the second floor

CodePudding user response:

refer to the second floor CharlesSimonyi response:



1, I use this method of using the static library generated generated exe, to other computer can open exe, but there is a problem, serial communication, can't send and receive, serial port communication mscomm control,,
2, I in another computer with VC debugging my program, the use of serial communication, there is this error:
RS. Exe of 0 x7582845d (KernelBase. DLL) the most possible exceptions: Microsoft c + + exceptions: memory location 0 x00000000 [rethrow],
RS. Exe of 0 x7582845d (KernelBase. DLL) the most possible exceptions: Microsoft c + + exceptions: memory location 0 x003bd7d4 COleDispatchException,
Really don't know why?
3, could you tell me you or your friends ever encountered such a problem, to instruct me, now developed exe cannot be others computer run normally, quite embarrassed

CodePudding user response:

reference 1st floor zgl7903 response:
Settings in the project properties using MFC static link library
Used controls along with all copies in the past, you can simply make a batch certified under

Can point in more detail? Kao control word is indeed quite a headache, not only mscomm

CodePudding user response:

Corresponding DLL search on the net, copy to the EXE directory, can,

CodePudding user response:

I also met the same problem into a static seems still won't do I later put MFC100d. Copy the DLL over a serial port control class online a batch download it's good that you can install package under this batch

CodePudding user response:

refer to 7th floor SWWLLX response:
I also met the same problem into a static seems still won't do I later put MFC100d. Copy the DLL over a serial port control class online a batch download it's good that you can install this batch packaging

How to install the batch "" packaging??????? Thank you, your success?

CodePudding user response:

refer to the eighth floor cheng_xu_yuan123 response:
Quote: refer to 7th floor SWWLLX response:

I also met the same problem into a static seems still won't do I later put MFC100d. Copy the DLL over a serial port control class online a batch download it's good that you can install this batch packaging

How to install the batch "" packaging??????? Thank you, your success?

I am in another same XP computer can open my exe, but cannot achieve serial communication function, is no problem on my computer, mscomm control also registered a success, how also not line?

CodePudding user response:

Mfc100d. DLL is corresponding to the MFC library operation,
Copy a in exe directory at the same level,

CodePudding user response:

references to the tenth floor liubinstud response:
mfc100d. The DLL is corresponding MFC runtime,
Copy a in exe directory, at the same level

I now, don't pop up lack mfc100d. DLL errors, and now is my another is same XP computer can open my exe, serial communication function can't realize, however, is no problem on my computer, mscomm control also registered a success, how also not line? Feeling is mainly a serial port control problem,,,

CodePudding user response:

Project, properties, configuration properties, platform toolkit: v120_xp

CodePudding user response:

refer to 12 floor zhao4zhong1 reply:
projects, properties, configuration properties, platform toolkit: v120_xp

What I use is 2010, only two options v100 platform tool set, and v90, how to deal with this situation?

CodePudding user response:

refer to the eighth floor cheng_xu_yuan123 response:
Quote: refer to 7th floor SWWLLX response:

I also met the same problem into a static seems still won't do I later put MFC100d. Copy the DLL over a serial port control class online a batch download it's good that you can install this batch packaging

How to install the batch "" packaging??????? Thank you, your success?
http://download.csdn.net/detail/wzqqy/3848150

CodePudding user response:

11 references cheng_xu_yuan123 response:
Quote: reference to the tenth floor liubinstud response:

Mfc100d. DLL is corresponding to the MFC library operation,
Copy a in exe directory, at the same level

I now, don't pop up lack mfc100d. DLL errors, and now is my another is same XP computer can open my exe, serial communication function can't realize, however, is no problem on my computer, mscomm control also registered a success, how also not line? Feeling is primarily a serial port control problem,,,

If it is a serial port control of unregistered words run your exe is complains

CodePudding user response:

reference 15 floor SWWLLX response:
Quote: reference 11 floor cheng_xu_yuan123 response:

The
Quote: reference to the tenth floor liubinstud response:

Mfc100d. DLL is corresponding to the MFC library operation,
Copy a in exe directory, at the same level

I now, don't pop up lack mfc100d. DLL errors, and now is my another is same XP computer can open my exe, serial communication function can't realize, however, is no problem on my computer, mscomm control also registered a success, how also not line? Feeling is primarily a serial port control problem,,,

If it is a serial port control of unregistered words run your exe is complains

Now open exe is normal, no error, the dialog between the switch to normal, also is not a serial port communication, this kind of situation?

CodePudding user response:

It is recommended to use portmon auxiliary software debugging serial communication program,

CodePudding user response:

refer to 17th floor zhao4zhong1 response:
recommended portmon auxiliary software debugging serial communication program,

Friend, can you to analyze what is it? nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related