hi, I think you should use either $dll stdcall or $vbdll. I have a question...Is it possible to do COM with BCX? Or rather how do you do it? Regards, Aljaz...
79
gmlloyd@...
Oct 6, 2000 3:09 pm
Hi Kevin. I stumbled across BCX yesterday while exploring the LCC-Win32 compiler sites. In the past I programmed mainly in Basic and Assembler (and a little...
80
Kevin Diggins
kdiggins@...
Oct 7, 2000 2:49 am
... <snip> ... Of course ... That's what BCX does. However, it's not likely that you will succeed without at least some modification to the QB source code....
81
bobspringett
bobspringett@...
Oct 7, 2000 4:35 am
Kevin, Could you post an example showing how to pass mixed (string and integer) parameters to a user designed DLL. Regards Bob...
82
bobspringett
bobspringett@...
Oct 7, 2000 5:13 am
Kevin, Can I rephrase my previous request please. Could you post an example showing how to CALL a FUNCTION in a user defined DLL which contains many FUNCTIONS...
83
Kevin Diggins
kdiggins@...
Oct 7, 2000 10:45 am
Bob -- Do you have a specific example? ... defined DLL which contains many FUNCTIONS , and at the same time...
84
bobspringett
bobspringett@...
Oct 7, 2000 11:21 am
Kevin, I've been giving a bit of thought to this GUI language( toolkit or whatever you like to call it) and would like to wrap up some of the more complex...
85
Kye
sky1@...
Oct 7, 2000 1:46 pm
I don't understand the question .. BCX is as strict on type as ansi c. You can pass multiple params normally, although you can't pass an int% to a function...
86
Kevin Diggins
kdiggins@...
Oct 7, 2000 4:26 pm
... Kye - you make a useful point ( as usual ). Actually, more useful to me at the moment would be in developing a method of declaring GLOBAL variables in the...
87
bobspringett
bobspringett@...
Oct 7, 2000 4:28 pm
Kye, All I'm looking for is a way to make multiparameter DLL's and access them as I would access a windows function from the winapi. Regards Bob ... From: Kye...
88
Kye
sky1@...
Oct 8, 2000 12:04 am
Hi Bob, I hope this is what you are looking for. Here is a small exported function that takes 2 params (you can have more). $DLL Function MyProc$ (pString$,...
89
Aljaz Kozelj
aljaz@...
Oct 8, 2000 10:33 pm
Hi, I was wondering if there is a way to do COM with bcx? Specifically I'm interested in writing a shell namespace extension. How do I go about it with BCX? ...
90
bobspringett
bobspringett@...
Oct 9, 2000 2:30 am
Kye, I wrote yesterday to thank you but it seems it didn't get through, so I'm repeating it. Seems like Kevin has come up with another problem which may stop...
91
bobspringett
bobspringett@...
Oct 9, 2000 5:43 am
Kevin, ... useful to me at the moment would be in developing a method of declaring GLOBAL variables in the main program that can be referenced from within the...
92
Kye
sky1@...
Oct 9, 2000 7:00 am
Only by passing a var pointer to the dll function. I can't think of any other way. Kye....
93
bobspringett
bobspringett@...
Oct 10, 2000 5:10 am
Kevin, I'm using version 1.8 but the docs are 1.7. What needs to be added to the docs to bring them up to date? For example SHARED is not itemised although it...
94
Kevin Diggins
kdiggins@...
Oct 10, 2000 10:48 am
... to the docs to bring them up to date? ... Bob -- The short answer is .. no There are probably more than a few reserved words not yet a part of the HLP...
95
bobspringett
bobspringett@...
Oct 10, 2000 12:01 pm
... From: Kevin Diggins <kdiggins@...> To: <kdiggins@egroups.com> Sent: Tuesday, October 10, 2000 12:48 PM Subject: [BCX BASIC TRANSLATOR] Re: Reserved ...
96
ossa
ossa@...
Oct 11, 2000 3:36 am
I am very new to BCX and haven't had enough time to work with it much yet. I was in the Dialog editor and built a simple dialog box in order to learn a little...
98
Kevin Diggins
kdiggins@...
Oct 12, 2000 3:50 am
I modified DB.EXE this evening. The new version: * correctly handles the CAPTION tag * adds WM_CLOSE message and handler * adds -m command line switch for...
99
bobspringett
bobspringett@...
Oct 13, 2000 8:20 am
I've uploaded with this message a couple of files in a zip called pretty.zip. The problem is this:- I'm trying to pass the contents of a string 'txt$' into a...
101
Kevin Diggins
kdiggins@...
Oct 13, 2000 11:03 am
Bob -- Two changes ( easily correctable ) INSTEAD OF THIS ... IF txt$ != "" THEN blockWord DO THIS ... IF txt$ <> "" THEN blockWord() BCX's parsing of string...
102
bobspringett
bobspringett@...
Oct 13, 2000 11:40 am
Thanks Kevin, that works O.K.now. Regards Bob ... From: Kevin Diggins <kdiggins@...> To: <kdiggins@egroups.com> Sent: Friday, October 13, 2000 1:03 PM ...
103
bobspringett
bobspringett@...
Oct 13, 2000 3:02 pm
I've now got 3 errors left in the near complete program, I suspect there's only one and the other two are caused by the first one. However this is the message:...
104
Kevin Diggins
kdiggins@...
Oct 14, 2000 1:49 am
... All of them ... ... If you DIM inside a SUB or FUNCTION, it is LOCAL If you want it to be GLOBAL, use GLOBAL like this ... call qwerty() Print a SUB...
105
bobspringett
bobspringett@...
Oct 14, 2000 6:32 am
Kevin, Please take a look at the enclosed file pretty1.zip. I can't see while it shouldn't compile. Yet it won't. Two error messages refer to a variable 'a'...
106
bobspringett
bobspringett@...
Oct 14, 2000 12:27 pm
O.K. Kevin I found it. I'd not put an END IF in the file routine. I changed it from a one-liner to a multi when you gave me those mods. Sorry to have bothered...
107
Kevin Diggins
kdiggins@...
Oct 14, 2000 12:30 pm
... Bob -- Sloppy coding style on your part. Using a BASIC indent utility would have immediately pointed out the problem. Your code was missing an >>> END IF...
108
gdumer@...
Oct 14, 2000 1:41 pm
Hi Kevin, I tried Indent.exe and it did'nt indent anything. What is it supposed to do? BTW... I thought you were a little hard on Bob's coding style. You may...
109
Kevin Diggins
kdiggins@...
Oct 14, 2000 3:59 pm
... INDENT is used to indent structured blocks, enabling one to easily visualize the logic structure. For instance, which is easier to follow? **********...