Article View: alt.games.starcraft
Article #290129Re: OK you code gurus...
From: Spyderizer
Date: Wed, 22 Mar 2006 10:49
Date: Wed, 22 Mar 2006 10:49
25 lines
2477 bytes
2477 bytes
Zealot The Crazy Lui wrote: > On Tue, 21 Mar 2006 22:48:10 -0700, "Luc The Perverse" > <sll_noSpamli...@cc.usu.edu> wrote: >> No - you are doing something wrong. >> >> It's not the compiler. >> >> You are probably passing something wrong. It gets really hairy deferencing >> pointers and stuff. >> >> Find a working example and try to see what you are doing different. > > See, that's the thing. I've tried "working examples" and they dont' > work. My prof's example, even the bloody example given in the VS help > files on how to call a c function with inline asm. It just doesn't > work! I've tried lots of little bits of switching this and that and > checking values of stuff, but none of it seems to make any difference. > asm C function call = exception. That's it. With printf passing only 1 > string it gives me an exception. The string has to be passed right > because I created it immediately before the asm section within the > getData method. There's something wrong that's beyond my control here, > I just don't know what it is. > Missing an include somewhere?
Technical Details
Message-ID:
<44212c1e$1@news.orcon.net.nz>Path:
mbox-mo1.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.orcon.net.nz!news.orcon.net.nz.POSTED!not-for-mailReferences:
<34a022ta3sjetnjnkvluulh8sajiq1t5ih@4ax.com> <itn122pup0dl52f42nu4hami9lu1h0lte9@4ax.com> <f257f3xmqc.ln2@loki.cmears.id.au> <j02222p6tmrghhrefg4aocpshitjurfo16@4ax.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.orcon.net.nz!news.orcon.net.nz.POSTED!not-for-mail NNTP-Posting-Date: Wed, 22 Mar 2006 04:49:26 -0600 Date: Wed, 22 Mar 2006 22:49:36 +1200 From: Spyderizer <n...@spam.com> User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Newsgroups: alt.games.starcraft Subject: Re: OK you code gurus... References: <34a022ta3sjetnjnkvluulh8sajiq1t5ih@4ax.com> <itn122pup0dl52f42nu4hami9lu1h0lte9@4ax.com> <f257f3xmqc.ln2@loki.cmears.id.au> <j02222p6tmrghhrefg4aocpshitjurfo16@4ax.com> In-Reply-To: <j02222p6tmrghhrefg4aocpshitjurfo16@4ax.com> X-Original-NNTP-Posting-Host: 60.234.210.176 Message-ID: <44212c1e$1@news.orcon.net.nz> X-Original-Trace: 22 Mar 2006 22:51:10 +1300, 60.234.210.176 Lines: 25 NNTP-Posting-Host: 60.234.1.32 X-Trace: sv3-dFUFtTYKN/QSDgauwAsMhIc5COYi7uuaBlogQo0pQ049DDiH9VpfoGAaLDqJYF06AEdq2C0ThAz2l0/!txJ5kPj50ke9fB2QVdS4YPtzmYyUpXv1cKx2i3gdhOZK3dkRDZqpcQVC7d4iny8Lwg== X-Complaints-To: ab...@orcon.net.nz X-DMCA-Complaints-To: ab...@orcon.net.nz X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit