Solved

installshield ?

Posted on 2002-06-06
5
491 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
If you don't know how to downgrade, my instructions below should be helpful.
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…

808 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