Re: DLL Compatibility



On Thu, 29 Jun 2006 14:07:15 +0200, Seb <"eric_draven <at> waffled on
about something:

Nicholas Sherlock wrote:
Seb eric_draven <at> wrote:
I use to develop my applications and DLL with Delphi7 under XP SP2.
My application works fine on XP SP2 but I have an error with my DLLs
under win98.
Any idea???

You haven't given any information. What error? What are your DLLs trying
to do? How are you calling the DLLs?

Problems with DLLs almost always boil down to incorrect declarations of
functions on both sides of the interface. Show your imports for the DLL
functions and how the functions are declared inside the DLL.

Cheers,
Nicholas Sherlock

The application and DLLs work fine under XP SP2!!!!!!!!

DLL are written classic way, "libray .../ Functions & procedures/
exports
functionName index 0 name 'functionName',
functionName2 index 1 name 'functionName2',
functionName3 index 2 name 'functionName3';
begin
end.
"
Inside the application DLLs are linked dynamicaly (because DLLs are
plugins).

Do I have a special option are flag to compile DLLs for any version of
Windows?

Seb

Your DLL calls are probably fine, the issue is probably a function in
your DLL that is not compatible with win98.

Find which function your DLL fails on in 98, and then start looking
through that routine for any calls which specify NT in the docs.

Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES
.



Relevant Pages

  • Re: Getting Thumped trying to Thunk.
    ... Try to run this win98 app under VMware Player. ... Lessons generated need to run on school computers from Windows 98 ... and status between the 16-bit Lessons and the 32-bit DLLs. ... DDK to build the flat thunk as instructed. ...
    (microsoft.public.development.device.drivers)
  • Re: Tips zum linken gesucht
    ... >>Funktionen nicht gefunden wurden und so die DLLs nicht korrekt geladen ... > Setze die #defines, wie Jochen bereits sagte. ... > Win98 nur als Stub vorhanden, ...
    (microsoft.public.de.vc)
  • Re: DLL Compatibility
    ... Nicholas Sherlock wrote: ... My application works fine on XP SP2 but I have an error with my DLLs under win98. ... Problems with DLLs almost always boil down to incorrect declarations of functions on both sides of the interface. ... functionName index 0 name 'functionName', ...
    (comp.lang.pascal.delphi.misc)
  • Re: DLL Compatibility
    ... My application works fine on XP SP2 but I have an error with my DLLs under win98. ... Problems with DLLs almost always boil down to incorrect declarations of functions on both sides of the interface. ...
    (comp.lang.pascal.delphi.misc)
  • Re: DLL Compatibility
    ... Seb wrote: ... My application works fine on XP SP2 but I have an error with my DLLs under win98. ...
    (comp.lang.pascal.delphi.misc)