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
M

Michael Olsen

@Michael Olsen
About
Posts
5
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • iocp threads exit
    M Michael Olsen

    Hello all, I am using iocp in an application that routes frames between clients. However the threads in the iocp framework continue to exit (Return code: 0x0). :confused: Can anyone throw any ideas of what can make them do this? In advance thanks. Michael Olsen

    C / C++ / MFC question

  • VB Callback function with string in VC DLL
    M Michael Olsen

    Hello all, I am writing a DLL that wraps another DLL in an interface that can be called from VB. the dll ahs a callback function defined as typedef int(_cdecl *cbfuncText)(int HisNodeID, char *str, void *arg); In my wrapper DLL i have a function that translates this into a new Callbac function that is defined as typedef int(__stdcall *cbWfuncText)(int HisNodeID, char* str, void *arg); When i use the C string directly as shown here VB gets an empty string. when i try to use a BSTR instead, the VB program crashes. The VB function i use in the 2 situations are Function TextCB(ByVal HisNodeID As Long, ByVal str As String, ByRef arg As Long) As Long and Function TextCB(ByVal HisNodeID As Long, ByRef str As String, ByRef arg As Long) As Long Can anybody tell me what i am doing wrong? and/or give me suggestions of how to solve this? In Advance thanks Michael

    C / C++ / MFC tutorial question

  • how to run multiple instances of a service
    M Michael Olsen

    Thanks for the reply. The service is a kind of router, and with multiple instances more customers could be serviced (on diferent ports) without mixing. like acidentialy sending data to another customer. I had hoped this could be done by starting the same service multiple times listening to different ports. Michael Olsen

    C / C++ / MFC help tutorial question

  • how to run multiple instances of a service
    M Michael Olsen

    Hello all, I have a problem figuring out how to start a service more than once at a time. it seems to be posible, but all my tries to date have failed. Could anyone help me with this problem? in advance, thanks Michael Olsen

    C / C++ / MFC help tutorial question

  • Dynamic Change Between Single/Multi select i CListCtrl
    M Michael Olsen

    Hello all, I have a problem with my app. i have a CListCtrl where i need to change between Multiple selected and single selected with a check box. I have been looking through the articles but didnt find anything. Can anyone help me please? In advance thanks, Michael Olsen

    C / C++ / MFC help question
  • Login

  • Don't have an account? Register

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