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
J

JRaiden

@JRaiden
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • WIN32 Multithreaded Dll
    J JRaiden

    Thanks for the reply Garry, I'm actually using callbacks: to return text from the dll to update say a label of the engines location on the gui. dThreadCallBack is a DWORD thats stores the static members address location void StdScanner::CallBackFunction (char *cSomeStringToSend) { typedef int (__stdcall* lpMyCallBack) (LPSTR szMsg); lpMyCallBack MyCallBack; MyCallBack = (lpMyCallBack) dThreadCallBack; MyCallBack(cSomeStringToSend); } Normally this function works perfectly when outside threads, but locks up when I use it in threads. Do you have any examples/source of generic Multithreaded Win32 DLLs (non mfc) that can interact with a gui (be it MFC or WIN32). Raiden

    C / C++ / MFC

  • WIN32 Multithreaded Dll
    J JRaiden

    I was wondering if someone could help me out with Multi-threading. I have a Win32 dll that does some heavy scanning and performs callbacks to update a status display of my gui. I introduced multithreading into the DLL and it works fine - but the same callbacks from within the threads fail, and lock up. Outside the threads the callbacks work fine. any ideas or sample examples of Win32 DLL Multithreading (no MFC) Raiden

    C / C++ / MFC
  • Login

  • Don't have an account? Register

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