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 / 1829
1828  |  1830
Subject: 
Re: TOWERAPI.DLL: Where is TOWERAPI.LIB file in SDK 2.0?
Newsgroups: 
lugnet.robotics.rcx
Date: 
Sat, 2 Nov 2002 19:40:46 GMT
Viewed: 
2949 times
  
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:

http://home.surewest.net/markril/Lego/TowerSend.cpp

HTH,

Mark

"Dick Swan" <dickswan@sbcglobal.net> wrote in message
news:H4xw7L.Fwr@lugnet.com...
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:
  How to use TowerApi.dll without TowerApi.lib
 
Hi, I wrote the program which performs LoadLibrary() automatically from TowerApi.h, in order to use TowerApi.dll without TowerApi.lib. But this page was written in Japanese. (URL) show you the URI for machine translation. (URL) write the application (...) (21 years ago, 27-Jan-03, to lugnet.robotics.rcx)

Message is in Reply To:
  TOWERAPI.DLL: Where is TOWERAPI.LIB file in SDK 2.0?
 
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 (...) (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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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