PhatHack
February 10, 2012, 03:12:48 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Registration only by approval.  You probably want to send one of the admins an email asking them to approve you if you just created an account.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: PhatDB win32 release  (Read 2343 times)
0 Members and 1 Guest are viewing this topic.
davec
Newbie

Offline Offline

Posts: 12


PhatHacker


« on: March 17, 2007, 12:34:23 PM »

Hi All,

I've made a new release at sourceforge. This release includes a binary download for windows users. The windows release includes the phatdb executable and static and dynamic libraries and header files for developers.

I have no idea how to use these libs/headers in a MS environment, but I don't imagine its too hard.

Enjoy,

Dave
Logged
VorTechS
Administrator
Veteran.
*****
Offline Offline

Posts: 1460


PhatHack Media Manager & DMS Tools Wizard Author


« Reply #1 on: March 19, 2007, 01:02:20 PM »

Thanks Dave!

I'll do some investigation work, see if I can get it running.

Just so that I know, does this allow me to directly interface with the database/create sig files - or does it just simply zap through the DMS and patch things up?

Logged

Kenwood KDC-W7031 | Kenwood KHD-CX910 | 250GB DMS | PhatHack Media Manager v1.0.9 | VIOT

Catch me weekdays 8am-4pm GMT on IRC @ irc.freenode.net on channel #phathack (aka the chat link!!)
strictly_biz
Newbie

Offline Offline

Posts: 14


« Reply #2 on: March 19, 2007, 10:43:25 PM »

unable to run win32 exe

says I am missing libeay32.dll

when I download that dll into the directory it comlpained about, The procedure entry point BIO_new_mem_buf could not be located in the dynamic link library libeay32.dll
Logged
davec
Newbie

Offline Offline

Posts: 12


PhatHacker


« Reply #3 on: March 20, 2007, 11:38:46 AM »

strictly_biz:
That doesn't sounds good!
Looks like I'll have to test the win32 release a bit more. It worked on my system, but obviously I had the required dll's lying around somewhere...
You may find it will work if you install this openssl package:
http://www.slproweb.com/download/Win32OpenSSL-0_9_8e.exe
That is the one I used when building it.

VorTechS:
The library API is very simple, have a look in phatlib.h.
You basically create a new "phatdb" handle, add songs to it, prepare it (does sorting etc), write it to a file, then sign the file. The library itself does NOT do any file searching, scanning etc, your app must do that and just calls "phatdb_add_track" for each track.

On the other hand, phatdb (the executable) can scan a whole filesystem and adds everything it finds based on id3tags (it only finds .mp3 files atm).

Hope this helps.
Logged
strictly_biz
Newbie

Offline Offline

Posts: 14


« Reply #4 on: March 20, 2007, 06:57:32 PM »

dave

I recently "upgraded" from MSVisual Studio 2003 to MSVisual2005

After doing so, a dll I distribute would not work on many peoples machines, while working on mine.

Simply going back to MSVisual03 fixed the problem for me. The other way to fix it had to do with changing manifest information.

Maybe that's the problem? I dont think you are not using visual studio, but maybe a MS c++ compiler?

you can read about the issue here http://www.ddj.com/dept/windows/184406482

Logged
davec
Newbie

Offline Offline

Posts: 12


PhatHacker


« Reply #5 on: March 26, 2007, 12:01:17 PM »

Hi,

As I suspected, openssl was not being statically compiled at all. I have confirmed that phatdb win32 release does work on a vanilla winxp system AFTER you install this openssl package:

http://www.slproweb.com/download/Win32OpenSSL_Light-0_9_8e.exe

Hope that helps,

Dave

strictly_biz: I am cross-compiling under Ubuntu linux using "mingw" (a gcc compiler for win32). The binaries/dlls should be fine and not depend on any MS stuff.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.047 seconds with 18 queries.