Search found 465 matches

by gururamnath
Wed Apr 11, 2007 7:23 pm
Forum: wxDev-C++
Topic: Passing Variable from Dialog
Replies: 8
Views: 2203

You can create a function in the Preg Dlg class to accept a variable of type File. So the code might look like: class CPrefs1Dlg: wxDialog { -- private: File *ownerFileObj; public: SetFileObj(File *obj) { ownerFileObj = obj; } -- } In the Main Frame where you call the Pref Dlg, you can do something ...
by gururamnath
Wed Apr 11, 2007 1:20 am
Forum: wxDev-C++
Topic: Passing Variable from Dialog
Replies: 8
Views: 2203

Mod: I accidentally clicked the "accept" linked and marked this answer as accepted one. Sorry. Is there a way to revert this ? If you have a variable declared in the Frm's .h file, you can directly use it in the .cpp file, you dont have to use extern keyword. Also please let me know how you have def...
by gururamnath
Tue Apr 10, 2007 11:47 pm
Forum: wxCode
Topic: Can't build wxDatabaseLayer 1.7.1 against wxcvs
Replies: 7
Views: 1727

kiwicoder wrote:Enabling STL makes no difference.

KC
Did you rebuilt the wx Library are just your app ? If you change the STL value in the setup.h then you pretty much need to recompile your whole wx Library.

-Guru Kathiresan
by gururamnath
Tue Apr 10, 2007 10:56 pm
Forum: wxDev-C++
Topic: Passing Variable from Dialog
Replies: 8
Views: 2203

Re: Passing Variable from Dialog

Is your variable "extern File fileMember;" declared somewhere else ? if not you will get the linker error. You are telling the compiler that you have variable fileMember of type File declared in someother file other than the current one. Another question is what exactly you need the dirDlg return va...
by gururamnath
Tue Apr 10, 2007 7:21 pm
Forum: wxDev-C++
Topic: where is wxNotebookSizer
Replies: 6
Views: 1476

Re: where is wxNotebookSizer

I want to add several panels in the notebook. However, the canvas of panel cannot automatically resize themselves. What I do for this is, I add wxNotebookPage (which is nothing by wxPanel but specific to NoteBook) and set the expanded property and make the stretch factor to 1. Then add a box sizer/...
by gururamnath
Thu Apr 05, 2007 10:00 pm
Forum: C++ Development
Topic: Frontend for Mysql for Linux and Windows
Replies: 3
Views: 1021

My advice is to use ODBC classes from wxWidgets. If we are writing a generic application then it makes sense to use ODBC but for writing a Front End (which I presume is the tool that allows you to play with MySQL database), it is advisable to stick with native api provided by MySQL libraries. There...
by gururamnath
Tue Apr 03, 2007 11:03 pm
Forum: wxDev-C++
Topic: Multiplataform - wxDev
Replies: 5
Views: 993

Re: Multiplataform - wxDev

If you take the source created by wx-DevC++ and compile it in another platform, it will work without much change. Even though I use the programs I created with wx-DevC++ in windows, I was able compile 2 of my applications in mac (both PPC and Intel) without any changes and they work without any prob...
by gururamnath
Mon Apr 02, 2007 5:26 pm
Forum: Announcements and Discoveries
Topic: wxWidgets CodePak for Turbo C++ / Borland C++ 2006
Replies: 2
Views: 1310

emarti wrote:Hi, sf link may be invalid. I clicked but visible=false;
I just retried the link and it works fine (both the webpage and the download link). Is anyone else have this problem ?
Please let me know.

Thanks,
-Guru Kathiresan
by gururamnath
Sat Mar 31, 2007 12:17 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets and Borland Turbo C++ Explorer Edition
Replies: 22
Views: 5016

Oops, I'm late. Use Code::Blocks to compile wxWidgets app with Borland Turbo C++ Explorer edition. C::B's wxWidgets project wizard officially supports it!! The Question is "how to use the IDE", you answer explains how to use the command line compiler in C:B. Not sure your answer is related to the q...
by gururamnath
Fri Mar 30, 2007 5:53 pm
Forum: Open Discussion
Topic: How to debug hard bugs?
Replies: 5
Views: 1488

@gururamnath This only works with debugbuilds right? I wouldn't ship a debugbuild to a customer, since debugcode is mostly slower (and bigger) then release code. Even I dont ship the debug build but if there is hard to debug crash, then I would send a special debug build to the customer who is havi...
by gururamnath
Fri Mar 30, 2007 5:51 pm
Forum: Open Discussion
Topic: How to debug hard bugs?
Replies: 5
Views: 1488

There are couple of libs in Codeproject that gives the crash info in VC++6.0. I'm not sure about VC++ 5.0.

-Guru Kathiresan
by gururamnath
Thu Mar 29, 2007 5:52 pm
Forum: Open Discussion
Topic: How to debug hard bugs?
Replies: 5
Views: 1488

With VC++2003 and above a debug executable crash will create crash info file (forgot the file extension), if you open this crash info file in the IDE (or double click on it), it directly take you to the exact location where the crash occurs in the source (forgot if it gives the variable info at that...
by gururamnath
Thu Mar 29, 2007 5:32 pm
Forum: C++ Development
Topic: wxToolbook with wxImageList
Replies: 2
Views: 523

Re: wxToolbook with wxImageList

I would have the function code something like this and add it at the end of CreateGUIControls function: void CMainFrm::SetNotebookImageList(void) { wxImageList *imgList = new wxImageList(16,16); wxBitmap IMG_XPM0_Bitmap(IMG_XPM0); imgList->Add(IMG_XPM0_Bitmap); wxBitmap IMG_XPM1_Bitmap(IMG_XPM1); im...
by gururamnath
Wed Mar 28, 2007 6:05 pm
Forum: Open Discussion
Topic: External tools to help a programmer's plight...
Replies: 22
Views: 8060

Re: Cross platform experimental tool for wxWidgets on Linux:

I would add the following: KeyNote - http://Keynote.sf.net - very effective note taking tool very useful for brainstroming sessions WinMerge- http://winmerge.org/ - best diff tool StarUML - http://starUML.sf.net - very nice UML modelling tool IZArc - http://www.izarc.org - Yet another Zip tool TugZi...
by gururamnath
Wed Mar 28, 2007 2:07 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets and Borland Turbo C++ Explorer Edition
Replies: 22
Views: 5016

I have created a prebuilt library and a project template for Turbo C++. Have a look at http://forums.wxwidgets.org/viewtopic.php?t=13397 .

Thanks,
Guru Kathiresan