Solved

installshield ?

Posted on 2002-06-06
5
494 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

751 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