🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11314

Re: Loaded DLL function won't work

#11314
From: Remy Lebeau (TeamB)
Date: Wed, 18 Feb 2004 21:47
13 lines
1273 bytes
"peter" <peterna@attglobal.net> wrote in message
news:4033d5c9$1@newsgroups.borland.com...

>         Proc = (MYPROC) GetProcAddress(Lib, "SITE");

What is MYPROC declared as exactly?  Chances are, it is not declared
correctly.  It should be something like this:

    int __stdcall (*MYPROC)(char*, char*);


Gambit
Technical Details
Message-ID: <4033dc64$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4033d5c9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5a8f68731742a0dc
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-18 13:55:52 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4033d5c9$1@newsgroups.borland.com>
Subject: Re: Loaded DLL function won't work
Date: Wed, 18 Feb 2004 13:47:45 -0800
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <4033dc64$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1077140580 67.22.138.253 (18 Feb 2004 13:43:00 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail