You can share your experience with HMG. Share with some screenshots/project details so that others will also be benefited.
Moderator: Rathinagiri
gfilatov
Posts: 1114 Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:
Post
by gfilatov » Mon Mar 28, 2022 3:58 pm
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.
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
serge_girard
Posts: 3412 Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB 2 DBF
Location: Belgium
Contact:
Post
by serge_girard » 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
There's nothing you can do that can't be done...
gfilatov
Posts: 1114 Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:
Post
by gfilatov » Mon Mar 28, 2022 4:39 pm
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
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
serge_girard
Posts: 3412 Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB 2 DBF
Location: Belgium
Contact:
Post
by serge_girard » 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?
Thx, Serge
There's nothing you can do that can't be done...
gfilatov
Posts: 1114 Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:
Post
by gfilatov » Tue Mar 29, 2022 8:56 am
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.
Attachments
libmysql.zip
(4.66 KiB) Downloaded 252 times
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
serge_girard
Posts: 3412 Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB 2 DBF
Location: Belgium
Contact:
Post
by serge_girard » 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
There's nothing you can do that can't be done...
gfilatov
Posts: 1114 Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:
Post
by gfilatov » Tue Mar 29, 2022 12:05 pm
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
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
serge_girard
Posts: 3412 Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB 2 DBF
Location: Belgium
Contact:
Post
by serge_girard » Tue Mar 29, 2022 12:31 pm
Grigory,
c:\MiniGUI\Samples\Advanced\MySqlClient gives same ordinal 135 error!
Serge
There's nothing you can do that can't be done...
gfilatov
Posts: 1114 Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:
Post
by gfilatov » Tue Mar 29, 2022 12:36 pm
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
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
serge_girard
Posts: 3412 Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB 2 DBF
Location: Belgium
Contact:
Post
by serge_girard » Tue Mar 29, 2022 1:13 pm
OK; This works much better...! Now solving some compile errors!
Thanks Grigory, I will keep you informed!
Serge
There's nothing you can do that can't be done...