Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

installshield ?

Posted on 2002-06-06
5
Medium Priority
?
529 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 200 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Loops Section Overview

877 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