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
B

bjolletts

@bjolletts
About
Posts
12
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Same hotkey for different dialogs in the same MFC program ??
    B bjolletts

    I do it like this: In the maindialogs OnInit-function: RegisterHotKey(GetSafeHwnd(), m_IDHotKey, NULL, VK_F5); And add this to the messagemap in every dialog that should use the hotkey: ON_MESSAGE(WM_HOTKEY,OnHotKey) And the OnHotKey function looks like this: LRESULT CFingerIDAdminDlg::OnHotKey(WPARAM wParam, LPARAM lParam) { // Do stuff } It only works for the main dialog ... a F5-keystroke in the child window registrates as a F5-key in the main window. I thought that the WM_HOTKEY-message was going to be handled by the dialog that is active ??

    C / C++ / MFC c++ help question announcement

  • Same hotkey for different dialogs in the same MFC program ??
    B bjolletts

    Hi I have a MFC-dialog program with a list in it. I have assigned F5 as a hotkey to update the list through the RegisterHotKey function. This works fine But from the main window I want to open another dialog with a different list in it. I want to use F5 as a update-hotkey in this dialog too .. but I cant get it to work. F5 only updates the list in the main dialog. I thought that a RegisterHotKey registered a hotkey for the whole system so that I can capture it in every dialog in my program ?? Any help is much appreciated !

    C / C++ / MFC c++ help question announcement

  • Run a Visual C++ program from VB Script and get a return value ??
    B bjolletts

    Getting access to the StdOut would be great, thank you very much ! *edit* Got it working now, thanks a bunch !

    Visual Basic c++ testing beta-testing tools

  • Run a Visual C++ program from VB Script and get a return value ??
    B bjolletts

    thank you, I'll look in to it

    Visual Basic c++ testing beta-testing tools

  • Run a Visual C++ program from VB Script and get a return value ??
    B bjolletts

    Thanks for your reply ! The app is like 99% complete though and it's pretty complex with a lot of dialogs functions. Could it be converted to a COM DLL in any easy way ?? (I have very limited experience with COM-programming and creating DLL's) And if not .. could there be any other way ? :~ :)

    C / C++ / MFC c++ testing beta-testing tools

  • Run a Visual C++ program from VB Script and get a return value ??
    B bjolletts

    Hi all, Im currently developing a MFC-program in Visual C++ 6.0 that will identifiy a user through his/hers fingerprint. The C++ program needs to be launched from another program with VBA support (so Im currently testing it in MS Excel) The C++ program also needs to return a textstring with the username (or ID or some kind of text like "George Lucas") With my very basic skills in VBScript I have manged to run the C++ program. But is it possible to get something back from the program ?? Im guessing that the C++ program might need some kind of method to communicate back to the VB Script ... ? Im would be very thankful for any kind of help ! / daniel

    C / C++ / MFC c++ testing beta-testing tools

  • Run a Visual C++ program from VB Script and get a return value ??
    B bjolletts

    Hi all, Im currently developing a MFC-program in Visual C++ 6.0 that will identifiy a user through his/hers fingerprint. The C++ program needs to be launched from another program with VBA support (so Im currently testing it in MS Excel) The C++ program also needs to return a textstring with the username (or ID or some kind of text like "George Lucas") With my very basic skills in VBScript I have manged to run the C++ program. But is it possible to get something back from the program ?? Im guessing that the C++ program might need some kind of method to communicate back to the VB Script ... ? Im would be very thankful for any kind of help ! / daniel

    Visual Basic c++ testing beta-testing tools

  • Cant compile GetComputerNameEx
    B bjolletts

    Im having trouble getting the GetComputerNameEx() function to compile. I have Visual C++ 6.0 on Windows 2000 Pro with Platform SDK installed. header is included and in Options -> Directories I have added the path C:\PROGRAM\MICROSOFT SDK\INCLUDE in the first position for include files and C:\PROGRAM\MICROSOFT SDK\LIB for library files. I thought this was all you needed to do ... but I still get error C2065: 'GetComputerNameEx' : undeclared identifier Any ideas ? :) Thanks in advance ! / daniel

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

  • CString to CComBSTR to use for IDirectorySearch
    B bjolletts

    Thanks guys, got it to work thanks to your tips !

    C / C++ / MFC database question

  • CString to CComBSTR to use for IDirectorySearch
    B bjolletts

    Im writing a program that searches an ActiveDirectory database and want the program to take a search argument like "moderator" through a dialog window and the program will search for everyone that is a moderator. So my search function takes a CString as a parameter But to use it in the search it must be a LPWSTR (pszSearchFilter). HRESULT ExecuteSearch(LPWSTR pszSearchFilter, LPWSTR* pAttributeNames, DWORD dwNumberAttributes, PADS_SEARCH_HANDLE phSearchHandle); I havetried to builda CString that looks like this: L"(&(objectClass=user)(title=moderator))"; And then it must be converted to LPWSTR or CComBSTR or whatever that works ... any ideas how ? Thanks in advance !

    C / C++ / MFC database question

  • MFC-Dialog based: Is ther something like "OnShow" ??
    B bjolletts

    Is there a such message for a dialog based program like "WM_SHOW" that indicates that the dialog has been shown on the screen ? I would like perform a certain task just when the dialog has bee n displayed to the user. Cant use OnPaint (and have a "do once" flag) since the task waits for the user to put his finger on a fingerprint scanner. So if he then moves the window or something the program will hang ... OnCreate, OnInitDialog, OnShowWindow all runs before the dialog is shown ... any ideas ? Thanks, Daniel

    C / C++ / MFC c++ question

  • Storing user related files in Windows Server 2003
    B bjolletts

    Hi ! Me and a classmate are working on a degree project for our university. We are working on a program that identifies a user in the Active Directory on a Windows Server 2003 by its fingerprints. We are newbies when it comes to programming with ADSI but so far we have manged to write programs that can create and alter user and search the AD for users with a custom "hasFingerPrints"-attribute flag that we have created. We are using Visual C++ 6 The final program will be used when an application want the current user to verify its identity. When the user enrolls the program creates one or several binary template-files (depending on how many fingerprints the user registers) with encrypted information about the fingerprint. The fingerprint template files have a minimum size of 1kb but can be up to 4-8 kB if you enroll with a higher security level ... each user might also have 3-5 files ... one for each finger he enrolls. One problem is that the current identification algorithm needs the file to exist in a directory of some form ... What is the best way to store these files ? Should they be stored inside the AD-database ? for maximum security if so, how do you do that ? It would be great if there was a way to "attach" each fingerprint file to each user ... somehow Thanks in advance !

    System Admin c++ windows-admin question database sysadmin
  • Login

  • Don't have an account? Register

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