Hi Ken, Thanks for your help. I have it mostly working now. I am now getting errors for some column types. It doesn't appear to me that the odbc32.lib is new...
21062
dbaron4
Jun 12, 2013 5:23 am
Hi Ken, I got it completely working by directly calling odbc32.dll instead of using the out of date odbc32.lib. -Doug...
21063
dbaron4
Jun 12, 2013 5:27 am
Hi David, I got a lot further with some help from Ken (see his post). I had to use the odbc32.dec from XBLite as he suggested. Now I think I need to find or...
21064
dbaron4
Jun 12, 2013 5:30 am
Hi David, Have you tried to make a stand-alone EXE of your program? That's when I get the error: AlienSnipers.o : error LNK2001: unresolved external symbol...
21065
dbaron4
Jun 12, 2013 5:31 am
Thanks for fixing this. I look forward to the next release. -Doug...
21066
dbaron4
Jun 12, 2013 5:34 am
This is great! I did run into one problem though. I wrote a test program that calls the SQLite3.dll using the MyXstCall function. Unfortunately, it crashes on...
21067
dbaron4
Jun 12, 2013 5:35 am
Hi CW, I found another one: XstSetConsoleFont Thanks, -Doug...
21068
Vincent Voois
vvacme
Jun 12, 2013 9:56 am
Have you tried FindFiles instead of FindFile? I suspect the error lies somewhere in that "findfiles"is use by findfile and only compares the first hit with...
21069
k98p3
Jun 12, 2013 3:03 pm
Hi Doug I'm not sure what the source of your problem is, but it's probably not odbc32.lib. Like most lib files used with XBasic, odbc32.lib does not contain...
21070
dbaron4
Jun 12, 2013 6:09 pm
Hi Ken, Interesting. I didn't know that. Well, I ended up getting it to work in a round about way. I created a working example using BCX which generates C code...
21071
dbaron4
Jun 12, 2013 6:21 pm
Hi Vince, I looked at the XstFindFiles function and it isn't quite what I am looking for. It searches for files based on a filter, starting in a base...
21072
k98p3
Jun 13, 2013 2:18 pm
Well, this is definitely doing it the hard way. I think XstCall() is OK for the occasional external function call, but clumsy and inefficient if you are making...
21073
dbaron4
Jun 13, 2013 5:30 pm
Hi Ken, I like how you organized the DLL call code. I will use that method in my next program. ... I agree, but I just couldn't get past those errors for...
21074
cw2008can
Jun 14, 2013 3:43 am
If I were writing your program, I would do it this way. It is a little more involved getting the program started, but making a "wrapper" function for each...
21075
dbaron4
Jun 14, 2013 6:38 am
Thanks for taking the time to rewrite my sample SQLite program. I am now rewriting my sample ODBC program using the same methods. -Doug...
21076
Kerry Miller
n0wiq
Jun 14, 2013 1:48 pm
Hi Group, TYPE RADIO STRING*20 .model STRING*127 .ioPath STRING*255 .rcRoot STRING*10 .baudRate UBYTE .radioAdd UBYTE...
21077
cw2008can
Jun 14, 2013 5:22 pm
Hi Doug, Thank you for the information. I'm going to write a little program to check that xb.def has all the proper values. CW...
21078
cw2008can
Jun 14, 2013 5:28 pm
The next step is to put all the sqlite3 wrapper functions in a file, compile it as a library (.dll), so that your database programs just do an IMPORT statement...
21079
dbaron4
Jun 14, 2013 7:52 pm
Very interesting. I may give that a try. Now I have only one more thing I would like to figure out with XBASIC, but it is a big item.....how to do COM object...
21080
Ahti Rautevaara
ahti.rautevaara
Jun 15, 2013 7:57 am
Hi Kerry, Isn't there a specific bit field statement to deal with bit fields if you want to use them. I have never used it so I don't know how it works,...
21081
Kerry Miller
n0wiq
Jun 15, 2013 11:21 am
Yes Ahti, There is an example for bit fields in the help it is an intrinsic xbasic my question is the example uses 8 bit bit fields and sets variables to each...
21082
sgunhouse
Jun 16, 2013 2:49 am
You can't name bits, sorry. Steve ... From: Kerry Miller <n0wiq@...> To: xbasic@yahoogroups.com Sent: Sat, 15 Jun 2013 7:21 AM Subject: Re: [xbasic]...
21083
Kerry Miller
n0wiq
Jun 16, 2013 2:41 pm
Hi People, As I understand after thinking about it. I would have to make n number of one bit fit fields to name a single bit. Correct or Incorect? Kerry...
21084
sgunhouse
Jun 16, 2013 3:47 pm
Sorry, I have no idea what you were trying to say there. Max would use some named constant to access the bit, and in your case probably call his variable...
21085
Kerry Miller
n0wiq
Jun 16, 2013 4:29 pm
Hi People, IF a UBYTE is eight bits and defining variables that only traverse between 0 (zero) and one seem like a wast of a variable. If these variables...
21086
sgunhouse
Jun 17, 2013 2:54 am
Some languages allow you to define an array of flags within one unit - though remember that in a 32-bit language the unit is 32 bits (one XLONG). In XBasic,...
21087
Vincent Voois
vvacme
Jun 17, 2013 7:09 am
You don't need to use one variable to define one bit, you define one variable, to house multiple bits. See it as an 8-bit shelf where you can store 8 different...
21088
Skywise
skywise711
Jun 17, 2013 8:19 am
What about the bitfield intrinsics? They're mentioned in the docs but it's not very clear. I've managed to figure out part of them. From the docs: <--- begin...
21089
Steve Gunhouse
sgunhouse
Jun 17, 2013 3:01 pm
... Not mentioned in those quotes but implied ... If you write variable{mask} then variable is ANDed with mask, and shifted right so that the lowest bit of...
21090
Skywise
skywise711
Jun 18, 2013 12:10 am
... What I'm getting at is there are commands that appear to allow one to set, clear, and read specific bits, thus allowing one to use a single variable to...