Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

porting code to win xp

Status
Not open for further replies.

nicasa

Programmer
Feb 3, 2003
54
ES
Hi There,

I have developed several apps using BCB C++ v 5.0 on win 98. THey run perfectly on win '98.
Although I can easily re-compile and re-build them on win xp, when I try to run them I get the error:

"procedure entry point SMapLS could not be located in kernel32.dll".

I have built the apps using the default dynamic linking and have packaged each app with its own installer and all the required dlls.

What can I do ??

Thanks,

steven matthews
 
You obvious uses some calls that Win98 supports and WinXp dosen't. Are You using direct port access??? Low level disc routines???

Remember that XP is a derivate of NT and thus denies direct access to hardware, that could be the problem.

Totte
 
Thanks Totte,

I am using some low level win api like this one to play sound files. When I take it out the program runs fine.

PlaySound("ID_SOUNDWIN", HInstance, SND_ASYNC |
SND_RESOURCE);

// ID_SOUNDWIN is defined in a .res file

How might I modify the above code so that I may continue to use sound files in win applications ?
 
I haven't come to that yet, i'm sorry, so You will have to check with another or go through the Help or forums.

Totte
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top