Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ext4tc
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24621
Location: Switzerland

PostPosted: Mon Jul 09, 2012 8:18 am    Post subject: Reply with quote

The error seems to occur within the plugin when TC calls FsInit or FsInitW. The error "Read of address 00000000." is an indication that the plugin called GetProcAddress and then tried to call a function which doesn't yet exist on Windows XP.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
krasusczak
Junior Member
Junior Member


Joined: 23 Sep 2011
Posts: 73

PostPosted: Thu Jan 24, 2013 4:19 am    Post subject: Reply with quote

krzychuu I see that you create version 0.17, but it stops working at w2k, can you rebuild it as 0.16 to support this old OS?
Back to top
View user's profile Send private message
iana
Member
Member


Joined: 27 Jul 2010
Posts: 191

PostPosted: Fri Jan 25, 2013 11:26 am    Post subject: Reply with quote

@krasusczak
0.17 is build with VC10 and dynamically linked with msvcr100.dll and msvcp100.dll that build doesn't support 2k,
try this one build with VC9 and statically linked to the runtime it's a bit bigger ~95k compared to the official ~23k but it should work under 2k.
ext4Plugin-0.17-VC9-static.rar

ps. krzychuu's static builds are done with VC10, ms dropped 2k support with VC10, there are ways around ms's limitation but those don't always work.
you can google editing visual studio 2010 builds for 2k support.
Back to top
View user's profile Send private message
krasusczak
Junior Member
Junior Member


Joined: 23 Sep 2011
Posts: 73

PostPosted: Tue Jan 29, 2013 11:08 am    Post subject: Reply with quote

Thx iana, i appreciate it!

I have one question iana, i downloaded & install C++ form VS2008ExpressWithSP1ENUX1504728.iso
I compile this plugin with success but my question is related with compilation options.
Right now i just opened project, change from Debug to Release & compile as /MT rest i leave as default. Do i need to change something more for proper optimalization or functionalization??

I just have no idea about C++ programming & compilation in VS:P
Back to top
View user's profile Send private message
iana
Member
Member


Joined: 27 Jul 2010
Posts: 191

PostPosted: Tue Jan 29, 2013 11:25 am    Post subject: Reply with quote

It depends on your system, as you have vs2008 you probably have the Microsoft Visual Studio 2008 runtime installed so you can compile it with the /MD switch, that will make the plugin a bit smaller but as far as I remember ghisler suggests using /MT for all C/C++ plugins for the sole purpose of avoiding dll hell, the advanced compiler flags (like Arch:SSE etc. ) are not available in the Visual Studio Express editions so I don't think you can change any other options.
Back to top
View user's profile Send private message
krasusczak
Junior Member
Junior Member


Joined: 23 Sep 2011
Posts: 73

PostPosted: Tue Jan 29, 2013 11:36 am    Post subject: Reply with quote

when i compile with /MD plugin is 75% smaller but won't work at w2k because lack of dll from vc2008, dll are only linked, with /MT there are in static mode i think:D
Back to top
View user's profile Send private message
iana
Member
Member


Joined: 27 Jul 2010
Posts: 191

PostPosted: Tue Jan 29, 2013 2:34 pm    Post subject: Reply with quote

Quote:
when i compile with /MD plugin is 75% smaller but won't work at w2k because lack of dll from vc2008

Well those aren't available by default anywhere you need to install them manually, you can get the latest build here
http://www.microsoft.com/en-us/download/details.aspx?id=11895
the 32bit builds work under 2000 so if you install them you can build with /MD, but the bigger problem is dll hell, using plugins compiled with /MD might cause dependency on a lot of dll's starting from VC6 up to VC11 and with the new 64bit version of tc you'll need twice the number of runtime dll's.
I really think most authors should use /MT instead of /MD to avoid dll hell.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group