🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #149398

Re: [Dialog] Scripting - Calling external DLL causes Could Not Call Proc

#149398
From: Alain GUERIN
Date: Sat, 05 Jun 2004 09:07
25 lines
2315 bytes
Hello,


On Sat, 5 Jun 2004 00:27:23 -0500, Jeff wrote:

> I'm writing a script that calls a custom DLL.  I've been able to declare
> the methods in the DLL and make calls to those methods in the DLL.  The DLL
> executes fine, however, when the method in the DLL is finished and returns
> back to Dialog, I get the error message: Error running script "test": Could
> not call proc

> I've removed everything from the DLL method and just have it return.  I've
> also placed message pop ups in the script right after the call to the DLL
> method to see if it continues on, but it does not.  It appears to execute
> the DLL methods fine, but upon return something occurs and it shuts down
> the script.

> Anyone run into this problem?

Did you declare your external function with the proper call ? (external
'MessageBoxA@user32.dll stdcall';) for a standard call, etc. 


-- 
A.G.
Technical Details
Message-ID: <6d71vxvej5nu$.dlg@alain-guerin.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.cs.univ-paris8.fr!proxad.net!feeder2-1.proxad.net!news6-e.free.fr!not-for-mail
References: <hlofdrweet5e$.12pmj6hfuthne.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <6d71vxvej5nu$.dlg@alain-guerin.com>
Subject: Re: [Dialog] Scripting - Calling external DLL causes Could Not Call Proc
Date: Sat, 5 Jun 2004 11:07:10 +0200
From: Alain GUERIN <courriels40@alain-guerin.com>
References: <hlofdrweet5e$.12pmj6hfuthne.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.cs.univ-paris8.fr!proxad.net!feeder2-1.proxad.net!news6-e.free.fr!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.11.1 (8a435ff6.331.356)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Reply-To: news40@alain-guerin.com
Organization: NA
Archive: no
X-Face: '*&f@caq/y%f)QY'BcSO`EQH}'>nCphQ%q>YfG1"zCmQAa]-,
 ^B1-<u0)r)}QS_wzU)5`a`
 %|NRB0OU/Q><ozTuEx.M+[fx'?9U\Ojwtt>FBPmKGeE=.(/%Gv4+w/T9UqY}e]~jQzpXe&"V84G%al
 +i$O, EHjhE.c[7qzp+C4VL<
Mail-Copies-To: never
X-No-Archive: yes
Lines: 25
NNTP-Posting-Date: 05 Jun 2004 11:07:18 MEST
NNTP-Posting-Host: 81.57.20.30
X-Trace: 1086426438 news6-e.free.fr 12755 81.57.20.30:3611
X-Complaints-To: abuse@proxad.net