Can't load IMCLIENT.DLL

This forum is for support of the IM system.
I eXpress myself - therefore IM
Message
Author
Wolfgang Ciriack
Posts: 481
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Can't load IMCLIENT.DLL

#11 Post by Wolfgang Ciriack »

Hi,
NEVER create or modify a DBF with Excel, this will corrupt your DBF !!!
Look at Express\bin folder, there you find Rogers xdbu, which can create or edit DBF files.
_______________________
Best Regards
Wolfgang

Djiber
Posts: 27
Joined: Wed Feb 22, 2012 2:55 am

Re: Can't load IMCLIENT.DLL

#12 Post by Djiber »

Wolfgang Ciriack wrote:Hi,
NEVER create or modify a DBF with Excel, this will corrupt your DBF !!!
Look at Express\bin folder, there you find Rogers xdbu, which can create or edit DBF files.
Roger's xdbu just returns error same as cmd dbu:

Image

That's why I used Excel so you can see what happens
I didn't create nor modify DBF with excel I just use it to look/browse base cause I Double click DBF file and after warning me it opens it either corrupted or not.

User avatar
rdonnay
Site Admin
Posts: 4750
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Can't load IMCLIENT.DLL

#13 Post by rdonnay »

The reason you are getting a corruption message with DBU is because you are trying to open SENDMAIL.DBF with the DBFNTX driver. The SENDMAIL.DBF file was created in IMSERVER.PRG with the FOXCDX driver. Open IMSERVER.INI and change FOXCDX to DBFCDX, then delete SENDMAIL.DBF and SENDMAIL.CDX so they will be created again.
The eXpress train is coming - and it has more cars.

Djiber
Posts: 27
Joined: Wed Feb 22, 2012 2:55 am

Re: Can't load IMCLIENT.DLL

#14 Post by Djiber »

When I've changed Driver in xdbu it opens it without any problems

Mine IMSERVER.INI (There's no other IMSERVER.INI on my computer) looks like this:

Code: Select all

[IMSERVER]
Port1=8001
;Port2=8080
;Port3=8081
HostAlias=Test
Domain=LocalHost

[MESSAGES]
TimeOut=10000
Days=100
Where should I put that driver preference?

Is the FOXCDX set as default driver? Because I didn't set no driver to creation of mine DBF and it's corrupted as well.
If so how to set driver (I always thought that DBFNTX and FOXCDX are just for Indexing)

BTW what's the difference between FOXCDX and DBFNTX (Why did you use FOXCDX only for SENDMAIL.DBF)

User avatar
rdonnay
Site Admin
Posts: 4750
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Can't load IMCLIENT.DLL

#15 Post by rdonnay »

Sorry, I thought that the EMAIL group was already in the IMSERVER.INI. If it isn't there, then it is defaulted in the IMSERVER.PRG source code.

Add this to your IMSERVER.INI:

Code: Select all

[EMAIL]
SMTPserver=gmail.com
DatabaseDbe=DBFCDX
UserId=me
Password=pass
Sender=me@gmail.com
Recipient=you@gmail.com
DatabaseName=SENDMAIL.DBF
The eXpress train is coming - and it has more cars.

Djiber
Posts: 27
Joined: Wed Feb 22, 2012 2:55 am

Re: Can't load IMCLIENT.DLL

#16 Post by Djiber »

Now SENDMAIL.DBF is created with DBFCDX and I don't get error that it's corrupted, but now I get this error :P

Image
Djiber wrote: BTW what's the difference between FOXCDX and DBFNTX (Why did you use FOXCDX only for SENDMAIL.DBF)

User avatar
Tom
Posts: 1195
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: Can't load IMCLIENT.DLL

#17 Post by Tom »

It maybe caused by a typo: There's a double-r in the word "server" in your path. ;)
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

Djiber
Posts: 27
Joined: Wed Feb 22, 2012 2:55 am

Re: Can't load IMCLIENT.DLL

#18 Post by Djiber »

Tom wrote:It maybe caused by a typo: There's a double-r in the word "server" in your path. ;)
I'm afraid it's not typo :( I've just named my folder Serrver cause I didn't want to mess up Roger's files which I've put in Server xD

SENDMAIL.DBF is in the same folder as EXE, and there's no set path (It was working before I've changed driver and it's working when I change it back, but it doesn't work with DBFCDX)

My guess would be that it's set somewhere to browse/open it with FOXCDX, but my incompetence doesn't allow me to find it :(

And I still don't know the difference between drivers :(

User avatar
rdonnay
Site Admin
Posts: 4750
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Can't load IMCLIENT.DLL

#19 Post by rdonnay »

And I still don't know the difference between drivers
You need to read the Xbase++ documentation about the Database Engine and the different data drivers.
The eXpress train is coming - and it has more cars.

Post Reply