![]() |
|
|||||||
| 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 |
|
|||
|
Well, I've uninstalled Basic4ppc and all references to .Net Frameworks.
I've now re-installed .Net Framework 1 and 2 and .Net Compact Framework 2 and Basic4ppc. Still the same error message. Mike |
|
|||
|
Well, I can't get to bothered at the moment. If I leave the Dummy file in the device side the program compile and builds with a DTP which is what I want at the moment. That is, it runs on a real device.
Will I be heading for trouble later this way though? Thanks Mike |
|
||||
|
The simplest solution is to add SIP(True) or SIP(false) somewhere in your code.
The reason for this is a bit complex. If you'll delete the source code ControlsExDevice.cs from Basic4ppc libraries folder it will also work. However when the compiler sees this file (and you have a reference to ControlsExDevice.dll) the compiler tries to merge it in the executable. Merging is done by compiling the code together with your code. To compile this library a reference to Microsoft.WindowsCE.Forms.dll is required. Basic4ppc doesn't add a reference to this library by default. Basic4ppc only adds a reference to this dll if it knows that this dll is needed. The SIP method requires a reference and therefore adding it will solve this problem. Another solution is to edit the LibrariesException.txt file (found under Basic4ppc folder). Basic4ppc v6.50 will be distributed with a modified LibrariesException file that will fix this problem. |
|
|||
|
Thanks Erel, I would *never* have figured it out for myself.
I prefer to complie the enhanced way for the reduced exe size and no need to deploy the dlls. I'm happy again. Thanks too agraham for your help (and the library!) Mike |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|