Search found 70 matches

by smishra
Mon Oct 19, 2020 8:27 pm
Forum: Announcement
Topic: PureBasic 5.73 LTS is available
Replies: 103
Views: 162891

Re: PureBasic 5.73 beta 2 is available

Thanks!

Tested the donate button, it works! :wink:
by smishra
Tue Sep 25, 2018 4:29 pm
Forum: Feature Requests and Wishlists
Topic: PB 6.0 - ideas
Replies: 82
Views: 40915

Re: PB 6.0 - ideas

There may be benefits to LLVM or C backend even without PB library support.

I find the warnings generated by a modern C compiler helpful

- for example unused variables can be identified
- code that will never be reached

and so on.

Many of the warnings could be applicable to PB code and help in ...
by smishra
Tue Sep 25, 2018 1:31 pm
Forum: Announcement
Topic: PureBasic 5.70 LTS is out !
Replies: 252
Views: 157297

Re: PureBasic 5.70 LTS beta 2 is out !

This is great - Thank you Fred!

Also saw the "sponsored by" in release notes. Thank you to the sponsors and to Fred and team for accepting that.

Would be great if we could have requested feature lists and pledges/contributions to help in making those features a reality - sort of like our own ...
by smishra
Tue Sep 25, 2018 1:22 pm
Forum: Feature Requests and Wishlists
Topic: PB 6.0 - ideas
Replies: 82
Views: 40915

Re: PB 6.0 - ideas

+1 for LLVM or C backend

Even if all the library functions (are not/ cannot be) supported on a generic LLVM/C backend

Right now I code in PB and test out on Windows, and for a non supported platform translate the code to C, and write C code equivalent for PB library functions
by smishra
Tue Jul 31, 2018 5:00 am
Forum: Feature Requests and Wishlists
Topic: List of defined but unused variables, constant etc.
Replies: 14
Views: 5458

Re: List of defined but unused variables, constant etc.

+1

I have run into similar issues.
by smishra
Tue Feb 27, 2018 4:35 pm
Forum: Coding Questions
Topic: How can I use a PB DLL on Visual Studio?
Replies: 8
Views: 2714

Re: How can I use a PB DLL on Visual Studio?

Yeah. I had AttachProcess, DetachProcess, AttachThread, DetachThread functions in my code.

For me it only worked when I manually created a def file and then generated a lib file using MSVC lib tool.

If the format of lib file is indeed the case, then maybe PB can generate a def file when a dll is ...
by smishra
Tue Feb 27, 2018 2:18 pm
Forum: Coding Questions
Topic: How can I use a PB DLL on Visual Studio?
Replies: 8
Views: 2714

Re: How can I use a PB DLL on Visual Studio?

This is an old thread, however I recently ran into the same issue. To help other users I am posting the method that worked for me. The whole process was quite fast once I figured out what to do.

I tried using the lib file generated by PB with Visual Studio 2013 and that did not work. I got an ...
by smishra
Sat Mar 18, 2017 9:51 pm
Forum: Coding Questions
Topic: Examining memory usage
Replies: 5
Views: 2101

Re: Examining memory usage

Yes, that is a good suggestion to use dynamic memory allocation through ReDim. It is particularly useful in desktop and server programs

My propensity to use static allocation follows from embedded programming experience

- Once the program starts (or the code fits in the chip for embedded work) I ...
by smishra
Sat Mar 18, 2017 2:52 pm
Forum: Coding Questions
Topic: Examining memory usage
Replies: 5
Views: 2101

Re: Examining memory usage

Thank you for your suggestions.

I figured out the arrays taking up more space than I thought they would take up. I changed allocation sizes for them and saw the difference in memory allocation of the program.

Not an ideal solution but it worked!
by smishra
Sat Mar 18, 2017 12:51 am
Forum: Coding Questions
Topic: Examining memory usage
Replies: 5
Views: 2101

Examining memory usage

I have a moderate size program that seems to be taking up more memory than I think it should even at start time.

Is there a tool that allows one to examine the statically allocated memory?

While doing C programming for embedded devices I use the map file generated to figure it out.
by smishra
Thu Mar 16, 2017 2:26 pm
Forum: Applications - Feedback and Discussion
Topic: PBMap - OSM, Here, Geoserver maps in a Canvas gadget
Replies: 143
Views: 68209

Re: PBMap - OpenStreetMap in a Canvas gadget

I have tested your code djes and it works great!

I am thinking of working on following features

- Limited KML import. I primarily deal with tracks in KML so I would add support for that.

- The user would be able to edit tracks around and save them. Sort of like vector editing in CartoonEdit but ...
by smishra
Wed Mar 15, 2017 8:49 pm
Forum: Applications - Feedback and Discussion
Topic: PBMap - OSM, Here, Geoserver maps in a Canvas gadget
Replies: 143
Views: 68209

Re: PBMap - OpenStreetMap in a Canvas gadget

Wow, that was quck! You are awesome djes!
by smishra
Wed Mar 15, 2017 8:36 am
Forum: Applications - Feedback and Discussion
Topic: PBMap - OSM, Here, Geoserver maps in a Canvas gadget
Replies: 143
Views: 68209

Re: PBMap - OpenStreetMap in a Canvas gadget

Satellite imagery seems to be available from a variety of providers. Their URL formats differ slightly and they require a key. For low usage, keys are available for free after signup.

See for example,

https://developer.here.com/rest-apis/documentation/enterprise-map-tile/topics/example-satellite ...
by smishra
Wed Mar 15, 2017 7:51 am
Forum: Applications - Feedback and Discussion
Topic: PBMap - OSM, Here, Geoserver maps in a Canvas gadget
Replies: 143
Views: 68209

Re: PBMap - OpenStreetMap in a Canvas gadget

Hunting around I saw mapquest used to provide a URL to access satellite imagery tiles but that has been discontinued as of July 2016
by smishra
Tue Mar 14, 2017 11:09 pm
Forum: Applications - Feedback and Discussion
Topic: PBMap - OSM, Here, Geoserver maps in a Canvas gadget
Replies: 143
Views: 68209

Re: PBMap - OpenStreetMap in a Canvas gadget

Just downloaded and took a look at PBMap. It is great! Thanks...

Is there a way to use a tile server that gives aerial imagery? I looked at Open Street Map site and they say there is high resolution imagery available from

http://wiki.openstreetmap.org/wiki/USGS_High_Resolution_Orthoimagery

I was ...