RAS with MFC

RAS with MFC

Post by Christian Naenn » Wed, 31 May 2000 04:00:00



Hi!

We need to set up a RAS Connection (with PPP) from our application. The
application is designed using the MFC. Does anybody know how we can
establish the connection.
There is a RasDial function in the API. Can we use API functions within
a MFC project. How?

Thanks
Christian

 
 
 

1. MFC ActiveX control inside another MFC ActiveX control - MFC Bug

Hi.
I have to ActiveX Controls created using the AppControl Wizard
provided by Visual C++ 5. I want to create the first control inside
the second control , and here is what happens.

I create the first control in the OnCreate method of the second object
using a wrapper class created using the Component Wizard. When I
create the (first) control I get an assertion in Wincore.cpp in
CWnd::Attach saying that the window is already mapped (was attached
already), everything works fine if I ignore but when the application
closes it raises an exception and dies (sometimes taking the whole
system with it). I traced inside MFC code and found out that when I
call create and finally Windows creates the window, MFC's hook
function that hooks windows creations attaches the windows before
COleControlSite has a chance to do so, and that's why it asserts.
Didn't the guys at Microsoft think about this situation ?

What do I do ?

Another question : Is there any mechanism to show dialog templates
inside a control - something like COleFormControl ???

   Thanks a buch,
      - Dror Kremer

P.S.

Please reply both by post and e-mail. Thank you !
-----------------------------------------------------------------
Dror Kremer                                 | Oh Margie you came
Team OS/2                                   | and you found me a    
                                            | turkey, on my
  E-mail:                                   | vacation away from

  Fidonet:                                  |                    
    97:200/118.3                            |    - Homer Simpson
                                            |                    
* Finger for PGP Key, Accepting VoiceChat/2 |
  Calls.                                    |
-----------------------------------------------------------------

2. restart problem

3. RAS extension for Windows CE MFC

4. Network Login

5. connecting WinCE ras client to NT system (RAS server)- bypassing user id/password

6. looking for memmaker.exe to download

7. auto connecting to net

8. Networking and RAS problems in W95 / Problemas de Red y RAS en W95

9. NT 4.0 and RAS, can't even find the RAS server itself...

10. RAS - DUN connection just dies, RAS doesn't recognize dis-connection

11. 3.50 --> 3.51 Killed RAS; SPack 2 Killed RAS

12. Accessing RAS port without stopping RAS?