취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

Importing DLL

I am unable to import a dll file, and am given the attatched error. 

 

There are four header files, which should contain the information required to wrap the functions in the dll. The primary header file appears to be rpc.h. There is no include statement in rpc.h, however.

 

In order to rectify this, I created a header file whose only purpose was to reference the other four header files (inc.h), and used it when prompted for the header file. This gave the same error.

 

The way that the wizard was run:

 

R11ComLib.dll was chosen as the library, rpc.h chosen as the header file, path was chosen such that the destination contained the four header files.

 

 

Thanks!

0 포인트
1/22 메시지
5,057 조회수

Can you upload the header files to a reply here? That would help a lot with debugging. It's possible there's some symbol you need to define in order for the parser to succeed in finding the functions.

0 포인트
2/22 메시지
5,034 조회수

yes, here is a compressed file containing the header files that I have available

 

 

 

0 포인트
3/22 메시지
5,028 조회수

Could you attach it as a more-standard ZIP, rather than 7zip, so I don't have to install additional software to open it?

0 포인트
4/22 메시지
5,025 조회수
0 포인트
5/22 메시지
5,020 조회수

Can you also share the header file that you created? My guess is that either you're not including core/api/types.h, or possibly that even if you are including that file, the parser doesn't like an enumeration as the return type. You could alternately try defining FDD_RESULT as "int" within the import shared library wizard and see if that helps.

0 포인트
6/22 메시지
4,992 조회수

Ok, here is the header that I created, though it does not include types.h. I will include it and try again.

0 포인트
7/22 메시지
4,959 조회수

Any luck getting it to import after you added types.h?

0 포인트
8/22 메시지
4,911 조회수

I was able to import 1 function out of the 183

0 포인트
9/22 메시지
4,907 조회수

Are you still trying to get this working? Which function imported properly? Have you considered skipping the Import wizard, and configuring everything manually? It's not that much work, especially if you don't need to call too many functions in the library.

 

Unfortunately, there's nothing more I can do to help without more information. When I try to load your inc.h file, the import wizard stalls out at the page for defining include paths, perhaps because I don't have the DLL.

0 포인트
10/22 메시지
4,902 조회수