Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Add text to title of MainFrame Pin
Michael Dunn16-Feb-01 21:19
sitebuilderMichael Dunn16-Feb-01 21:19 
QuestionHow to lauch Direct Cable connection Programmatically. Pin
16-Feb-01 12:42
suss16-Feb-01 12:42 
QuestionBitmap --> Icon?? Pin
16-Feb-01 12:16
suss16-Feb-01 12:16 
AnswerRe: Bitmap --> Icon?? Pin
Christian Graus16-Feb-01 20:12
protectorChristian Graus16-Feb-01 20:12 
GeneralQuestions on build and link Pin
Eddie Ng16-Feb-01 8:40
Eddie Ng16-Feb-01 8:40 
GeneralRe: Questions on build and link Pin
Chris Meech16-Feb-01 8:47
Chris Meech16-Feb-01 8:47 
GeneralSending keyboard focus Pin
16-Feb-01 7:51
suss16-Feb-01 7:51 
GeneralNT SNMP Extention Agent and 16 bit APP Pin
MoZ16-Feb-01 5:15
MoZ16-Feb-01 5:15 
Hi All,

I have to implement an SNMP extention Agent in W2000. It is based on a DLL which will be loaded by SNMP Agent. This DLL must communicate with a 16 bit APP to update the MIB handled by the DLL. I used :
- SendMessage() to communicate from the DLL to the 16 bit App.
- Generic thunk to invoke the DLL from the 16 bit App.

My problem is :
When I start the service SNMP in dos command by "snmp.exe" all is all right. But if I start the service by "net start snmp" the two process (DLL and 16 bit app) don't communicate. (FindWindow() to use with SendMessage() return WND=NULL and Generic thunk (CallProc32W()) crashs the 16 bit App and even Visual 1.52)
To make the Generic Thunk and FindWindow() work, it seems that the service must be attached to a window Frown | :(

Someone with an idea ? Confused | :confused:

Thanks for yor HELP

Mouez
GeneralRe: NT SNMP Extention Agent and 16 bit APP Pin
Tim Deveaux16-Feb-01 7:29
Tim Deveaux16-Feb-01 7:29 
GeneralLaunching a CMiniFrame/CDocument/CView from CDialog Pin
Mustafa16-Feb-01 1:47
Mustafa16-Feb-01 1:47 
GeneralRe: Launching a CMiniFrame/CDocument/CView from CDialog Pin
l a u r e n17-Feb-01 6:05
l a u r e n17-Feb-01 6:05 
GeneralCall stack window in VC++6.0 always empty while debugging Pin
Roland Schaufler15-Feb-01 22:51
Roland Schaufler15-Feb-01 22:51 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Tim Deveaux16-Feb-01 7:34
Tim Deveaux16-Feb-01 7:34 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Roland Schaufler18-Feb-01 22:17
Roland Schaufler18-Feb-01 22:17 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Neville Franks18-Feb-01 23:19
Neville Franks18-Feb-01 23:19 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Roland Schaufler19-Feb-01 0:23
Roland Schaufler19-Feb-01 0:23 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Roland Schaufler19-Feb-01 0:24
Roland Schaufler19-Feb-01 0:24 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Neville Franks19-Feb-01 0:37
Neville Franks19-Feb-01 0:37 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Roland Schaufler19-Feb-01 0:48
Roland Schaufler19-Feb-01 0:48 
GeneralRe: Call stack window in VC++6.0 always empty while debugging Pin
Roland Schaufler20-Feb-01 4:23
Roland Schaufler20-Feb-01 4:23 
GeneralCan't see combobox's strings at Run time in ATL project Pin
Stephane Koomson15-Feb-01 11:29
Stephane Koomson15-Feb-01 11:29 
Generalsetting up Internet Connection Sharing programmatically Pin
15-Feb-01 8:55
suss15-Feb-01 8:55 
QuestionHow to prevent Windows from erasing my control prior to DrawItem()? Pin
15-Feb-01 8:52
suss15-Feb-01 8:52 
AnswerRe: How to prevent Windows from erasing my control prior to DrawItem()? Pin
Tim Deveaux16-Feb-01 4:04
Tim Deveaux16-Feb-01 4:04 
GeneralEnumerating dll exports Pin
15-Feb-01 8:11
suss15-Feb-01 8:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.