Search found 79 matches

by Raghu
Tue Feb 21, 2006 1:20 pm
Forum: C++ Development
Topic: equivalent function to inet_addr()
Replies: 4
Views: 1183

equivalent function to inet_addr()

Is there any equivalent functions in wxWidgets for inet_addr(), inet_aton(),ntohl() like calls ?
by Raghu
Tue Feb 21, 2006 1:19 pm
Forum: C++ Development
Topic: problem accessing globals in C library
Replies: 11
Views: 1850

equivalent to inet_addr()

Is there any equivalent functions in wxWidgets for inet_addr() and inet_aton() ?
by Raghu
Tue Feb 21, 2006 12:08 pm
Forum: C++ Development
Topic: problem accessing globals in C library
Replies: 11
Views: 1850

Thank a lot
by Raghu
Tue Feb 21, 2006 8:58 am
Forum: C++ Development
Topic: problem accessing globals in C library
Replies: 11
Views: 1850

I am able to create library(.lib) without any problem. I'm creating the library first where I used extern for the shared structures. When I link the library with my wxwidgets application, I'm getting the unresolved symbol. Is it possible to share structures between a application and library. I'm pla...
by Raghu
Tue Feb 21, 2006 7:48 am
Forum: C++ Development
Topic: problem accessing globals in C library
Replies: 11
Views: 1850

This solution is for functions. I want to use global variables and structures across the apllication and library.
by Raghu
Tue Feb 21, 2006 7:11 am
Forum: C++ Development
Topic: problem accessing globals in C library
Replies: 11
Views: 1850

I tried, but it gives unresolved external symbols while linking. Do I need to make any changes in Comilation flags. I defined the structure in a header file and included it from the application and library. I declared the structure in wxwidgets application and made the structure extern in library. B...
by Raghu
Tue Feb 21, 2006 6:14 am
Forum: C++ Development
Topic: problem accessing globals in C library
Replies: 11
Views: 1850

problem accessing globals in C library

I have defined some global structures in my wxWidgets application. I need to access those structures in a C library(.lib) which is linked to wxWidget application. I tried defining the structure as extern in the C library, but doesn't seems to work. Can anybody help me out.
by Raghu
Wed Feb 15, 2006 12:41 pm
Forum: C++ Development
Topic: equivalent to strcpy and memset
Replies: 1
Views: 657

equivalent to strcpy and memset

Is there any function equivalent to strcpy and memset. I need to handle char array and nor wxString.
by Raghu
Wed Feb 15, 2006 8:42 am
Forum: C++ Development
Topic: how to restrict user to enter only numbers
Replies: 1
Views: 456

how to restrict user to enter only numbers

I have a textctrl which is intended to be used to take only numerals. How can I make sure that the user enter only the numbers.
by Raghu
Wed Feb 15, 2006 6:35 am
Forum: C++ Development
Topic: converting string to integer
Replies: 2
Views: 1052

converting string to integer

I'm reading a number from TextCtrl, but I want to use the data as an integer. How could I convert string to integer, something like atoi().
by Raghu
Wed Feb 08, 2006 1:19 pm
Forum: C++ Development
Topic: Problem processing TAB
Replies: 1
Views: 470

Problem processing TAB

I have created a text box like this wxTextCtrl *text=new wxTextCtrl(this,wxID_ANY,"user",wxPoint(5,5),wxSize(200,20), TE_LEFT|wxTE_PROCESS_TAB, wxDefaultValidator, "UserName"); Problem is I'm not able to process TAB. Whenever I press a TAB it displays a square in the text box. This textbox is create...
by Raghu
Wed Feb 08, 2006 5:48 am
Forum: C++ Development
Topic: Overriding close function for frame
Replies: 3
Views: 876

Should I have to delete buttons and textboxes explicitly or just I have to delete Frame which internally deletes all buttons and textboxes.
by Raghu
Wed Feb 08, 2006 5:28 am
Forum: C++ Development
Topic: Overriding close function for frame
Replies: 3
Views: 876

Overriding close function for frame

When u close a frame, does it frees all the memory allocated. I mean if I had created a Frame with many buttons and text boxes, On closing that frame, will it free the memory allocated for the buttons and text boxes (Application is still running, only a single frame is closed not the main window). I...
by Raghu
Thu Feb 02, 2006 11:43 am
Forum: C++ Development
Topic: tabular text window
Replies: 1
Views: 395

tabular text window

Can some one suggest me how to implement a tabular text window. I mean something like the window which pops up when u right click on file and click properties.
by Raghu
Tue Jan 31, 2006 2:07 pm
Forum: C++ Development
Topic: Reading from config file
Replies: 8
Views: 1199

Thanks a lot.
The document which I was referring was taking just wxInputStream as parameter to wxFileConfig and not wxFileInputStream. So I got confused.

Thanks again