For a long time, I've been using AllocatehWnd in the main thread to create handles for passing messages from background threads to the foreground thread.
All the handles are created in the same location (during main thread startup), connecting to different handler procedures. All messages are wm_user + unique number (from 1 to 140)
Recently, this stopped working for 3 of 4 handles, and I can't for the life of me figure out why?
The only messages I see, is a value of 28 (which is wm_ActivateApp) and it arrives on startup only) - and then I see one of my other registered messages from a specific background thread (wm_user + 121).
For the other threads, I see the postmessage being called, with the right handle and the right message - but it never arrives in the registered handler.
I've tried moving the message from wm_user + 1 to wm_user + 151 - in case something else was eating them. No joy.
I've tried using only one handle, and calling all of the four handler methods from the common registered handler. The same results.
Each handler do call DefWindowProc. Can it be a component vendor that inserts a handler, but which fails to call DefWindowProc?
I need suggestions for possible causes, or for how to best drill down to the core of the problem, because I am stumped!
There is more than one language in the world. If it gives you a chance to learn a few German words easily, it is fun, isn't it?
#story #oslo #nexus4
Run-time permissions - instead of install-time. Apps will ask for access. Permissions can be changed individually after installation.
Voice Interaction - user can do vocal confirmations.
Finger prints - Two authentication APIs.
Android Backup - Opt In/out for app settings and resources.
Google Play Services 7.5 - Network Manager - smarter decisions on when to use wifi or phone intensively. Backwards compatible with L and older. Also - Maps on Android Wear, App Invites, Cast Remote Display, Smart Lock for passwords.
Power Management - improving screen-off battery life by "dozing". Untouched devices become "inactive". Waits longer to wake up for background tasks. App standby - Unused apps lose network access., Tasks and apps resume when launched/user or phone is plugged in.
Assistant support - new APIs. Just-in-time help for the user.
Data Binding - connecting data and UI elements. Pre-processed at build time. Removes a lot of boilerplate code.
Android Design Support Library - suggestions / tips / patterns / components - CoordinatorLayout, Snackbar, TabLayout, NavigationView, FAB (the circle with the shadow).
UI Changes - RecyclerView: swipe to dismiss, drag & drop
WebView: PostMessage, WebViewClient, off-screen drawing, etc.
Notifications - New support for icons with on-the-fly generated bitmaps.
Text selection/copy/share/paste significantly improved! Text selection processing. Better formatting / hyphenation / flow-control.
App-links: Understanding relationships between related app and web site, automatically using the appropriate intent.
Direct share: context based Intent delivery for shared data. Gives receiver smarter intent selection set.
Stylus support - used to be digitizers only - now adds Bluetooth stylus support, and merge info with the touch surface (ie the BT pen can deliver the pressure and accelleration, while coordinates comes from the touch screen. Also adds button support, gesture support, etc.
Graphics & Media - BLAS intrinsics (huge matrices), allocation-less launches (size of kernel separate from data), ScriptGroup (dependency types, optimizations).
Camera - New Torch mode (runs flash independent of camera), Alpha optmizations, auto hw layer for translucent views.
MIDI - android.media.midi - in/out - simplifies the consumption and production of MIDI data streams.
Hi-rez audio - single precision floats at 96kHz.
Android Studio - Integrated testing support, Data binding, Vector drawables, new annotations (improve type safety), Android NDK
Systrace - app performance analysis, now with tips and diagnostic descriptions.
ART - better performance and lower memory use.
- "Adopt" permanent storage (SD) avoid hard coded paths.
- New "brain dump" guide for better apps being published on medium.com/google-developers
SDK+Android Studio and System images:
- TineSystems Consultant, Industrial IT, 2010 - presentI am currently part of a three man Delphi team, doing a complete Production Control and Warehouse Management System, which integrates with Lawson's M3 (aka Movex) ERP system. The system consists of a large MS SQL database, a multithreaded Delphi server running as a service with an Indy driven web frontend, a Delphi Windows frontend app, a Windows Touch Truck terminal app, various other system config and control apps, as well as two .NET apps for handheld computers. One of the handhelds is touch based, but the other is a displayless, voice operated computer, worn by the pickers that expedite the orders to clients.
- IST ASSystems Developer, 2008 - 2010Learning PL-SQL was a great experience, but maintaining a Delphi 5 app was not. Since IST didn't actually own the app, but did it as a consulting task - it also meant that development was committee driven. An attempt to port the quite advanced Delphi 5 app (it had it's own ORM) to Delphi 2009, stranded on a grid component that they didn't have the source for, and which development had been discontinued - and a project owner that didn't want to take the cost of a partial rewrite. Being stuck at Delphi 5 and not owning the application, was really painful.
- SabbaticalStudent, 2006 - 2007The severance agreement allowed me to take a break and try to figure out if I wanted to go left and continue in the management direction, or take a right - and return to software development. I decided I wanted to stay on the technical path, as it would mean less politics and be focused on creating stuff. I spent some time on C# and Delphi.NET and various web technologies. When I got headhunted into IST, which was an Oracle and PL-SQL shop - I saw an opportunity to learn more about large databases.
- Reuters Group plcSoftware Development Manager, 2000 - 2006Being both a pointy haired boss and a dilbert developer was both great fun and a great challenge. People handling skills are useful to have, and nothing hones them as having to manage smart and resourceful developers. All in all, a humbling and educating experience, but also a source of frustration as your development time gets torpedoed by other tasks. Reuters First was having growth pains, and we embarked on redesigning the data distribution system from a Windows NT based feed translators and Unix hosted feed concentrators and data routers, to a pure Windows environment using a compressed XML data stream over Tibco Rendezvous' multicast Publish/Subscribe bus. In 2004, We began a refactoring of the Reuters First App and started integrating with the other Reuters Systems, including dropping their COM objects into our app. In 2005 - we got the message that Reuters was concentrating their development sites to just a few main hubs - and the Oslo development team was facing the axe. The team got an invitation to move to Paris, but 5 of 6 team members declined. Most of us were not thrilled about leaving our relatives and business networks, and the signals that we received in Paris were not encouraging. Instead we accepted a handsome severance deal, and completed the refactoring/rewrite of Reuters First and handed it over to a Moscow based company for care and maintenance. For Reuters, that meant going from a team of 6 in Oslo, managing the system well, to needing a team of 15+ in Moscow. Clearly, experience does have it's value.
- Reuters Group plcSr. Software Developer, 1996 - 2000Reuters Norway bought Falcon - lock, stock and barrel. We were beating them on the trader and analyst desks, so since they couldn't beat us, they bought us. The Broker's ABC was fitted with a DDE based data connection to Falcon's System IV, a real time stock market information app, and suddenly we did real time technical chart analysis. System IV was the reason Reuters bought Falcon, and it was renamed Reuters First Nordic, and expanded to cover Denmark, Sweden, Finland and Iceland. FDBLib was ported to BDE, and a socket based client/server version was made - without any changes to the APIs exposed by the FDBLib16 and FDBLib32 time series libraries. I created new UX tools for automated and manual data maintenance as well. The updates were scripts that were validated and compiled into a serialized binary stream which was sent to the client's servers to be applied to the client's local databases.
- Falcon Information Services ASSoftware Developer, 1992 - 1996My first task was to port "The Broker's ABC" - a DOS based Stock Market Technical Chart Analysis app to Turbo Pascal for Windows 1.0, and in the process I also designed and implemented a new time series vector format (FDBLib16) which was using Paradox Engine as a storage facility. At the time, it was the only royalty free engine that supported both DOS and Windows. Later, I made ABC into a white labeled app, which we licensed to one of the local Power Exchanges and added support for historical energy and weather data.
- ABB Alfsen og Gunderson ASSoftware Developer, 1990 - 1992As their only pure software developer at the time, I ported and modernized a Timber Drying Kiln control system, written in Compas Pascal on a DEC Rainbow CP/M computer, to MS DOS using Turbo Pascal 4.0, and later as OOP in n TP 5.5, adding multi PLC, multi Printer and multi Display support. I also wrote various other control apps for a number of processing plants.
- Google+ is not Facebook. Your old friends might not be here (yet), but that is okay, since Google+ exists to bring people together based on their shared interests and not only by social connection.
- You don't have to follow people back if they follow you. On Google+, we don't have to be friends, but who knows - we might actually go from random commenters to become friends if we share a common interest, and if we like what the other have to share and say.
- Don't be one of the #blueheads! Add a photo of yourself, or a drawing, or one of your cat. Fill in a little info about yourself and your interests, roughly where in the world you are, and what else you might like to share.
- Do you want your Google+ experience to come alive? Find someone to follow! How, you say? Do you know how to Google? ;) You can search for stuff on Google+ too. Search for People, brands or keywords and browse among the results. Spot someone making a post you like? Make a circle and follow them!
- There are some people you absolutely need to follow. These people - among many others - share knowledge about how to get the most out of Google+. To mention a few: rahul roy, Shamil Weerakoon, and Denis Labelle . Browse their shared circle posts to find more interesting people to follow!
- Comment, Share, and Post! To become a valued participant, you need to participate! Make comments in other people posts. Share posts that interest you. Post about stuff that interests you.
- Share to public! It makes it easier to reshare, and it makes your profile interesting to people visiting which are not already in your circles.
- There is no wrong way to use Google+ - but we all have our preferences. Personally, I'm not huge on wisdom memes and posts about how you slept or what you ate - well unless you had a weird dream, or took a #foodporn picture of something delicious, or shared the recipe. I prefer when people leave Facebook confessions on Facebook. I also like it when people are civil, reflected and care to post a little bit more than smileys, lols and wtfs.
- If you look spamlike - you risk getting blocked. If your profile and posts doesn't look like a real human being - you risk getting blocked. If your profile or page is nothing but reshares of the posts of others - you risk getting blocked. If you post spammish, hateful, insulting or derogatory comments or your commentary strays very far from the topic in a "You appear to be talking to the gallery" way - you risk getting blocked.
- Software: #programming #delphi #firemonkey #vcl #pascal
If your primary interest is Delphi Development, please follow the Delphi Developers community.
- Photography: #photography #nikon #d7000
- Poetry: #poetry #prose #writing
- Norwegian by birth
- Grew up in the Gjøvik area, lived in Oslo from 1990 to 2010, now living at Stathelle, Bamble in Telemark
- Educated in electronics and software, with music, poetry and photo as hobbies
- Married, three teens, a dog, a cat, computer & camera
What spare time?
- Oppvokst på Gjøvik, Osloboer fra 1990 til 2010, nå Bambling på Stathelle, Telemark
- Elektronikk og software utdannet, med musikk, poesi og foto som hobby
- Gift, tre tenåringer, hund, katt, PC og kamera
Hvilken fritid, sa du?
– Nå skal Samsung rydde opp i programvaren - www.digi.no/bedriftsteknologi
Inngår avtale med Microsoft?
Easily Edit Classes.dex with Dex Manager - XDA Forums
This Windows tool allows you to decompile and compile the classes.dex files in simple and efficient way.
Father Of Two Captures Heartwarming Childhood Moments In Polish Village
Sebastian Łuczywo is a brilliant Polish photographer who loves capturing the dearest moments in the lives of his beautiful family in their r