To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 1825
1824  |  1826
Subject: 
TOWERAPI.DLL: Where is TOWERAPI.LIB file in SDK 2.0?
Newsgroups: 
lugnet.robotics.rcx
Date: 
Sat, 2 Nov 2002 08:19:02 GMT
Reply-To: 
Dick Swan <dickswa@sbcglobal.&NoMoreSpam&net>
Viewed: 
3290 times
  
I'm trying to use "TOWERAPI.DLL" to directly setup the USB tower
drivers in a Windows C++ program using Microsoft's Visual Studio.
Lego's documentation refers to linking with "TOWERAPI.LIB" but this
file is not in the SDK 2.0 release.

In an earlier post several months ago, someone referred to the "LIB
/DEF:TOWERAPI.DLL" command as a way to create the "lib" file. I tried
this and it did create the file "lib" file but I still get "undefined
externals" from the linker. And when I run DUMPBIN on the "lib" file
it has no entry points defined. Can anyone help? I've never used
DUMPBIN or LIB before.

Is there anyone out there who is successfully using TOWERAPI.DLL?



Message has 1 Reply:
  Re: TOWERAPI.DLL: Where is TOWERAPI.LIB file in SDK 2.0?
 
I struggled with this same problem you've encountered (even trying the method mentioned in the post you referred to). I decided it was easier for me to just load the DLL at run-time instead of using an import library. Here's what I ended up doing: (...) (22 years ago, 2-Nov-02, to lugnet.robotics.rcx)

4 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR