I write a Windows app and compile with "Optimized compilation". But when I run, it's nothing happen. I compile again without "Optimized compilation" and it's ok.
What is it supposed to do?
Can you post your code?
Are you using any dll?
The amount of info provided is the only thing that helps us to help other...
Just saying "I have a problem" does not help us, help you....
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
I write a Windows app use some libraries. When I run (F5) to test, it's OK. I compile with "Optimized Compilation" it's creat a .exe file but when I run, there's nothing happen. I compile again without "Optimized Compilation" and run .exe file, it's OK. I don't know what going on. Can you explain? Thank you.
Optimized compilation - device EXEs just do nothing
Hello. Sorry for recovering an old thread, but it describes exactly my problem and I found it "cut in the middle"; let's see if we can give it a happy end
Basically the problem is: if I compile a device EXE without the "Optimize" option, the program works fine; if I compile the same with "Optimize", then the executable ignores the stylo tapping and does not run at all. No reaction, no error message, nothing. This happens with all the programs I tried: my own programs, a sample grabbed from the website ("GPSExample.zip") and even a test program I just prepared.
The thread ended with Erel asking Susu to upload the source code. Well, I prepared a very simple bare-bones program: it displays Form1 with a text and a button; when the user clicks the button, the program ends. I'm also sending both device EXEs, optimized and non-optimized. The second behaves as expected, but the first doesn't even start, as I'm explaining.
I'm using B4PPC version 6.50, and my device (Acer n35) runs Windows Mobile version 4.20.0; the processor is a Samsung S3C2410 (which means, StrongArm type).
Hello. Sorry for recovering an old thread, but it describes exactly my problem and I found it "cut in the middle"; let's see if we can give it a happy end
Basically the problem is: if I compile a device EXE without the "Optimize" option, the program works fine; if I compile the same with "Optimize", then the executable ignores the stylo tapping and does not run at all. No reaction, no error message, nothing. This happens with all the programs I tried: my own programs, a sample grabbed from the website ("GPSExample.zip") and even a test program I just prepared.
The thread ended with Erel asking Susu to upload the source code. Well, I prepared a very simple bare-bones program: it displays Form1 with a text and a button; when the user clicks the button, the program ends. I'm also sending both device EXEs, optimized and non-optimized. The second behaves as expected, but the first doesn't even start, as I'm explaining.
I'm using B4PPC version 6.50, and my device (Acer n35) runs Windows Mobile version 4.20.0; the processor is a Samsung S3C2410 (which means, StrongArm type).
Hope someone can me!
Hi. Does the Samsung S3C2410 have Compact Framework 2.0?
Hi. Does the Samsung S3C2410 have Compact Framework 2.0?
The Compact Framework is NOT cpu related, but WinMobile version related....
SO, did you mean to ask if the Acer n35 has CF2.0?
Being this a WM5 device, if it does not have already in ROM, it can be installed as a seperate pakage...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
The Compact Framework is NOT cpu related, but WinMobile version related....
SO, did you mean to ask if the Acer n35 has CF2.0?
Being this a WM5 device, if it does not have already in ROM, it can be installed as a seperate pakage...
I was not asking about the CPU, I was asking about the version of Win Mobile that was on his device. I did not see where it was mentioned that it was a WM5 device.
Quote:
I'm using B4PPC version 6.50, and my device (Acer n35) runs Windows Mobile version 4.20.0; the processor is a Samsung S3C2410 (which means, StrongArm type).
I had not heard of Win Mobile 4.20.0 and I was curious if CF2.0 was installed.
Is there a Compact Framework 2.0 for Windows Mobile 4.2?
Sorry for the days off... my PPC died misteriously and I had to take it for repairs, so I didn't do anything related to it (even connecting here --sorry).
Well, it turns out that CF 2.0 was not installed in my PPC. If I recall correctly, it was installed before, but a few months ago it went through a cold reset, so it might happen that I didn't reinstall everything. But I went to the Microsoft web site, and it looks like CF 2.0 requires Windows Mobile 5 or newer (it refuses to install complaining about OS version). Can it be that my memory is playing tricks on me?
Anyway, it looks like my problem is that I don't have Compact Framework 2.0, but I cannot find a package for Windows Mobile 4.20. Anyone can confirm me if it exists, and where to find it if it does?
Alternatively, is there any way to use the GPS/Serial features of Basic4PPC without optimised compilation?