From: dontmailme AT iname DOT com (Steamer) Newsgroups: comp.os.msdos.djgpp Subject: Re: 3rd Try: Maybe an asm problem? (Problems linking) Date: Fri, 28 Apr 2000 22:34:43 GMT Organization: always disorganized Lines: 16 Message-ID: <390a11f7.52342975@news.freeserve.net> References: <39096460 DOT 1D069B39 AT pop DOT gis DOT net> <390969a0 DOT 9237112 AT news DOT freeserve DOT net> <3909DAFE DOT CADFC30F AT pop DOT gis DOT net> <3909ed43 DOT 42944527 AT news DOT freeserve DOT net> <390A00EE DOT 695124 AT pop DOT gis DOT net> NNTP-Posting-Host: modem-91.black-trigger.dialup.pol.co.uk X-Trace: newsg2.svr.pol.co.uk 956961284 23114 62.136.233.91 (28 Apr 2000 22:34:44 GMT) NNTP-Posting-Date: 28 Apr 2000 22:34:44 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Joseph Rose wrote: >> >If you need more, I can publish a function in question and >> >the beginning of the file. >> >> Go on then. >> > >It's at the end of the post. OK. Your linking problem appears to be caused by C++ name-mangling, which should be cured by the method shown in my other post. However, your asm code has another problem: it trashes EBX and EDI. You need to preserve these (as well as ESI and EBP). S.