Search found 7 matches

by jimcorr
Fri Oct 24, 2025 5:59 pm
Forum: Coding Questions
Topic: [Solved] Structures, memory and interfaces
Replies: 2
Views: 739

Re: Structures, memory and interfaces

That's exactly what i needed. Thank you mk-soft
by jimcorr
Thu Oct 16, 2025 5:15 pm
Forum: Coding Questions
Topic: [Solved] Structures, memory and interfaces
Replies: 2
Views: 739

[Solved] Structures, memory and interfaces

Hi Guys,

I'm trying to achieve some kind of structure where i can access variables and methods at the same time. I got something similar using structure and prototype but i have to pass the pointer as a parameter on every method.

I read some messages explaining how to obtain the frame pointer thru ...
by jimcorr
Wed Sep 03, 2025 6:54 pm
Forum: Coding Questions
Topic: [Solved] #PB_ANY or Gadget creation limitations
Replies: 5
Views: 884

Re: [Solved] #PB_ANY or Gadget creation limitations

Thanks, Fred, i'll fix that too.
by jimcorr
Wed Sep 03, 2025 1:41 pm
Forum: Coding Questions
Topic: [Solved] #PB_ANY or Gadget creation limitations
Replies: 5
Views: 884

Re: #PB_ANY or Gadget creation limitations

Thanks for the answer, Axolotl, i'll keep that in mind

I found out that the issue was due to the fact that i was doing it inside a for and it wasn't processing the closewindow events, therefore, the windows were not being closed.

Once i closed the window, i was able to recreate the window as many ...
by jimcorr
Tue Sep 02, 2025 8:52 pm
Forum: Coding Questions
Topic: [Solved] #PB_ANY or Gadget creation limitations
Replies: 5
Views: 884

[Solved] #PB_ANY or Gadget creation limitations

It all started with me wondering if i created windows and gadgets all using #pb_any and the user working for several days opening and closing windows if it would be unlimited.

I created a code that opens and closes the same window for 500 times and i receive 0 from the gadget creation at some point ...
by jimcorr
Tue Dec 16, 2014 1:16 am
Forum: Coding Questions
Topic: Sending Mail
Replies: 3
Views: 1636

Re: Sending Mail

Hi Rich, thanks for your quick answer!

You were right, the door wasn't correct, they deactivated port 25 and now only permit connections through smtp with ssl/tls on a different port.

I changed it and now telnet and the program answers (not in loop anymore).

But i get a -2 on "progress" variable ...
by jimcorr
Sun Dec 14, 2014 11:47 pm
Forum: Coding Questions
Topic: Sending Mail
Replies: 3
Views: 1636

Sending Mail

I've seen a lot of old topics about this, but since the documentation shows the methods for sending e-mail, i'm confused. Does PureBasic sends e-mail or not? Or depends on what?

I'm trying this code, changing the mail informations, and it stays in loop forever.

If InitNetwork()

If CreateMail(0 ...