I need to validate user input with reg expressions but need a library (C++). Preferrably, one that is already part of the Mobile 6 OS. However, the Mobile 6 documentation doesn't appear to list one. Does anyone know of one for Mobile 6?
Jnewg5
Posts
-
Reg Exp Library for Mobile 6 -
Cram std::map into std:vectorFor some reason, the original post parsed out the std:map of (std::string,uint) and std:vector of (byte).
-
Cram std::map into std:vectorI have a situation (due to time constraints) that I need to cram a std::map into a std::vector. Can anyone help me?
-
WSAAsyncSelect Linux EquivalentJnewg5 wrote:
I just found . Need to get better with my google queries
meant to include "sys/epoll.h"
-
WSAAsyncSelect Linux EquivalentI just found . Need to get better with my google queries:)
-
WSAAsyncSelect Linux EquivalentI am porting a windows application to Linux and would like to keep a portion of the windows code that uses WSAAsyncSelect the same. I can implement this using a busy while loop checking select/FD_ISSET on my sockets. But this seems inefficient. Is there a linux equivalent to this function?
-
Porting Win32/COM to LinuxAnyone have experience in porting COM components to Linux? I am trying to port the DEFINE_GUID macro definitions and Guids in general to Linux. Thanks, Bob
-
Porting from Windows to LinuxHello, trying to gather some information for a new project that I am working on. We've been assigned to port a windows application (ATL, Win32, MFC, COM in-procs/out-procs,etc.) to Linux. I've been reading up on a DCOM Linux implementation called EntireX (http://128.197.93.185/cd/exxv7113/WINDOWS/EXX/program+files/Software+AG/EntireX/Docu/print/dcmlinux.pdf) that would hopefully enable the port to talk with it's Windows implementation. Does anyone have experience with EntireX - reliability? etc? Or can suggest a better solution/favorite product? Thanks, Bob
-
In-Proc becomes client to Out-of-ProcI have an In-Proc server that needs a service by a client exe. So, I added an interface to the now "Out-of-Proc" client exe for the now 'client' In-Proc. Everything compiles except during run-time, I am getting the following error: "0x80010105: The server threw an exception." when the new interface is accessed. I am not sure if this can be done this way. Anyone have any ideas?
-
EmbeddedI have a com server that mainly runs as embedded in main application. My main application is basically a mapping application that 'contains' these embedded servers. The servers basically manipulate the mapping data in their respective way. I am having a resource problem between my main application exe and one of my server exes during mouse movements. It seems that this particular server CPU starves my main application more than any other server during mouse movements. I came across the GetActivationPolicy on the IPointerInactive interface and COleControl class. Is there a way that I can modify the server to not utilize the CPU as much during mousemovements? Any help is greatly appreciated -
-
Toolbar Peformance ProblemMy application has several toolbars. The toolbars can be configured thru a command profile. One of them has 4 editboxes that recieve updates to display geographic coordinates. In some cases, I've noticed the updates in the editboxes of the toolbar start to 'bog down'. Can someone tell me specifically what I should be looking with respect to this problem (resource contention), such as WM_PAINT, WM..etc messages? Any help is greatly appreciated -
-
GetSystemTime(LPSYSTEMTIME st)Can this function call fail in some configuration of Windows NT 4.0 and later? The docs state that the complementary SetSystemTime call will fail if the user doesn't have the privileges to set the time on a system. I have an application that is failing to return this information. The function is void, so the only real valid check is to check the SYSTEMTIME struct for empty values.
-
Building a 'skeletal' DOM based upon a schemaHello, I am using Xerces DOM for C++ in my application. Is there a way to initialize a skeletal DOM object based upon a schema? The Xerces documentation says no to DTD, so I am assuming that transfers over to schemas. Does anyone know if MSXML supports it or any other tool? I was wondering if a tool like XMLSpy will generate a skeletal XML file from a *.xsd schema file? Any help is appreciated -
-
Sending Ctrl Alt Delete to a Remote ComputerI would like to send the Ctrl Alt Delete sequence to another computer similarily as the VNCViewer application does. How can this be done? IMsRdpClientNonScriptable::SendKeys is only for XP.
-
MDI ApplicationI have a main (parent) MDI Application that launches another MDI Application. I have altered the title bar in the parent MDI App to display active security colors(all the time). When the child MDI App gets launched, especially when it's position comes up overlapping the parent App, I notice some weirdness with the mouse probably due to confusing framework messages as a result of the always active parent MDI title bar. The mouse will disappear behind the child MDI App window because it thinks it is still owned by the parent MDI App. I have tried to intercept the OnMouseActivate in the child's View class to no success. The parent title bar must stay active per requirements. Anyone know of a way I can relinquish mouse control to this child MDI App? Thanks!
-
.NET C++ MDI App release/debug discrepancyI have a .NET C++ compiled MDI application that is displaying discrepancy between the release and debug configurations. The application basically draws/paints a map in the client areas. I am noticing that in the debug version, the map draws fine. However, when it is run in the release mode, the map doesn't get drawn. I have added the debugging hooks in the release configuration and recompiled and notice that the map draws (behaving like the debug version - which is kind of expected). So, I am not sure where to turn - Anyone have any ideas? Thanks-
-
ToolBar Performance HitI have a MDI application with a customized toolbar. This toolbar has up to 4 edit boxes (command profile configurable) that get updated and provide feedback of geo-coordinates(MTM, UTM, Lat/Long,etc). I have noticed that my toolbar works fine until I add another toolbar to the app. The other toolbars are not dynamic in nature like the coordinate toolbar, so it really shouldn't hit the performance of the coordinate toolbar's editbox updates, but it does. The update of the coordinate toolbar's editboxes are driven by mouse movements(OnMouseMove). Any ideas? Thanks!
-
Link Problem VS6.0 to VS.NETI have a project that was originally built in Visual Studio C++ 6.0. I have since upgraded to Visual Studio .NET and am encountering a link problem. The project is a (non-ATL generated)COM server that also employs templates that is built across 2 projects. The base class("PluginServ") implements the DllCanUnloadNow, DllGetClassObject, DllRegisterServer, and DllUnregisterServer. The .def file is in the aggregated class ("DerivedPlugin") project and declares the above exports. The link error is the following: ------ Build started: Project: DerivedPlugInServ, Configuration: Debug Win32 ------ Linking... LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification DerivedPlugInServ.def : error LNK2001: unresolved external symbol DllRegisterServer DerivedPlugInServ.def : error LNK2001: unresolved external symbol DllUnregisterServer .\Debug/VPF.lib : fatal error LNK1120: 2 unresolved externals LINK : fatal error LNK1141: failure during build of exports file Build log was saved at "file://c:\projects\src\DerivedPlugInServ\Debug\BuildLog.htm" DerivedPlugInServ- 4 error(s), 1 warning(s) ---------------------- Done ---------------------- Build: 0 succeeded, 1 failed, 0 skipped" Anyone have any ideas as to how I may resolve this link error? I have looked online and have not come across a solution. Thank you!
-
Link ProblemsI have a project that was originally built in Visual Studio C++ 6.0. I have since upgraded to Visual Studio .NET and am encountering a link problem. The project is a (non-ATL generated)COM server that also employs templates that is built across 2 projects. The base class("PluginServ") implements the DllCanUnloadNow, DllGetClassObject, DllRegisterServer, and DllUnregisterServer. The .def file is in the aggregated class ("DerivedPlugin") project and declares the above exports. The link error is the following: ------ Build started: Project: DerivedPlugInServ, Configuration: Debug Win32 ------ Linking... LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification DerivedPlugInServ.def : error LNK2001: unresolved external symbol DllRegisterServer DerivedPlugInServ.def : error LNK2001: unresolved external symbol DllUnregisterServer .\Debug/VPF.lib : fatal error LNK1120: 2 unresolved externals LINK : fatal error LNK1141: failure during build of exports file Build log was saved at "file://c:\projects\src\DerivedPlugInServ\Debug\BuildLog.htm" DerivedPlugInServ- 4 error(s), 1 warning(s) ---------------------- Done ---------------------- Build: 0 succeeded, 1 failed, 0 skipped" Anyone have any ideas as to how I may resolve this link error? I have looked online and have not come across a solution. Thank you!
-
Task ManagerThanks - I am aware of that, but I am falling in line with the adage that "Programmers are lazy." :)