Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
| Search | Today's Posts | Mark Forums Read
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 24th, 2005, 03:00 PM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't Access objects in .net outside of header

I am new to this forum and .net. I have created a form in Visual Studio Express C++ including a ListBox and other objects.
If I have a function in the header file, it recognizes the listbox and its access methods perfectly. If I take this same function and drop it into an associated .cpp file, it can't see the object or it's properties. I have included all the usual, using namespace and include files you would expect. I've tried altering the object to public to no avail and have run out of ideas.

Anyone out there who can help?

Thanks in advance!




Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use CDO for WIN2K to access SMTP Header helplink Pro VB 6 0 March 28th, 2007 09:09 PM
How access fields of objects stored in Array List rfinks VB How-To 2 July 11th, 2006 06:00 PM
Can we access physical location of objects? baburman Javascript How-To 6 January 24th, 2005 07:59 AM
Getting Access to the Group Header Imar Crystal Reports 2 November 6th, 2004 05:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.