Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by AliFessi

  1. AliFessi

    bmp file as icon

    Hi there, I want to change the icon for my application. I would like to use a bmp file for that. But it seems that files with extension .ico and .bmp files are not compatible! How can I do that? Thanks!
  2. AliFessi

    Is it possible to use MFC classes in a no-MFC dll?

    Hi there, is it possible to use MFC classes like CFileDialog or CObject in a no-MFC dll? I suppose no but I just want to to leave no doubt! When I include the file afxwin.h in the dll I receice several link errors. Regards.
  3. AliFessi

    Have Problems with OPENFILENAME!

    No, I have no CD in my CD-ROM. I think the problem could be hwndOwner or lpfnHook (the members of the structure OPENFILENAMEW) I wrote an empty hook-procedure. It looks like that: UINT CALLBACK OpenSave::OFNHookProc(HWND hdlg, UINT uiMsg, WPARAM wParam, LPARAM lParam) { return false; } --...
  4. AliFessi

    Read from file

    You can use fscanf or fgets and some string-functions like strchr to read the information from the file. Hope this can help you. Regards.
  5. AliFessi

    Have Problems with OPENFILENAME!

    Well! Thank you John Fill very much for your answer! Unfortunately I still have the same problem! :-( When I open the file dialog and click anything: for example the Cancel-button or to go one directory up or down, the dialog hangs up!! and I can not do anything except to kill the process with...
  6. AliFessi

    Have Problems with OPENFILENAME!

    Hi there, I need a SaveFile dialog in a non-MFC dll. All the code samples that I have tryed don't work properly under Win2K. Does anyone have a code sample that shows me how to initialize the structure OPENFILENAME before calling GetSaveFileName? Thanks a lot!!
  7. AliFessi

    Enumerate the member functions of a class?

    Hi there, do you know if it is possible to get an array of pointers of functions of all the member functions of a class? Regards.
  8. AliFessi

    I am a Perl beginner!!

    Hi there, I am a Perl beginner. I am writing a Perl programm to parse some data. This is a little example to show you how the data looks like: ***************** 52 + 645 s 76 21 + 54 l 5 s 87 21 - Lib tmp 5446 ***************** My code looks like that: ################## while(<FILE>) {...
  9. AliFessi

    Problems with CreateProcess

    Hi there, I have problems with CreateProcess. I cannot realize even a simple DOS-command. Can you tell me what is wrong in this source code? /**************************/ STARTUPINFO si; PROCESS_INFORMATION pi; si.cb = sizeof(si); char cmd[] = &quot;rename D:\\Documents\\myFile.txt...
  10. AliFessi

    Make the difference between a binary and an ASCII buffer?

    Hi there, I am writing program that reads data from a &quot;const char * buf&quot; in a loop. If the content of this buffer is in ASCII-Code, it has to be displayed on the screen. If it is in binary mode, it doesn't make sense to display it. So in this case, I want just to display some...
  11. AliFessi

    Generate Header file and lib from a dll

    Hi there, Does anyone know if it possible to generate a header file or a lib file from a binary dll file? May be you know an other idea to use a function from a dll file without any other information! If you cannot answer my questions just give me some tips that could be helpful. Thanks a lot!
  12. AliFessi

    How do I get the name of a process by its pid?

    Hi, My name is Ali. I am writing a dll with Visual C++ (it 's not an MFC' dll). I want to recognize which process is using the dll. With _getpid () I could get the process id. And now, how can I get the name of the process?! Thanks !

Part and Inventory Search

Back
Top