Old 9th April 2002, 13:59   #1
mcgarrah
Junior Member
 
Join Date: Mar 2001
Location: Raleigh NC USA
Posts: 26
Send a message via AIM to mcgarrah
nBeep v03

Justin,

Found two things in nBeep v.03.

First, the debug build does not include "dsound.lib" in the debug
project file. Next, the "_DllMainCRTStartup" declaration should be
wrapped with NDEBUG ifdef's so beep will build in Debug mode other-
wise you get an error about cannot find "_main" during the build.

#ifdef NDEBUG
BOOL WINAPI _DllMainCRTStartup(HANDLE hInst,
ULONG ul_reason_for_call,
LPVOID lpReserved)
{
return TRUE;
}
#endif

I'm halfway interested in writing a sin() function to replace out
the runtime library version used and see how much smaller the EXE
would come down too.

This was just too funny. The guys in house couldn't stop rolling
when I showed them it running.

--
Michael McGarrah
mcgarrah is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump