Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!

We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Member Since 10 Apr 2006
Offline Last Active Jun 25 2012 12:25 PM

Posts I've Made

In Topic: Python Project Architecture: Means I'm Unable to Import Modules

18 March 2012 - 06:36 AM

The only way to do it is to add the parent directory to the module search path. I don't have the details. I read about it in stackoverflow a while ago.

In Topic: Can I break a Visual C++ program when a certain address of memory is written?

05 December 2011 - 02:45 PM

Solved it!!!!
It was bloody SVN shell extension.
Still one question remains: if the SVN shell extension I installed corrupts memory, how come it does not crash Windows Explorer itself?

In Topic: Can I break a Visual C++ program when a certain address of memory is written?

04 December 2011 - 06:58 PM

Thanks for the help. This problem is too hard. I think I am gonna quit, and hope that most people won't have this problem when opening a file.
I have already uninstalled adobe reader but the problem persists.

GetOpenFileName loads all these DLLs as soon as the dialog shows:

'pasion2.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\clbcatq.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\comres.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\version.dll'

'pasion2.exe': Loaded 'C:\Program Files\Common Files\TortoiseOverlays\TortoiseOverlays.dll'

'pasion2.exe': Loaded 'C:\Program Files\TortoiseSVN\bin\TortoiseStub.dll', Binary was not built with debug information.

'pasion2.exe': Loaded 'C:\Program Files\TortoiseSVN\bin\TortoiseSVN.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\wininet.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\normaliz.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\urlmon.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\iertutil.dll'

'pasion2.exe': Loaded 'C:\Program Files\TortoiseSVN\bin\libapr_tsvn.dll'

'pasion2.exe': Loaded 'C:\Program Files\TortoiseSVN\bin\libaprutil_tsvn.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll'

'pasion2.exe': Loaded 'C:\Program Files\TortoiseSVN\bin\intl3_tsvn.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcp90.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\shfolder.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\cscui.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\cscdll.dll'

'pasion2.exe': Loaded 'C:\Program Files\TortoiseCVS\TortoiseShell.dll', Binary was not built with debug information.

'pasion2.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\msvcp80.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\msvcr80.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\browseui.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\ntshrui.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\atl.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\userenv.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\shdocvw.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\cryptui.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\wintrust.dll'

'pasion2.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll'

Then as I hover the tooltip it also loads the following:

'pasion2.exe': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', Binary was not built with debug information.

'pasion2.exe': Loaded 'C:\WINDOWS\system32\shimgvw.dll'

'pasion2.exe': Unloaded 'C:\WINDOWS\system32\shimgvw.dll'

Most of these DLLs are system and there is nothing I can do about it. I will uninstall SVN and give it another try.

Unfortunately the data breakpoint is not working either. I set a data breakpoint to the memory pointed by Texturebrushp:

BOOL Mainwindowprivate::virtual_wm_create ( HWND hwnd, LPCREATESTRUCT pcs )


Containerprivate::virtual_wm_create ( hwnd, pcs ) ;

Wallpaperbitmapp = LoadImage( "Wallpaper", "jpg" ) ;

Texturebrushp = new TextureBrush( Wallpaperbitmapp );

python_wrap_staticcallback( reinterpret_cast<void(*)()>(

  &connect_initialize), "connect_initialize" );

PyModule_AddObject( PyImport_AddModule("application"),

  "country_listcallback", python_create_void(

  &Countrylistcallbacko ));

python_import( "Mainwindow" );

python_call_method( "Mainwindow.Mainwindow", "(N)",

  python_create_container( this ));

return TRUE;


Texturebrushp is never deleted in the life of the program.

After the dialog opens I do "break all" and check the memory, everything is still ok.
Then after a tooltip is displayed, I "break all" again, and get the attached image. All question marks.
Texturebrushp points to 0x010df650. This memory belongs to my process and I never dealocated it. Strange.

In Topic: Suggestions on career choice, a software engineer

12 November 2011 - 02:15 PM

Trying to become a general computer programmer these days is a bad move. Had you finished your degree 5 years earlier you would have no problem landing a programmer job even with no experience.
But now general programming it's a rat race to the bottom trying to compete with indian and chinese programmers who get paid less than $5 per hour.
I would not advise the games industry either. Although the games industry is specialized, and you won't suffer as much competition, because bellow average programmers cannot get into it,
game studios make programmers work like slaves and low pay. They assume that everyone is a geek who doesn't mind working for peanuts just because of their love of games.
Get a career on something else and develop your own indie social game on your free time.
2 specialized fields where programmers get decent pay is finance and electronics. It's not easy to break into finance. I myself am trying to get into electronics. I wish I had studied electronics or electrical engineering instead of computer science.

In Topic: Flash is dead baby, it's dead.(*)

11 November 2011 - 09:57 AM

Horray! Next I want java dead on the web as well, and javascript should be replaced on the browser by python.