473,385 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

LNK1256: ALINK operation failed

Hi,
I'm creating a GUI using Windows Forms in C#. The application needs to
call functions from a (unmanaged) C library. My solution is to create a
managed C++ DLL that contains a wrapper class containing methods which
make calls to the library, handling strings, etc. I could then make
calls to those methods from the C# application.
The problem I've encountered is when I try to build the DLL. When it
tries to link to the C library I get:
Linking...
LINK : fatal error LNK1256: ALINK operation failed (8013110E)
I'm using VS.NET 2003. The MSDN library seems to suggest the version
being different between the linker & alink.dll (?)
If anyone could please suggest a solution, I'd greatly appreciate it. Am
I wrong in assuming it has to do with some inconsistency between VS.NET
and the version of .NET Framework I'm using? If memory serves correctly
then I had simply installed it along with VS .NET.
Thanks,
Andrew
Jul 21 '05 #1
1 3685
Bumping.. stumped on this.
thanks

Andrew Gniadek wrote:
Hi,
I'm creating a GUI using Windows Forms in C#. The application needs to
call functions from a (unmanaged) C library. My solution is to create a
managed C++ DLL that contains a wrapper class containing methods which
make calls to the library, handling strings, etc. I could then make
calls to those methods from the C# application.
The problem I've encountered is when I try to build the DLL. When it
tries to link to the C library I get:
Linking...
LINK : fatal error LNK1256: ALINK operation failed (8013110E)
I'm using VS.NET 2003. The MSDN library seems to suggest the version
being different between the linker & alink.dll (?)
If anyone could please suggest a solution, I'd greatly appreciate it. Am
I wrong in assuming it has to do with some inconsistency between VS.NET
and the version of .NET Framework I'm using? If memory serves correctly
then I had simply installed it along with VS .NET.
Thanks,
Andrew

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Brett | last post by:
I am currently in the process of building a vb.net windows application that will be used to send faxes and monitor these faxes as they are sent. In the project I am building the fax functionality...
0
by: CTDev Team | last post by:
Hi, We are using Exchange Server 5.5, and have applications written in VB6 and C# that read and process emails. We are experiencing intermittent errors similar to C# Application ...
0
by: | last post by:
Hi, I am using VS2003 .NET. I have a union in my files which is generated by YACC. I am getting the following errors while linking using link.exe(Microsoft (R) Incremental Linker Version...
1
by: K7211 | last post by:
Hi, I've been trying to use Visual C++.NET, but whenever I try to build a solution I get this error message, fatal error C1108: unable to find DLL: 'alink.dll' Does anyone know what causes...
1
by: Andrew Gniadek | last post by:
Hi, I'm creating a GUI using Windows Forms in C#. The application needs to call functions from a (unmanaged) C library. My solution is to create a managed C++ DLL that contains a wrapper class...
1
by: Laurent Lequenne | last post by:
Hello There, I just converted a VS 2003 C++ Project into VS 2005. I already made some changes in my headers files, has I had compilations errors with enums declarations. Now everything compiles...
4
by: harleybl | last post by:
Hello, I have a C++ mixed mode dll ( unmanaged/managed ) that wraps a C# dll to provide some functionality for Microsoft Excel. I am able to compile my solution fine in Visual Studio .NET 2003...
2
by: swapnajeet | last post by:
whenever i try running any visual studio .net project i find the following error: Required file 'alink.dll' could not be found if i ignore the error and still run the project i get the...
1
by: Author | last post by:
It looks like that there is very little resource about the Enterprise Library on the Web. I know it is documented at msdn, but I haven't found a whole lot sample codes. I was trying out the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.