Page 2 of 7
Re: Migration from HMG to HMG Minigui
Posted: Mon Mar 28, 2022 3:58 pm
by gfilatov
serge_girard wrote: ↑Mon Mar 28, 2022 3:49 pm
Thx,
Where do I execute: implib libmysql.lib libmysql.dll
implib is some EXE?
Yes, of course.
You found the Implib utility in your folder
c:\Borland\bcc58\Bin
Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation
Syntax: IMPLIB [options] libname[.lib] [@respfile | srcname] [srcname ...]
Options:
-a Add '_' alias for MS flavor cdecl functions
-c Case sensitive symbols
-f Force imports by name (with hints)
-w No Warnings
Respfile may contain a list of source files to process.
Wildcards are ok for .DLL and .DEF file names.
Re: Migration from HMG to HMG Minigui
Posted: Mon Mar 28, 2022 4:16 pm
by serge_girard
Next step:
Code: Select all
C:\BORLAND\bcc58\Bin>implib libmysql.lib libmysql.dll
Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation
Error libmysql.DLL: unknown file type
Serge
Re: Migration from HMG to HMG Minigui
Posted: Mon Mar 28, 2022 4:39 pm
by gfilatov
serge_girard wrote: ↑Mon Mar 28, 2022 4:16 pm
Next step:
Code: Select all
C:\BORLAND\bcc58\Bin>implib libmysql.lib libmysql.dll
Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation
Error libmysql.DLL: unknown file type
Serge,
I am suggest to use the file libmysql.DLL from add-on archive hmg_addons.zip on the MiniguiEx homepage.
Hope that helps

Re: Migration from HMG to HMG Minigui
Posted: Mon Mar 28, 2022 6:09 pm
by serge_girard
Hmmm.... I did !
But the same nasty result. Can you please make libmysql.lib and send it to me?
Thx, Serge
Re: Migration from HMG to HMG Minigui
Posted: Tue Mar 29, 2022 8:56 am
by gfilatov
serge_girard wrote: ↑Mon Mar 28, 2022 6:09 pm
Hmmm.... I did !
But the same nasty result. Can you please make libmysql.lib and send it to me?
Hi Serge,
Ok. Please take a look for attached file.

Re: Migration from HMG to HMG Minigui
Posted: Tue Mar 29, 2022 9:27 am
by serge_girard
Thanks Grigory but the ordinal 135 error remains...
Shall I send you sources via zipped via email?
Serge
Re: Migration from HMG to HMG Minigui
Posted: Tue Mar 29, 2022 12:05 pm
by gfilatov
serge_girard wrote: ↑Tue Mar 29, 2022 9:27 am
Thanks Grigory but the ordinal 135 error remains...
Shall I send you sources via zipped via email?
Serge,
No problem.
But can you try
before the sample in the folder c:\MiniGUI\Samples\Advanced\MySqlClient which works fine here

Re: Migration from HMG to HMG Minigui
Posted: Tue Mar 29, 2022 12:31 pm
by serge_girard
Grigory,
c:\MiniGUI\Samples\Advanced\MySqlClient gives same ordinal 135 error!
Serge
Re: Migration from HMG to HMG Minigui
Posted: Tue Mar 29, 2022 12:36 pm
by gfilatov
serge_girard wrote: ↑Tue Mar 29, 2022 12:31 pm
Grigory,
c:\MiniGUI\Samples\Advanced\MySqlClient gives same ordinal 135 error!
Serge,
Ok, I understand.
Please try to use the libmysql.dll from add-on archive with above sample (but not use your usual DLL).
What is the result now

Re: Migration from HMG to HMG Minigui
Posted: Tue Mar 29, 2022 1:13 pm
by serge_girard
OK; This works much better...! Now solving some compile errors!
Thanks Grigory, I will keep you informed!
Serge