![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Bug Reports Post about errors or bugs encountered. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I just downloaded version 6 am using optimized compiling on my personal contact manager. I get the following error (Device or Windows):
------ Error compiling program. Error message: error C51502: The best overloaded method match for 'system.Drawing.Font.Font(string, float, System.Drawing.FontStyle)' has some invalid arguments. ------ I am using the FormLib.dll (dated 31 Oct 07) but I am not changing any fonts. I use it for: ChangeParent MinimizeBox AddContextMenu Any suggestions? |
|
|||
|
Erel,
It does not give any line number. It comes up right after the first 'DOS' window pops up during compiling. I eliminated all references to FormLib.dll and removed the component - still get the error. I would rather not post the code as it is 3300 lines and contains some private data. Can you recomend a logical way to determine what to check or remove from my code to track this down? Thanks David |
|
||||
|
Please send me your code if possible and I will check it.
erel@basic4ppc.com |
|
|||
|
Ok here is what I have found:
1. Remarked out each Sub contents one at a time and tried to compile. Even with all remarked out still receive an error. 2. Removed all components and objects. Still receive an error. 3. Deleted all code except for Golbals and App_Start Sub and End Sub (no code). Still receive an error. 4. Started a new program and started to add in the components and objects I use (no code). 5. When I added DesktopOnly.dll to only the Desktop and compiled for the device I received an External compiler error C50246: "The type or namespace name 'DesktopOnly' could not be found (are you missing a using directive or an assembly reference?)" 6. When I added DesktopOnly.dll to the Device and compiled I received no error. 7. Added the following Components without an error (other than step 5 above): - FormLib.dll - Hardware.dll - SQLDevice.dll - SQLDesktop.dll - DesktopOnly.dll - ControlEvents1.dll - HardwareDesktop.dll 8. I have started to add in code but this is going to take quite a while. Any Ideas would be appreciated. |
![]() |
| 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 |
| Checking available fonts? | MitchDabo | Questions & Help Needed | 5 | 02-10-2008 11:43 PM |
| Version 6.01 Compile Issue | epninety | Bug Reports | 1 | 01-13-2008 12:34 PM |
| Mixing fonts and font styles? | Mistrel | Questions & Help Needed | 1 | 10-17-2007 05:23 AM |
| Reload system fonts on run | Mistrel | Basic4ppc Wishlist | 2 | 10-16-2007 09:54 PM |
| Loading fonts outside of the font directory | Mistrel | Questions & Help Needed | 1 | 10-16-2007 08:28 AM |