Search found 2980 matches

by vdecampo
Apr 25, 2016 17:44
Forum: Projects
Topic: Trouble compiling old project (Asteroids)
Replies: 5
Views: 823

Re: Trouble compiling old project (Asteroids)

Hello, the fbsound.bi from the archive is an old version (duh), that uses Byval As String parameters, whose behaviour changed since FB 1.0, resulting in a binary incompatibility, and in case of stdcall, different name mangling: FBS_LOAD_WAVFILE@8 '' name provided (in the old lib, read out with nm t...
by vdecampo
Apr 25, 2016 15:01
Forum: Projects
Topic: Trouble compiling old project (Asteroids)
Replies: 5
Views: 823

Re: Trouble compiling old project (Asteroids)

If you downloaded the source you can see the FBSound libs are there.

-Vince
by vdecampo
Apr 25, 2016 14:40
Forum: Projects
Topic: Trouble compiling old project (Asteroids)
Replies: 5
Views: 823

Trouble compiling old project (Asteroids)

I was trying to compile some code from a game I had on the game forum with the latest compiler and I am getting some linker errors. I know what the errors are but I don't know why I am getting them. I have the LibPath pointed to the correct directory, but it seems like the linker is not finding some...
by vdecampo
Apr 25, 2016 14:03
Forum: Libraries
Topic: fbsound 1.0 Win/Lin 32/64-bit (wav mp3 ogg mod it xm s3m)
Replies: 240
Views: 59936

Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)

Where is the latest version of FB Sound?

-Vince
by vdecampo
Apr 20, 2016 14:04
Forum: Projects
Topic: ServiceFB - Event-driven NT Service framework
Replies: 14
Views: 7155

Re: ServiceFB - Event-driven NT Service framework

Constructor/Destructor are reserved words. Looks like there should be a remark symbol (') before the words.

-Vince
by vdecampo
Apr 15, 2016 0:08
Forum: General
Topic: Squares
Replies: 7349
Views: 442099

Re:

Hmm.... not what I expected. 0.03 sec faster for the internal assignment of DIM in the loop. But it is convenient because you can have a fast stand alone macro, and a macro is faster than a function. Simple example: If you're going to use Timer to time code, you should use timeBeginPeriod to get be...
by vdecampo
Apr 14, 2016 23:49
Forum: Beginners
Topic: 3 programs running simultaneously. How to comunicate each between each other?
Replies: 17
Views: 1464

Re: 3 programs running simultaneously. How to comunicate each between each other?

This is what you should see. Messages on both sides sending/receiving...

Image

Tested on Win 8.1 under VirtualBox

-Vince
by vdecampo
Apr 14, 2016 23:32
Forum: Beginners
Topic: 3 programs running simultaneously. How to comunicate each between each other?
Replies: 17
Views: 1464

Re: 3 programs running simultaneously. How to comunicate each between each other?

Why does it look like you are running it 3 times? You made the necessary changes to the APPID numbers?
by vdecampo
Apr 14, 2016 19:53
Forum: Beginners
Topic: 3 programs running simultaneously. How to comunicate each between each other?
Replies: 17
Views: 1464

Re: 3 programs running simultaneously. How to comunicate each between each other?

Ok. Here is a working example. Compile 2 versions of this program. In one change these lines to read #Define THISAPPID APP2ID 'Change this for each unique app to receive messages #Define DESTAPPID APP1ID And in the second change them to read #Define THISAPPID APP1ID 'Change this for each unique app ...
by vdecampo
Apr 14, 2016 17:49
Forum: Beginners
Topic: 3 programs running simultaneously. How to comunicate each between each other?
Replies: 17
Views: 1464

Re: 3 programs running simultaneously. How to comunicate each between each other?

Data is read and written through the FD (FileData) type. As data changes, the structure changes. You can create your own FileData structure to suit your own program but the basic flags (flagNewData, flagSource, flagDestination) are required. If I get time I will create 2 apps that exchange data. -Vi...
by vdecampo
Apr 14, 2016 16:38
Forum: Beginners
Topic: 3 programs running simultaneously. How to comunicate each between each other?
Replies: 17
Views: 1464

Re: 3 programs running simultaneously. How to comunicate each between each other?

I wrote this on my lunch break. It compiles but I did not test multiple apps. ' Inter-Process Communication via Memory Mapped File Example ' by Vincent DeCampo 2016 ' #Include "windows.bi" #define APP1ID 1 #Define APP2ID 2 #Define APP3ID 3 #Define THISAPPID APP1ID 'Change this for each uni...
by vdecampo
Apr 14, 2016 15:11
Forum: Beginners
Topic: 3 programs running simultaneously. How to comunicate each between each other?
Replies: 17
Views: 1464

Re: 3 programs running simultaneously. How to comunicate each between each other?

Sounds like you could use a system of memory mapped files to communicate data and flags. Here is a link to the MSDN which gives an example in C++. I don't have time to put an example together in FreeBASIC right now but maybe later tonight I can throw something together.

-Vince

Memory Mapped Files
by vdecampo
Apr 14, 2016 14:58
Forum: Beginners
Topic: 3 programs running simultaneously. How to comunicate each between each other?
Replies: 17
Views: 1464

Re: 3 programs running simultaneously. How to comunicate each between each other?

What type of information needs to be communicated? Status? Data? How much data?

There are several ways to accomplish Inter-Process Communication (IPC) but it depends on what you are trying to communicate.

-Vince
by vdecampo
Mar 16, 2016 12:51
Forum: Community Discussion
Topic: RPi 3
Replies: 6
Views: 937

Re: RPi 3

Does anyone have an FB distribution for ARMv8 x64 yet? I can't seem to find it.

-Vince
by vdecampo
Mar 14, 2016 12:56
Forum: Community Discussion
Topic: RPi 3
Replies: 6
Views: 937

Re: RPi 3

LOL! I should have known you were on top of it!

Thanks!
-Vince

Go to advanced search