Search found 10 matches

by GRAYnomad
Thu Feb 25, 2021 1:43 pm
Forum: General Discussion
Topic: Compressed libraries are not supported
Replies: 18
Views: 5618

Re: Compressed libraries are not supported

I've uninstalled both versions and reinstalled the 32-bit version to get a clean install. However on starting the IDE it loaded the old project, so I'm not sure how clean the install was.

It no longer complains about not finding the 64-bit compiler, so I thought I'd try compiling an empty source ...
by GRAYnomad
Wed Feb 24, 2021 1:42 am
Forum: General Discussion
Topic: Compressed libraries are not supported
Replies: 18
Views: 5618

Re: Compressed libraries are not supported

Thanks for your help MK (And Spikey).

Yes right from day one I've had to disable my virus software or the debugger "exits unexpectedly" I think the error is.

In a nutshell...

When I run the 64-bit IDE it enumerates the available DSNs properly (the debug print loop) but only shows the 64-bit DSNs ...
by GRAYnomad
Tue Feb 23, 2021 10:36 pm
Forum: General Discussion
Topic: Compressed libraries are not supported
Replies: 18
Views: 5618

Re: Compressed libraries are not supported

I have both installed now, yes different folders and rebooted.

I can run both, but cannot swap compilers from within either one. The only option given is the "native" compiler to the version I'm running. Not that it really matters, I can just use one IDE or the other I guess.

As for the test ...
by GRAYnomad
Tue Feb 23, 2021 5:16 am
Forum: General Discussion
Topic: Compressed libraries are not supported
Replies: 18
Views: 5618

Re: Compressed libraries are not supported

Now I get this

Image
by GRAYnomad
Tue Feb 23, 2021 5:09 am
Forum: General Discussion
Topic: Compressed libraries are not supported
Replies: 18
Views: 5618

Re: Compressed libraries are not supported

Getting there...slowly

I get this error now
2. The specified DSN contains an architecture mismatch between the Driver and Application.
as you said.

3. Run the sample code with a 32-bit version of the PureBasic compiler.
So I guess that means I should download the 32-bit version and try with ...
by GRAYnomad
Tue Feb 23, 2021 1:36 am
Forum: General Discussion
Topic: Compressed libraries are not supported
Replies: 18
Views: 5618

Re: Compressed libraries are not supported

Some progress running the code in Spikey's link.


UseODBCDatabase()

If ExamineDatabaseDrivers()
;this should display the datasource that was just created
While NextDatabaseDriver()
Debug DatabaseDriverName()
Wend

;use the Data Source Name provided in the ODBC setup
If OpenDatabase(0 ...
by GRAYnomad
Mon Feb 22, 2021 10:06 pm
Forum: General Discussion
Topic: Compressed libraries are not supported
Replies: 18
Views: 5618

Re: Compressed libraries are not supported

I've removed the PBOSL code, as a newbie to this language I somehow got the idea I needed a lib to access Access :)

At this point I'd be happy to just read some records from any table, just to prove to myself that I can in fact work with my legacy DB.

There's an example on that link Spikey, I'll ...
by GRAYnomad
Mon Feb 22, 2021 2:17 pm
Forum: General Discussion
Topic: Compressed libraries are not supported
Replies: 18
Views: 5618

Re: Compressed libraries are not supported

Windows 8 64bit, demo version.

I don't want to spend 79 euros before I'm happy that I can get a few things to work.

I've installed the Access drivers and created a DSN that points to my MDB file.

Hopefully that will allow the DB stuff to work, but I still the same compiler error about the API ...
by GRAYnomad
Mon Feb 22, 2021 4:19 am
Forum: General Discussion
Topic: Compressed libraries are not supported
Replies: 18
Views: 5618

Re: Compressed libraries are not supported

User libraries created with Talbite must be partially recompiled with a new version of Purebasic.
It is better to use the code of the library directly.

Link Code from ExDatabase

Thanks, I've give that a go. Mind you I'm well out of my depth with this, I was quite used to working with MDB files ...
by GRAYnomad
Sun Feb 21, 2021 5:23 am
Forum: General Discussion
Topic: Compressed libraries are not supported
Replies: 18
Views: 5618

Compressed libraries are not supported

Hi guys,

It's been a long search for a VB6 replacement I think I've found it in PureBasic, so to that effect I'm trying to see if I can do a few things that I am used to doing by playing with the free version.

After much ado I finally figured out how to load user libraries, specifically PBOSL ...