![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi Erel, When usng the Hekkus Wrapper I created using the Legacy compiler in v6.01, there are no problems. However when used with the Optimized compiler, I get the following error:
External compiler error Error compiling program. Error message: error CS0246: The type or namespace name 'hssNET' could not be found (are you missing a using directive or an assembly reference?) Line number: 17 Line: s1 = Speaker.SpeakerPlaySound(Sound1.SoundValue) OK How can I fix this from within my Library? Thanks. |
|
||||
|
Hi,
Has I understand it, legacy compilation is for some backwards compatibility with net 1.1 dlls... optimized compilation use target default the net 2.0 framework... So you should re-compile your dll as an .net 2.o dll and make the necessary adjustments..
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
||||
|
I stand corrected, thanks EREL
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
|||
|
Hi, Thanks for the suggestions. I re-submitted a better version of my Hekkus Wrapper with a Basic4ppc example of how it can be used. As you will see, the compiled executables are compiled using the non-optimized compiler. ry
compiling my example with the Optimized Compiler, you will see that you get an executable. Run the executable and it immediately crashes! It's weird. It crashes regardless of whether the library was compiled for .NET 1.1 or 2.0. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Hekkus Sound Library Wrapper! | Louis | Additional Libraries | 16 | 12-26-2008 05:46 PM |
| Threading library for optimising compiler | agraham | Additional Libraries | 37 | 12-13-2008 11:07 AM |
| Problem with Optimized Compiler | mikemputer | Questions & Help Needed | 3 | 01-26-2008 03:00 PM |
| Null value table cells with optimized compiler | glook | Questions & Help Needed | 0 | 01-04-2008 10:38 AM |
| Anyone get the Email library to work? | mwaite | Bug Reports | 9 | 05-18-2007 11:19 AM |