473,323 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

implib for mingw

Sorry by my previous post.
How to create implib (.a) for mingw compiler (win2000) from exist, compiled
by borland - shared library (.dll). I need definition file (.def) for
dlltool program from mingw and then should create implib. But i can't create
correct def. file. I Try using pexport, implib, nm, objectdump programs
without result. Definition generated by pexport look's somthing like that:

@%BasicArray$c%@clazzInfo$qv
@%BasicArray$c%@clone$qp23acdk@lang@sys@Allocator

- and dlltool notify syntax error.
Paweł Stępień
Jul 22 '05 #1
4 5219

"Pawel Stępien" <thwei_(no)real(spam)@go2.pl> wrote in message
news:br**********@news.telbank.pl...
Sorry by my previous post.
How to create implib (.a) for mingw compiler (win2000) from exist, compiled
by borland - shared library (.dll). I need definition file (.def) for
dlltool program from mingw and then should create implib. But i can't create
correct def. file. I Try using pexport, implib, nm, objectdump programs
without result. Definition generated by pexport look's somthing like that:

@%BasicArray$c%@clazzInfo$qv
@%BasicArray$c%@clone$qp23acdk@lang@sys@Allocator

- and dlltool notify syntax error.
Paweł Stępień


Hey that's offtopic in this newsgroup.
We only discuss standard C++ in this NG.
Probably try some Microsoft NG at msnews.microsoft.com.
Jul 22 '05 #2
Tom
"Pawel Stępien" <thwei_(no)real(spam)@go2.pl> wrote:
Sorry by my previous post.
How to create implib (.a) for mingw compiler (win2000) from exist, compiled
by borland - shared library (.dll). I need definition file (.def) for
dlltool program from mingw and then should create implib. But i can't create
correct def. file. I Try using pexport, implib, nm, objectdump programs
without result. Definition generated by pexport look's somthing like that:

@%BasicArray$c%@clazzInfo$qv
@%BasicArray$c%@clone$qp23acdk@lang@sys@Allocator

- and dlltool notify syntax error.
Paweł Stępień


<OT/> Don't know if you can do this or not. But your best bet for
getting help on this question is to go to the minGW website
(www.mingw.org) and asking for help on the mailing list there. </OT>

Best regards,

Tom
Jul 22 '05 #3

"Pawel Stępien" <thwei_(no)real(spam)@go2.pl> wrote in message
news:br**********@news.telbank.pl...
Sorry by my previous post.
How to create implib (.a) for mingw compiler (win2000) from exist, compiled by borland - shared library (.dll). I need definition file (.def) for
dlltool program from mingw and then should create implib. But i can't create correct def. file. I Try using pexport, implib, nm, objectdump programs
without result. Definition generated by pexport look's somthing like that:

@%BasicArray$c%@clazzInfo$qv
@%BasicArray$c%@clone$qp23acdk@lang@sys@Allocator

- and dlltool notify syntax error.
Paweł Stępień


Since you are using Windows, learn to use LoadLibrary/GetProcAddress to call
your DLL functions instead of mucking around with implib, def files, and all
of that other junk.
Jul 22 '05 #4
In article <br**********@news.telbank.pl>, "Pawel Stępien" <thwei_(no)
real(spam)@go2.pl> says...
Sorry by my previous post.
How to create implib (.a) for mingw compiler (win2000) from exist, compiled
by borland - shared library (.dll). I need definition file (.def) for
dlltool program from mingw and then should create implib. But i can't create
correct def. file. I Try using pexport, implib, nm, objectdump programs
without result. Definition generated by pexport look's somthing like that:


Assuming you could make this work, it almost certainly would not do you
any good. The names you've given look like they're for member
functions, and the chances of Borland and gcc using compatible calling
conventions for member functions are nearly nil.

If you want to use a DLL across compilers, you'll want to use something
like the stdcall calling convention. If you want to create objects that
are accessible across compilers, you're probably looking at using COM
(which probably isn't worth the trouble).

--
Later,
Jerry.

The universe is a figment of its own imagination.
Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Joonas Paalasmaa | last post by:
Hi, When compiling Sketch's streamfilter C extension the errors below are raised during linking. What could cause the errors? (Python 2.3, MinGw 1.1 with GCC 2.95.3-6, Windows 98) Here are...
1
by: A. B., Khalid | last post by:
Hello all. After a search on Google it would seem that the users of Mingw have not had good results in compiling the python sources natively. See at least: ...
0
by: A. B., Khalid | last post by:
Hello all. After the effort of getting most of Python 2.3.4 Final compiled in MinGW (see: http://mail.python.org/pipermail/python-list/2004-June/225967.html, and get the patch and read more...
4
by: A. B., Khalid | last post by:
Hello all. This is to inform those interested in getting Python to compile in MinGW that the pyMinGW patch is now able to help compile both Python 2.3.4 Final and Python 2.4a3 and the resulting...
188
by: Ilias Lazaridis | last post by:
I'm a newcomer to python: - E01: The Java Failure - May Python Helps? http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553 - I've download (as suggested) the python...
1
by: Pawel Stępien | last post by:
Mam .dll'kę zrobion± borlandem chciałbym zrobić do niej impliba dla gcc (mingw). Próbowałem już dlltoolem, niestety nie mogę wygenerować dla niego poprawnego .def file. (Używałem impdef, pexport,...
4
by: Harald Mossige | last post by:
Dev-Cpp "dont se" MinGW. (Win2K) I have downloaded and run: devlup4991nomingw_setup.exe and MinGW-3.1.0-1.exe in those dirrectory:
2
by: ddh | last post by:
Hi, I download mingw in my system(XP SP2), and extract them in c:\mingw\gcc, so the directories looks like: c:\mingw\gcc\bin, c:\mingw\gcc\include ..., and I added c:\mingw\gcc\bin in my PATH...
6
by: John | last post by:
Hi, I am using Eclipse C++ on Windows with MinGW for linkage. Can you tell me why the libraries used by MinGW (in the \MinGW\lib directory) have a .a extension, wich is unix library extension? I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.