Old 04-05-2008, 01:27 PM   #1
Deric
Human being with feelings
 
Join Date: Mar 2007
Posts: 794
Default Odds'n'ends questions.

Hi,

I've just done a build (with some minor edits) of reaper_surf.dll (using Visual C++ Express 2008) and the file is 631KB whereas the original was 54KB...

The changes, so far, work but why has the file size increased so dramatically? I haven't added anything yet - just performed edits.

Am wondering if I've done something wrong...
__________________
REAPER? Oh yes...
Deric is offline   Reply With Quote
Old 04-05-2008, 01:28 PM   #2
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
Default

You've built it in DEBUG-configuration. Set Visual Studio to build as a RELEASE. I think sws was wrong in saying the project is set to build as release straight from the box...
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Xenakios is offline   Reply With Quote
Old 04-05-2008, 01:31 PM   #3
Deric
Human being with feelings
 
Join Date: Mar 2007
Posts: 794
Default

Heehee... I'm glad none of the tech-heads around here believe in sleep!

Cheers Xenakios! I'll see if I can figure out how to change that!

Thanks man!

Edit: OK got it - 'Build'->'Configuration Manager'->'Active solution configuration:Release

Edit2: OK! 56KB. Bigger then I'd hoped but... yeah!

Thanks Xenakios!
__________________
REAPER? Oh yes...

Last edited by Deric; 04-05-2008 at 01:42 PM. Reason: Updated with How-To plus result.
Deric is offline   Reply With Quote
Old 04-05-2008, 01:48 PM   #4
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
Default

The compiler included in the Visual Studio 2008 is probably quite different than the compiler that Cockos uses. Could explain the size difference. Nothing to worry about, the DLLs are not so huge things in any case...
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Xenakios is offline   Reply With Quote
Reply

Thread Tools
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


All times are GMT -7. The time now is 04:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.