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
S

sarfaraznawaz

@sarfaraznawaz
About
Posts
98
Topics
36
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Redirecting the Web Site to My own Site
    S sarfaraznawaz

    Hello, Thanks for reply. I research it can be achieved by using winsock and LSP(Layered Service Provider) so i thing its comes under MFC and C++ so putted my question in MFC and C++.. Thanks sarfaraz

    C / C++ / MFC tutorial

  • Redirecting the Web Site to My own Site
    S sarfaraznawaz

    Hello Every Body I am looking do the project on blocking the unwanted site or redirecting so that children can not access the particular site. so will you people guide which way should i proceed...

    C / C++ / MFC tutorial

  • creating empty file
    S sarfaraznawaz

    Can we create the virtual drive of usb .

    C / C++ / MFC

  • creating empty file
    S sarfaraznawaz

    ok. i think its not possible to have empty file except filled with zeros... Thanks every body for your replies. Looking to make app that lock the usb data but am unable to start any idea or guidance will be appreciated . regards sarfaraz

    C / C++ / MFC

  • creating empty file
    S sarfaraznawaz

    large file without any data inside the file . look what actually looking to do is to create a large file with define size.

    C / C++ / MFC

  • creating empty file
    S sarfaraznawaz

    ya i agree what about the size which i want to define think that around 1gb or 100 mb .. thanks

    C / C++ / MFC

  • creating empty file
    S sarfaraznawaz

    How to create the the empty file with defined size in c++ or MFC. thanks for reply . see i am looking to create a file that should be empty and should not have data inside the file. you can say acquiring memory space from the particular drive .. Thanks

    C / C++ / MFC

  • creating empty file
    S sarfaraznawaz

    Hello , Is it possible to create a empty file with predefined size of that file. please reply me soon ... Regards Sarfaraz

    C / C++ / MFC

  • Access Deined
    S sarfaraznawaz

    Hi, How can i set the file or folder as access denied in both NTFS and FAT so that no one can get access to that particular file or folder .... not manually am looking to do it through programming .. Regards Sarfaraz

    C / C++ / MFC question

  • CEdit control
    S sarfaraznawaz

    how to set char limit so that it should not exceed the 11 char . after exceeding 11 char does not allow to press the key. any example will helpful

    C / C++ / MFC tutorial

  • Disabling cut,copy,paste,rename and delete operation
    S sarfaraznawaz

    ok how can i achieved this one

    C / C++ / MFC

  • Disabling cut,copy,paste,rename and delete operation
    S sarfaraznawaz

    hello, Is there way to disable Cut,Copy,Paste,Rename and Delete operation for a particular file with (.extension) in windows ... please Reply me ....

    C / C++ / MFC

  • How to Reload the Explorer
    S sarfaraznawaz

    I have done with shell API SHChangeNotify.

    C / C++ / MFC windows-admin help tutorial question

  • How to Reload the Explorer
    S sarfaraznawaz

    Hello Every one, I am adding some key in Registry is not getting into effect until system reboot or by killing explorer. so how can i achieve it, without rebooting and killing explorer. please help me out .. Regards sarfaraz

    C / C++ / MFC windows-admin help tutorial question

  • Hiding the folder from the explorer
    S sarfaraznawaz

    Hello Every one. how one can hide file or folder from the explorer even it should not be visible when some one click on show hidden file and folder . is there any shell api for this .... Regards sarfaraz

    C / C++ / MFC linux json

  • How to get the path
    S sarfaraznawaz

    the path(Szfilename)is useed in dll .Now this szfilename path i want use in the application code . i explain how i tried i linked the dll lib to an application code and then i included the header file of the dll in an application code so that i can use the path(szfilename). this szfilename is declared in static so its scope remain in application code also ..

    COM question

  • How to get the path
    S sarfaraznawaz

    see i have created the com dll for shell context menu .. if (DragQueryFile((HDROP)medium.lpszFileName, i, path, MAX_PATH)) { g_szSelectedFiles.SetAt(i, path); szFileName = g_szSelectedFiles[i]; } from here i am getting the path (szFileName )i want in exe code so that i can proceed this my doubt .. the variable is decalred as static in header file of the dll .i link the library of dll .the scope is not remaining ..... Best Regards Sarfaraz

    COM question

  • How to get the path
    S sarfaraznawaz

    hello all, i have to know how can i use the path of file or folder which has been selected from context menu in an exe or application code ... see i have written the code for context menu and am storing the file or folder path in an cstring how can i use this cstring variable in exe code .. Best Regards Sarfaraz.. :((

    COM question

  • Debugging Dll
    S sarfaraznawaz

    please help me out of this ... dll is getting register in 32 bit machine same code i compile on 64 bit machine but failing to register

    C / C++ / MFC com debugging tutorial

  • Debugging Dll
    S sarfaraznawaz

    In DLL i have written the code for Context menu in vs2010 using COM i derived the class CRsEraser : public IContextMenu, public IShellExtInit this IShellExtInit and IContextMenu is are com class when use it HRESULT __stdcall CCmpntFactory::CreateInstance (IUnknown *pUnknownOuter, const IID& iid, void** ppv) { if(pUnknownOuter != NULL) return CLASS_E_NOAGGREGATION; CRsEraser *pCmpnt = new CRsEraser; if (pCmpnt == NULL) return E_OUTOFMEMORY; HRESULT hr = pCmpnt->QueryInterface (iid, ppv); ////////////////////////////////////////////////////////////////////////// // Release the IUnknown pointer pCmpnt->Release (); return hr; } CRsEraser *pCmpnt = new CRsEraser;this part showing its abstract class . in 32 bit compile its working fine same when configure to 64 bit its throwing the error what i have mention earlier . how i configure: 1 Open your Visual C++ Solution 2 Choose Build->Configuration Manager menu 3 Inside the Configuration Manager window, change the ‘Active solution platform’ to x64. If you don’t have any, you would need to create one by selecting the ‘New..’ drop down item. Copy settings from your Win32 platform. 4 Now rebuild your solution.

    C / C++ / MFC com debugging tutorial
  • Login

  • Don't have an account? Register

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