Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

PaulJ

@PaulJ
About
Posts
14
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Application Window Position
    P PaulJ

    Hi, I have two Window CE applications running and I am trying to activate one from the other. I tried two different ways: grab the CWnd pointer of the other application and call BringWindowToTop (or SetWindowPos, or SetWindowActive); and the other attempt was to send the current app to the bottom of the z-order using SetWindowPos. None of these ideas seemed to work. The functions just seem to be ignored. I can cause the application forms to disappear or changes size, but the z-order I can't seem to change. Any Ideas? :confused: Paul Jahans

    Mobile question

  • Saving Registry changes to Persistent memory
    P PaulJ

    Hi, I am writing an application using eMbedded VC++ 4.0 (SP2) for a device running Windows CE .NET 4.0. I am reading and writing to the Registry using GetProfileInt and SetProfileInt without any problems. However, these changes are only written to the Registry heap in RAM. How do I update the Registry to storage? I have tried RegFlushKey and RegCloseKeyEx and even tried using the CRegKey::Open and CRegKey::Close. But none of these work. I keep getting cryptic error messages that do not help me. Does anyone have a working example that shows how to do this? :confused: Paul Jahans

    Mobile help tutorial question csharp c++

  • Auto-Run from Compact Flash Card
    P PaulJ

    Is there anyway to automatically run an application from a CF card when the CF card is inserted? I am writing an application using eMbedded VC++ 3.0 for WinCE 3.0. The processor I'm using ia a Pentium. :-D Paul Jahans

    Mobile c++ adobe hardware question

  • Datatype Misalignment
    P PaulJ

    Can someone explain why I get a Datatype Misalignment error message when I use the ::GetDiskFreeSpaceEx function? I am getting the correct data returned but when I try to save any of the values to a variable I get this error. I've tried delcaring the variable as ULONGLONG or __ui64, but nothing works. What datatype should the variable be? and should I save the LowPart or QuadPart? I wont ever see more than 2GB of memory space. Does anyone have an example for eMbedded VC++?:confused: Paul Jahans

    Mobile c++ hardware performance help tutorial

  • Creating a simple CSV file
    P PaulJ

    I have spent almost 2 days trying to create a simple csv file that I can import into Excel. But I am having trouble with UNICODE. This is very simple to do in regular VC++ for desktop PC's, but how do you generate a CSV file using eMbedded VC++? Excel, on my desktop, does not like the CSV file generated from my Window CE computer.:confused: Paul Jahans

    Mobile c++ hardware question

  • Time Comparisons
    P PaulJ

    This is very simple. I'll use this for now unless I find a more common way. Thanks for you help Chris.:-D Paul Jahans

    C / C++ / MFC question windows-admin

  • Time Comparisons
    P PaulJ

    How do I compare times using CTime. When I retreive a CTime value from the registry and compare it to the current time (using CTime::GetCurrentTime(), it also compares the dates which are several days apart. I need to compare the time part. Is there a way to mask out the date part then check if the current time is > or < the time saved in the registry?:confused: :confused: Paul Jahans

    C / C++ / MFC question windows-admin

  • Hexidecimal to decimal conversion
    P PaulJ

    Hi, Has anyone out there have a routine that converts a Hexidecmal String to a DWORD? Paul Jahans

    C / C++ / MFC question

  • Pure Virtual Functions
    P PaulJ

    How do I declare a pure virtual function that has an argument list? All the examples I've seen always seem to use the simple Shape function example. Paul Jahans

    C / C++ / MFC question tutorial

  • Using _beginthreadex in an MFC dll
    P PaulJ

    The thread function is in the calling program and is declared like this: DWORD WINAPI CGUITermDoc::CommReader(void *pvData) From calling program, I call the DLL function: StartCommThread(LPTHREAD_START_ROUTINE CommProc, void *pvData) In this function, I try to pass CommProc to the _beginthreadex function, but this is where I get the compile error. Paul Jahans

    C / C++ / MFC c++ json help question

  • Using _beginthreadex in an MFC dll
    P PaulJ

    Hi, I'm trying to convert a line of code that calls the API CreateThread function to the _beginthreadex function, but I get the compile error: "cannot convert parameter 3 from 'unsigned long (__stdcall *)(void *)' to 'unsigned int (__stdcall *)(void *)" Parameter 3 is declared as type LPTHREAD_START_ROUTINE. What type should I use to avoid this compile error? Thanks Paul Jahans

    C / C++ / MFC c++ json help question

  • Enumerating Catalogs using OLE DB
    P PaulJ

    Thanks for your quick response. I'll try that. Paul Jahans

    C / C++ / MFC database sql-server com sysadmin tutorial

  • Enumerating Catalogs using OLE DB
    P PaulJ

    I can't seem to find any clear-cut example to enumerating the catalogs (databases) in my SQL server datasource using OLEDB. Does anyone have an example of this? Paul Jahans

    C / C++ / MFC database sql-server com sysadmin tutorial

  • How do I add a bitmap to a property sheet
    P PaulJ

    I am creating a wizard using VC++ MFC, but I'm having trouble adding a bitmap header to the property sheet. My bitmap gets clipped by the property pages. What is the standard procedure to accomplish this?:confused: Paul Jahans

    C / C++ / MFC question c++ graphics
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups