| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| From: | "Mischa" <mischa AT multiply DOT ch> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | Developing with cygwin: library troubles |
| Date: | Thu, 31 Jul 2003 11:02:32 +0200 |
| Message-ID: | <CMEDLGKEMFHHAKHKMKOIEEACCAAA.mischa@multiply.ch> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| Importance: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
| X-Spam-Status: | No, hits=0.8 required=6.0 |
| tests=SPAM_PHRASE_00_01,USER_AGENT_OUTLOOK | |
| version=2.44 | |
| X-Spam-Level: |
Hi I want to develop a windows program that reads the GUID from a MSI package with C. It was no problem to create an exe-file with gcc that runs on non-cygwin platforms (with -mno-cygwin). My problem is the following: I need several functions from the Msi.lib (included in Windows Installer SDK). I've created a libMsi.a with dlltool and moved it to /lib/w32api/ and linked my .o with -lmsi. Compiling and linking worked fine, but if i try to run the exe, it want to load a Msi.lib as a Dynamic Link Library. I've tried to create a DLL from the Msi.lib but then an error appears that the Function MsiOpenPackageA AT 8 could not be found. I don't see the problem, perhaps it is the convert process from the Msi.lib to the libmsi.a? Or is it impossible to use some function from a .lib-file? Please help me, i'm desperate! :-) Thanks Mischa -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |