Solved

installshield ?

Posted on 2002-06-06
5
486 Views
Last Modified: 2013-11-14
hi,
i m trying to call the following function inside installshield developer 7.0
y = UseDLL("c:\winnt\system32\commlib.dll");

the function always return -1 (error) the DLL is a windows DLL, all the dependencies are inside system32.


any ideas ?
Shay
0
Comment
Question by:Shay050799
  • 3
  • 2
5 Comments
 
LVL 22

Accepted Solution

by:
CJ_S earned 50 total points
ID: 7061324
y = UseDLL( WINSYSDIR ^ "ComCtl32.dll" );
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7061325
commlib.dll of course :-/
0
 
LVL 3

Author Comment

by:Shay050799
ID: 7062193
well i figured it out...but you deserve the points :-)
thanks
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7062371
What was the eventual solution you used?

thnx for the A!

CJ
0
 
LVL 3

Author Comment

by:Shay050799
ID: 7062378
don't laugh but aparently i needed to add backslashes to the path
c:\\winnt\\system32...)

the compiler doesn't even warn you about them :-)

i posted another question on the same subject see if you can help me out there

Shay
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This is about my first experience with programming Arduino.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now