Home | Gallery | Forum | Services | Webmail | Archive | Links | Contact Us | About Us
OS2 World.Com Forum
OS2 World.Com Online Discussion Forum.
Index / OS/2 - SIGs / USB
author message
USBCALLS.LIB
Post a new topic Reply to this Topic Printable Version of this Topic Forward this Topic to your Friend Topic Commands (for administrator or moderators only)
BWHUGHE
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 4
since: 05 May, 2004
1. USBCALLS.LIB
Reply to this topic with quote Modify your message
Has anyone tried developing any USB apps. using Netlabs.org USB toolkit?
I downloaded the source using CVS and tried linking with USBCALLS.DLL and received:
"ILink : fatal error LNK1104: d:\cvs\work\usb\usbcalls\lib\USBCALLS.LIB is not a valid library."

When I used ILIB against USBCALLS.LIB I receive:
[D:\cvs\work\usb\usbcalls\lib]ilib usbcalls.lib
IBM Librarian for OS/2® Version 03.99.PPK1001123
© Copyright IBM Corporation, 1991, 1998.
© Copyright Microsoft Corp., 1988, 1989.
Licensed Materials - Property of IBM - All Rights Reserved.
fatal error : LIB0001: Invalid object "usbcalls.lib" at offset 1352

I then downloaded usbmountd and tried to compile it and I also received:
"ILink : fatal error LNK1104: d:\cvs\work\usb\usbcalls\lib\USBCALLS.LIB is not a valid library."

I am using Convenience Pack 4.52 with VACPP 3.6.5 and Toolkit 4.5.

Any thoughts?

Brian Hughes

Date: 12 May, 2004 on 21:39
zoron
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 37
since: 19 Oct, 2003
2. Re:USBCALLS.LIB
Reply to this topic with quote Modify your message
last updated at 14 May, 2004 08:44 (1 times)
I have not looked at the source but have you tried making a new import library with implib.exe?

Sorry the above comment was a little vague. Try building the import library using the def file instead of the dll eg:

implib usbcalls.lib usbcalls.def

You could also use emximp instead of implib.

Date: 13 May, 2004 on 19:15
BWHUGHE
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 4
since: 05 May, 2004
3. Re:USBCALLS.LIB
Reply to this topic with quote Modify your message
I found USBCALLS.DLL in the USBMOUNTD.ZIP utility file and executed:

ILIB /gi USBCALLS.DLL

to get the library file. It linked just fine. The size of usbcalls.lib was 13330 bytes as opposed to the usbcalls.lib in the CVS source for usbcalls which was 6155 bytes. I didn't notice the DLL before, I was concentrating on the usbcalls CVS source and just missed it.

Thanks for the help.

Date: 14 May, 2004 on 17:17
USBCALLS.LIB
Post a new topic Reply to this Topic Printable Version of this Topic Forward this Topic to your Friend Topic Commands (for administrator or moderators only)
All times are CET+1. < Prev. | P. 1 | Next >
Go to:
 

Powered by UltraBoard 2000 Standard Edition,
Copyright © UltraScripts.com, Inc. 1999-2000.
Home | Gallery | Forums | Services | Webmail | Archive | Links | Contact Us | About Us
© OS2 World.Com 2000-2004