Highlighted
Absent Member.
Absent Member.
912 views

Linking DLL to EXE

Jump to solution

Ok, I do not know what I am doing wrong but I have a new solution that has 2 projects in it. 1 is a cobol program that is compiled as an exe and call the second program, which I have set up in a project as a dll.  Under the references in the exe program, I can not add the .dll program.  What am I doing wrong? 

0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

RE: Linking DLL to EXE

Jump to solution
0 Likes
2 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Linking DLL to EXE

Jump to solution

If this is a native project then you cannot add a reference directly to the .dll project but you can add a reference directly to the .dll file itself by using the browse option of references and navigating to the file.

There are other methods that you can use to make the .dll available to your main program.

Please see the tutorial here for detals...

Thanks.

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: Linking DLL to EXE

Jump to solution
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.