mooman_fl Posted November 5, 2003 Posted November 5, 2003 Ok... really hope someone can answer this for me.... I am trying to explain my plugin architecture to someone that uses VC++ .NET so that they can make a plugin for my program. The definition for the Sub in VB.NET is: Public Sub GetGUI(ByRef hostcontrol as System.Windows.Forms.Control, ByRef displaycontrol as System.Windows.Forms.Control) Can someone show me what that declaration would look like in VC++? Quote "Programmers are tools for converting caffeine into code." Madcow Inventions -- Software for the Sanity Challenged.
Darc Posted November 6, 2003 Posted November 6, 2003 I'm not completely sure on this one, (have VC++, have yet to use it): void GetGUI(System::Windows::Forms::Control * hostcontrol, System::Windows::Forms::Control * displaycontrol) { //Insert code here } Byref is just like declaring an argument as a pointer, I hope this helps Quote
mooman_fl Posted November 6, 2003 Author Posted November 6, 2003 yeah... I knew about the whole ByRef/pointer thing... just wasn't sure how to go about it. Turns out he wants me to make a header file for him with all the declarations he will need :eek: Quote "Programmers are tools for converting caffeine into code." Madcow Inventions -- Software for the Sanity Challenged.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.