🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: HID.DLL compatibility across OS versions

#4104
From: Remy Lebeau (TeamB)
Date: Thu, 16 Mar 2006 00:55
18 lines
1490 bytes
"GB" <nospam_grant@genovation.com> wrote in message
news:44185ea4$1@newsgroups.borland.com...

> if I compile using XP's hid.dll (after implib to hid.lib) then
> the app runs under XP, but not 2k or 98se.
<snip>
> I implib the dll for that OS, then build it, the program works
> for that OS but no other.

Why not?  Please be more specific.

You will probably have to use LoadLibrary() and GetProcAddress() to load the
OS's version of hid.dll dynamically at runtime.  Then you do not need to use
implib at all, or recompile your code for each platform.


Gambit
Technical Details
Message-ID: <4418b916@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44185ea4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8f8027804da0a3f1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <44185ea4$1@newsgroups.borland.com>
Subject: Re: HID.DLL compatibility across OS versions
Date: Wed, 15 Mar 2006 16:55:54 -0800
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4418b916@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1142470934 68.69.17.41 (15 Mar 2006 17:02:14 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail